| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > padding-top is causing an unwanted whitespace gap in NN |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2006
Posts: 4
|
Hi, Can anyone let me know why having a padding-top of 130px is causing NN to add extra space after my content (text). In IE everything is ok (it's padding 130px down without extra white space after my text(the top padding works in nn but it seems to also add 130 px after the text)) I've try many different things but without success. I'm a beginner with this and I'm currently experimenting with div instead of tables to layout my page elements. Here is part of my test css html { margin: 0px; body: 0px; } body { margin: 0; padding: 0; background-color: white; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 0.625em; line-height:120%; } div#conteneur_modvehicule{ position:relative; display: block; margin-left: auto; margin-right: auto; text-align:center; border:#FF0000; } div#xxxx{ position:relative; margin-left: auto; margin-right: auto; text-align:center; border:#000000; } div#photo_modvehicule{ position:relative; background-image:url(images/panel_mod_vehicule_photo.jpg); background-repeat:no-repeat; margin:auto; text-align:center; width:778; height:212; padding-top:130; border:#99FF00; background-color:#0099FF; } Many Thanks |
|
|
|
![]() |