Click to See Complete Forum and Search --> : 100% Width not going to edge of browser?
mgdpublic
11-10-2003, 11:44 PM
I've got an image that I'm trying to draw flush to the edges of the browser and I've got the width to 100% but it leaves a margin on both sides of about 3/8 inch on both sides. I thought I saw a thread about this the other day but can't find it. Thanks.
PeOfEo
11-11-2003, 12:09 AM
its your html page margines, check them and make sure they are off. Try this code after that
<img src="someurl" alt="somealt" style="right:0px; left:0px; position:absolute; width:auto;">
If that fails change that width to 100%.
spufi
11-11-2003, 12:14 AM
A good default CSS setting for your <body> tag is this...
body {
margin:0;
padding:0;
}