View Full Version : 1 pixel between top and logo banner
Al Capone
04-20-2006, 10:22 PM
Good evening :),
Ok, the top of my page has a tiny (looks no bigger then a pixel) space between the top of the page and the logo banner, whats causing it?
felgall
04-20-2006, 10:28 PM
Do you have the following line in your stylesheet?
body, html {margin:0;padding:0}
VIPStephan
04-20-2006, 10:32 PM
I'm too lazy to check the whole lot of code right now but I can give you some tips of mine: Many times some invidious line height issue is responsible for gaps in IE... I had many hard times getting that straight and yet it's so easy sometimes... Try setting line-height to 1px on the header <td> and/or the link within.
If that doesn't work set the height to the exact height of the image and if that doesn't change anything apply overflow: hidden; additionally... It must be something with the cell because the borders left and right align to the top completely...
Al Capone
04-21-2006, 01:40 AM
Thanks guys but,
I added body, html {margin:0;padding:0}
to my styles.css, it didn't do anything :( , what else could it be?
Al Capone
04-21-2006, 04:13 AM
it was a <div>
nathan_lamothe
04-21-2006, 05:07 AM
I don't really know, being new to all this stuff, but your first row of your first table has a really small gif in it as background...
could that be it? I can't actually see where it is in the finalpage...
Al Capone
04-21-2006, 06:32 AM
I don't think that's it, that is the left border, thanks though.
If anyone else can take a look I would be very greatful, thanks.
Al Capone
04-21-2006, 07:00 AM
i figured this out i had a div between bannner I added it on accedent.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.