Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
floating an image gallery inside another div
Old 12-21-2006, 02:49 PM floating an image gallery inside another div
matt w's Avatar
Super Talker

Posts: 133
Location: kalamazoo
Trades: 0
Please look at the web page listed below:

http://www.geocities.com/mattwilliam...ges/index.html

I'm trying to float an image gallery of links (all the brick squares) inside another div .

It works in mozilla, but in at least a couple other browsers the image links in the gallery are output underneath the container div. How do I fix this?

matt
matt w is offline
Reply With Quote
View Public Profile Visit matt w's homepage!
 
 
Register now for full access!
Old 12-21-2006, 05:20 PM Re: floating an image gallery inside another div
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
In IE 6 you are getting what is called float drop - the gallery div is falling below the left side because it's too wide to fit horizontally. You have to make allowances for IE broken box model:
http://www.communitymx.com/content/a...989953B6F20B41
More on IE bugs here:
http://www.positioniseverything.net/ie-primer.html
http://www.positioniseverything.net/explorer.html

Your thumbnail class has a 56px margin ..(28 + 28) for left and right sides. Add that to the width of the div + padding and you have an IE nightmare.

You might want to take a look at this article:
http://realworldstyle.com/thumb_float.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to floating an image gallery inside another div
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43652 seconds with 12 queries