HighDots Forums  

thumbnail gallery (again?)

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss thumbnail gallery (again?) in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
steven
 
Posts: n/a

Default thumbnail gallery (again?) - 12-26-2004 , 03:07 PM






http://www.nenya.be/test/art/photo/gallery01.htm

I'm sure the question has been asked (and answered before!), but I can't
find an example of what I want to do.
The page I mentioned shows a thumbnail gallery with the thumb horizontally
and vertically centered in a square div. The largest dimension (width or
height) of each thumb is 120 pixels.
Page validates as XHTML Strict with CSS2 and (hence?) is displayed correctly
by Firefox, but -- surprise!! -- IE messes it up.

Firefox screenshot (173kB): http://www.nenya.be/test/ff.png
IE screenshot (148kB): http://www.nenya.be/test/ie.png

Should I be nice to IE users and remedy my code (how?) or give priority to
my good humour? :-)
TIA

Steven



Reply With Quote
  #2  
Old   
skeeterbug
 
Posts: n/a

Default Re: thumbnail gallery (again?) - 12-26-2004 , 06:24 PM






steven, the default padding and margin are different for different
browsers. have you specifically defined your margins and padding for
your picture boxes in your css?

i'd fix it for ie. fact is you don't have to like the 800 lb gorilla
(i don't!) to know that many, many people use their web browser.


Reply With Quote
  #3  
Old   
steven
 
Posts: n/a

Default Re: thumbnail gallery (again?) - 12-27-2004 , 05:34 AM




"skeeterbug" <jskeith1 (AT) san (DOT) rr.com> wrote

Quote:
steven, the default padding and margin are different for different
browsers. have you specifically defined your margins and padding for
your picture boxes in your css?

The only thing which changes the look in IE seems to be the margin setting
in the paragraph containg the image. But even then the tops of the images
remain aligned. :-(

Quote:
i'd fix it for ie. fact is you don't have to like the 800 lb gorilla
(i don't!) to know that many, many people use their web browser.

I always check with IE, and if it doesn't look OK I try to fix it. Well, to
a certain extent, that is. If I create a page for Firefox in 1 hour, I
definitely don't want to spend 5 more hours to try and fix it for IE.
Especially not if the the code is valid XHTML and performs as expected.
Frankly, I don't care about the gorilla. And sorry to say it so bluntly, but
no matter how many IE users there are, I think this is *their* problem, not
mine. Doesn't make a difference whether there's a thousand or 10 million of
them.

Thanks for the reply anyway.

Steven




Reply With Quote
  #4  
Old   
Martin Bialasinski
 
Posts: n/a

Default Re: thumbnail gallery (again?) - 12-27-2004 , 05:51 AM



"steven" <stevenPANTSvh (AT) pandora (DOT) be> wrote:

Quote:
I always check with IE, and if it doesn't look OK I try to fix
it. Well, to a certain extent, that is. If I create a page for
Firefox in 1 hour, I definitely don't want to spend 5 more hours to
try and fix it for IE.
In that case, you should try this:

Remove any Internet Explorer hacks from the style sheets and use the
IE7 Javascript.

http://dean.edwards.name/IE7/

Bye,
Martin


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.