Comment faire en CSS ?
|
Thread Tools | Display Modes |
|
#4
|
||||
|
||||
J'ai répondu trop vite ^^
J'ai réussi à le faire proprement pour que ça fonctionne en firefox et IE7 (les autres pas encore testé) HTML Code:
<div id="introduction"> <h1>Dekeyser SA</h1> <div id="intro-underline"> <hr /> </div> <div id="intro-msg"> <h2>Spécialiste en Cuisines</h2> </div> </div> Code:
#introduction { position: relative; width: 40em; margin: 5em auto; } #introduction h1 { font-family: verdena, serif; font-size: 6em; font-weight: normal; line-height: normal; text-align: center; color: rgb(32, 65, 98); } #intro-msg { position: absolute; top: 5.8em; left: 0; right: 0; } #intro-msg h2 { font-family: verdena, serif; font-size: 1.1em; font-weight: normal; line-height: normal; color: rgb(32, 65, 98); text-align: right; padding-right: 4.5em; } #intro-underline { font-weight: normal; line-height: normal; position: absolute; top: 5em; left: 0; right: 0; } #intro-underline hr { color: rgb(32, 65, 98); border: thin rgb(32, 65, 98) solid; } |
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 11:53.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.