| | |
Firefox leaves space with images
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I think I have almost sorted it for you but I cannot get rid of one of the gaps. You need to use the following css (please make a backup of your old one first):
Hope that helps
css Syntax (Toggle Plain Text)
body { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 12px; color : #186565; background-color : #fff; background-image:url(images/bg.gif); letter-spacing:1px; border:0; } #nav img { padding: 0; margin: 0; border: 0; } body, td, th { color : #000000; } a:link { color: #000000; } a:visited { color: #000000; } a:hover { color: #A06047; } a:active { color: #000000; } #container { width : 780px; height : 726px; margin-right : auto; margin-left : auto; } #banner { width:780px; height:130px; background-color:#C1D4FF; padding: 0px; border: 0px; margin: 0px; } #nav { width:780px; height: 78px; border-width: 0px; margin: 0px; padding: 0px; margin-bottom: 0px; background-color:#C1D4FF; line-height: 0px; } #content { height:450px; width : 780px; padding:0; margin-top: 0px; border-width: 0px; background-repeat:no-repeat; background-color:#C1D4FF; background-image:url(images/contentbg.gif); } #content img { float:right; padding: 0; margin: 0; border: 0; } #pics { width:350px; height:225px; float:left; padding:3px; } #pics img { padding-right:5px; padding-bottom:5px; float:left; padding: 0; margin: 0; border: 0; } #footer { height:30px; width : 780px; padding:2px; background-color:#C1D4FF; } #footer img { padding: 0; margin: 0; border: 0; } .style1 { font-size: 18px; font-weight: bold; } h1 { font-family:"Times New Roman", Times, serif; font-weight:bold; font-size:24px; } img { padding: 0px; margin: 0px; border-width: 0px; }
Hope that helps
•
•
Join Date: Oct 2006
Posts: 31
Reputation:
Solved Threads: 0
Hi,
I often have vertical spaces between two div's. Often what I end up using is:
I've taken a quick look at the code of the different sites mentioned, and it seems that the above css should fix it (if you apply it to the DIV).
Regards,
GCS584
[EDIT:] I don't have/use IE so, it's difficult for me to tell which spaces you're talking about
I often have vertical spaces between two div's. Often what I end up using is:
HTML and CSS Syntax (Toggle Plain Text)
line-height: 0;
Regards,
GCS584
[EDIT:] I don't have/use IE so, it's difficult for me to tell which spaces you're talking about
Last edited by gcs584; Jan 6th, 2007 at 9:12 am.
Automatic Garage Doors - Garage door company
Garage Doors Blog - SEO diary
Pro Blogging - Earn money blogging
Garage Doors Blog - SEO diary
Pro Blogging - Earn money blogging
![]() |
Other Threads in the HTML and CSS Forum
- Previous Thread: Css help for a newbie -- HELP !!
- Next Thread: i have some prb any one help me
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






