View Full Version : Problem with div layer positions--white line


curry_hurry
04-17-2004, 04:44 AM
Sorry if this question has already been addressed, I wasn't quite sure what to look for. I'm creating a page using div layers, and I can't get them to line up quite right. I spliced the image, and the table the images are placed in is 587 pixels wide. The div layer is that same width. And yet I get this little white line to the right of the image, and I don't know how to get rid of it. It seems to be OUTSIDE the div layer. Here is the link (http://www.farbeitfromme.com/blogger/indexlivvert.html), can anyone help me out?

salomeyasobko
04-17-2004, 04:52 AM
try putting this in the head part of your coding

<style type="text/css">body {image-border: none}</style>

not sure if that's the problem, though. can i see the code for your site?

kittycat
04-17-2004, 04:57 AM
You could just set the background of that div layer to the same colour as your page background, instead of white.
You're also missing a closing } on the end of your body section in the CSS

Calidris
04-17-2004, 12:29 PM
1) Tidy up your CSS that little bit as suggested above

2) The solution is probably to remove the background-color:#ffffff; style from layer1 and mayber layer2 aswell :)

PS - the white line doesn't appear in Mozilla, only IE.

curry_hurry
04-18-2004, 09:56 PM
Thank you all so much, I removed the bg color white from the div layers and it worked. This forum is always so helpful!