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 07-24-2009, 04:55 AM Float Confusion
Average Talker

Posts: 16
Name: Brian
Trades: 0
Hello,
I've read the sticky post on clearing floats and don't seem to be having much luck w/a site I'm building. It works fine in Firefox but blows up in IE. Any help is appreciated. Thank you.
Brian

http://www.brianonweb.com/clients/reelfish/
mistercheezit is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-24-2009, 12:23 PM Re: Float Confusion
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
Do you mean for IE6 I assume?

You have in your .main-navigation-container a float left AND a margin left. That will cause problems with IE.

You also have:

.left-nav li {
text-decoration: none;
float; left; /* you have a semi-colon after float */
list-style-type: none;
padding: 0;
margin: 0;
display: inline;
}
The above also has no width set for a floated element

Great article this morning here for IE6 fix-all's, thiugh I am not a hack guy myself, these tips may help you out!
http://sixrevisions.com/web-developm...the-ie6-beast/
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 07-24-2009, 02:03 PM Re: Float Confusion
Average Talker

Posts: 16
Name: Brian
Trades: 0
Randy,
Thank you so much. I corrected the semicolon, shuffled some things around, deleted some of the code you pointed out (which turned out to be unneccesary). Now everthing seems to be working in modern browsers.

I've also bookmarked the page you mentioned when it comes time for IE6 hacks. You may have even solved another website's issues (www.nanact.org) which crashes randomly. I suspect this has to do with the PNG transparency fix I used. The page you linked has a suggested PNG hack so I'll try that instead.

I'm not exactly sure what htc files are and don't know how to edit them when they appear to be causing issues for a Web site. I can't get nanact.org to crash but a number of users say it nearly won't even run for them. Hopefully it's the PNG fix.

But I digress! Thank you for the help. Very grateful on this end.

Brian
mistercheezit is offline
Reply With Quote
View Public Profile
 
Old 07-24-2009, 02:27 PM Re: Float Confusion
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
No problem!

PNG issues are absolutely a nightmare with IE6. Even the fixes can cause problems as you have mentioned. Unfortunately, though I use the unitpngfix(http://labs.unitinteractive.com/unitpngfix.php) which works pretty well, I still get weird issues on my sites. Those fixes are limited as well.

Soon IE6 will be dead, til then, we have to do what we can!
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 07-24-2009, 02:36 PM Re: Float Confusion
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You might also bookmark www.positioniseverything.net for solutions to IE's bugs.
__________________
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 Float Confusion
 

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