Topic: CSS Cross browser issues (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() 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 |
![]() |
Bipolar (III) Inmate From: The Belly of a Fire Breathing Dragon |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() |
Bipolar (III) Inmate From: the dark one with no windows |
![]() 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 |
![]() That looks pretty all over the place in my IE AND Firefox. |