.... dammit.
Started by Beowulf, Mar 03 2009 08:53 AM
7 replies to this topic
#1
Posted 03 March 2009 - 08:53 AM
Normally I don't run for frontend code help but I'm stumped on this one. Against my usual patterns, I'm using DIVs for my layout instead of tables so it's making one portion a huge bitch to complete properly.
I have a floated unordered list but it won't fill the DIV so it expands properly. I've tried clearing the content DIV below it so it won't overlap but no such luck.
Attached is a shot of the problem. The fucked part is that IE displays it fine but FF is niggling with stupid issues. Some help would be appreciated.
I have a floated unordered list but it won't fill the DIV so it expands properly. I've tried clearing the content DIV below it so it won't overlap but no such luck.
Attached is a shot of the problem. The fucked part is that IE displays it fine but FF is niggling with stupid issues. Some help would be appreciated.
NZ.org | BBPCG
Discord: The Astronomer#1314
Steam
#4
Posted 04 March 2009 - 11:25 PM
Believe it or not, IE handles that incorrectly. Firefox implements floats how they were intended to work. I suggest you read up on clearing and containing floats. Other than floating the parent of the floated element(s) too, which isn't always a good option, the PIE/Aslett approach is best.
#5
Posted 05 March 2009 - 09:13 AM
Or avoid floats altogether. My job requires floatless CSS layouts, but I do do free consultations.
World Domination Status: ▾2.7%
#7
Posted 08 March 2009 - 01:57 AM
Floats aren't that bad once you really understand them, but until you do they can be quite confusing.
So you use lots of absolute positioning? Or do you use some <table> elements?
Any particular reason?My job requires floatless CSS layouts, but I do do free consultations.
So you use lots of absolute positioning? Or do you use some <table> elements?
#8
Posted 09 March 2009 - 11:47 AM
No tables, just very careful margins. If you can do it cleanly and simply, and it work in everything, no reason not to use it. And they'd probably find it harder to justify my pay check if the job was easy
World Domination Status: ▾2.7%
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users