
Originally Posted by
captainscall
I want two images to render as touching DIRECTLY with no space using <br />.
Firefox and all the other good browsers do it fine. I'm having trouble with IE.
IE!! Gah.
Anywho, I've tried:
HTML Code:
img {
padding: 0px;
margin: 0px;
}
in my IE stylesheet. Doesn't work.
Thanks for help in advance
I take it that using <br /> you want the images touching vertically without any space. A lot also depends on whether you have whitespace in your html file.
Try putting this at the very beginning of your CSS:
Code:
* { margin: 0; padding: 0; border: 0; }
Delete your
Code:
img {
padding: 0px;
margin: 0px;
}
in your CSS file.
Or, you could use Meyer's Reset CSS.
Would like to know how your HTML file is laid out and how much excessive whitespace is in it.
Bookmarks