Comment faire en CSS ?
|
Thread Tools | Display Modes |
|
#3
|
||||
|
||||
Salut benjy,
Effectivement avec un HR c'est possible, d'ailleur après ton post je l'ai essaié et ça fontionne nickel sur Firefox mais internet explorer 7 ... bah c'est la cata. Je dois travailler avec des positions absolute pour le HR et le petit texte "Spécialiste Cuisines", et le comportement n'est pas du tout le même sous IE7 (J'ose même pas essayer avec un IE < 7). Le code html et css ci-dessous fonctionne parfaitement avec Firefox 2.x. Meme lors d'un [CTRL] + [SCROLL] ça s'agrendit comme il faut. J'ai 2 sollution:
HTML Code:
<div id="introduction"> <h1>Dekeyser SA</h1> <hr /> <h2>Spécialiste en Cuisines</h2> </div> Code:
#introduction { margin: 5em auto; width: 40em; } #introduction h1 { font-family: verdena, serif; font-size: 4.8em; text-align: center; color: rgb(32, 65, 98); } #introduction h2 { font-family: verdena, serif; font-size: 1.1em; position: absolute; top:9em; color: rgb(32, 65, 98); margin: 0 0 0 19em; } #introduction hr { position: absolute; top:8.68em; border: rgb(32, 65, 98) thin solid; width: inherit; } IE 7 ![]() Last edited by Magi-X; 10-08-2007 at 10:53. |
Bookmarks |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comment faire | Bodyguard446 | Apple en général | 0 | 25-10-2006 12:08 |
comment je peu faire | Ospo | Discussions | 13 | 06-10-2004 12:00 |
comment faire une sélection sur une photo ? | Michette | Design Web / Graphisme | 5 | 16-09-2004 09:37 |
migration access-> mysql :comment faire ?? | oula1515 | Programmation Web (HTML, PHP, ASP, Java, XML, etc.) | 7 | 18-05-2004 14:12 |
les news dimension sur mon site, comment faire ? | aragorn | Discussions sur le site et/ou le forum | 2 | 15-02-2003 13:56 |
All times are GMT +2. The time now is 05:07.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.