![]() |
DIV problem displaying random images in IE/ Mozilla OK
OK, here's the problem.
I have let this slide for a few months, but it's been getting on my nerves, as unfortunately people still use IE and I can't get a design element to work for one of my stores. It is a random 620 by 398 image that is inside the below script and DIV tags and it shows up beautifully in Firefox, but there is a 1px white line between the image and the bottom border. I've tried everything and can get it to work as a table, but not the script- it seems to only work like this ... Does anyone see what may be causing this? It works, but not format wise???? Thanks for your assiatnce. - Mike Code:
<div align="center" style="height:398px; padding:none; border-width:1px; border-style:solid; border-color:#E1E7E8"> |
can you post the HTML output from IE? or provide a link to view it.
|
This may not be related, but I remember IE putting a 1px whitespace under images that had a line feed after the IMG tag. Really weird, but was something that made me pull my hair out because "IT'S NOT SUPPOSED TO WORK THAT WAY!!!!"
Blasted IE. e.g. Code:
[img]image.png[/img] That extra line feed after the image tag put a white space right under the image. |
Wait, it's fixed! Your post SS got me thinking about linespace and the DIV and literal tags needed to be on the same line verse carriage-returned. If only IE was as smart as Firefox. Or if everyone just switched already.
Thanks for pointing me in the right direction. This has been like this for months and I am sure users saw the flaw. - Mike |
All times are GMT -8. The time now is 10:52 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.