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
Old 04-23-2007, 08:52 PM Crazy render issue
futurevisions's Avatar
Super Talker

Posts: 102
Location: UK
Trades: 0
I'm a bit puzzled on this one:

http://future-visions.co.uk/cej/inde...page=bracelets

For some reason, IE displays the product box correctly, however, Firefox renders the page with the product picture and information not actually inside the grey box.

I've prowled through the CSS to no end, but I can't figure out what's stopping this from displaying correctly in Firefox. Any ideas, anyone?

Thanks for any help given.
futurevisions is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-24-2007, 04:14 AM Re: Crazy render issue
Experienced Talker

Posts: 36
Trades: 0
I'm new to css and by far no expert but at first glance I'm guessing the problem has to do with the fact that you did not specify a height for prod-box.

Hope this helps,
-Phaaze

(Edit: The other thing you could try if the image is dynamic, therefore different on each page, is giving prod-box a display: table; - I don't know if this is good common practice or not but I do believe it works.)
__________________

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

Last edited by Phaaze; 04-24-2007 at 04:24 AM..
Phaaze is offline
Reply With Quote
View Public Profile
 
Old 04-24-2007, 05:48 PM Re: Crazy render issue
futurevisions's Avatar
Super Talker

Posts: 102
Location: UK
Trades: 0
Your solution for 'display: table' nearly had me thinking I might have sorted it! But, although it isn't supported by IE, that did fix the problem by displaying correctly in both Firefox and IE, but didn't work just right in Safari.

Back to the drawing board? Thanks though, great help!
futurevisions is offline
Reply With Quote
View Public Profile
 
Old 04-24-2007, 06:14 PM Re: Crazy render issue
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Clear your left float immediately after your prod-desc paragraph.

Something like <div style="clear: left;"></div>

Also, you should specify a width and height for your image. It won't solve this particular issue; it's just good practice.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 04-24-2007, 06:43 PM Re: Crazy render issue
futurevisions's Avatar
Super Talker

Posts: 102
Location: UK
Trades: 0
Hi ADAM WD,

That's the right solution, and it works. Is there any chance you could explain why that works?

I can specify widths for those images, because all the product images will have fixed widths, but the heights will differ.
futurevisions is offline
Reply With Quote
View Public Profile
 
Old 04-24-2007, 09:08 PM Re: Crazy render issue
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Because any time you use floats, Firefox (and I believe most other browsers) require them to be cleared. I've never really been sure why that is, other than because floats tend to "float" outside of the content area (hence their name).

LNR would probably be able to come up with a better explanation or link than I can.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Crazy render issue
 

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.22855 seconds with 12 queries