Topic: CSS Cross browser issues (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-08-2004 04:44
For the life of me, I can't figure out why I'm getting these gaps between rows of images. |
Paranoid (IV) Inmate From: France |
posted 09-08-2004 04:58 |
Bipolar (III) Inmate From: The Belly of a Fire Breathing Dragon |
posted 09-08-2004 05:06
It is in Opera as well, go for poi's answer it'll should do the trick. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-08-2004 05:53
That breaks everything. In all three browsers, the border gets mangled. It DOES fix the gap issue, but creates the border problem. http://dev.runningwolf.com/inprogress/geardetroit.com/index3.htm for the updated version. |
Maniac (V) Mad Scientist From: :morF |
posted 09-08-2004 06:03
If the content of that array of images that's filling your border is constantly the same size, regardless of resolution and window size, then make the div that forms your border a fixed pixel size, 2 pixels wider and 2 pixels higher than your images. |
Nervous Wreck (II) Inmate From: London |
posted 09-08-2004 10:57
Also you might find that removing line breaks in the code may help, for some reason when IE loads in images it sometimes adds in whitespace between images if there's a linebreak. |
Nervous Wreck (II) Inmate From: Umeå, Sweden |
posted 09-08-2004 11:19
Pugzly, initial problem: Images are by default inline elements. Inline elements are aligned with the baseline of the text, just like characters (this in order to allow characters such as 'g', 'j', 'q', 'p' or 'y' to "hang down"). If you set the vertical-align property to either top or bottom it should work. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-08-2004 18:34
Skaarjj - The div is already a fixed size. I've double-checked the math, and I believe I've calculated correctly. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-09-2004 04:09
Okay - vertical-align: top; fixed the problem. http://dev.runningwolf.com/inprogress/geardetroit.com/index5.htm is the final. It validates, and looks the same in Opera and Firefox as it does in IE (although Firefox doesn't show the Flash, that's another story). |
Maniac (V) Inmate From: Boston, MA, USA |
posted 09-09-2004 05:17
Am I supposed to be able to read the text? I know I'm gettin' old, but that text is murder to read. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-09-2004 13:33 |
Bipolar (III) Inmate From: the dark one with no windows |
posted 09-15-2004 09:21
NEW PROBLEM! (of course, also a cross browser issue) but probably easier to fix than pugzly's cause i'm newer at this whole CSS thing .. |
Paranoid (IV) Inmate From: Maryland, USA |
posted 10-08-2004 22:18
That looks pretty all over the place in my IE AND Firefox. |