Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / December 2004



Tip: Looking for answers? Try searching our database.

thumbnail gallery (again?)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
steven - 26 Dec 2004 20:07 GMT
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
skeeterbug - 26 Dec 2004 23:24 GMT
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.
steven - 27 Dec 2004 10:34 GMT
> 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. :-(

> 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
Martin Bialasinski - 27 Dec 2004 10:51 GMT
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.