LebGeeks

A community for technology geeks in Lebanon.

You are not logged in.

#1 March 11 2010

Joe
Member

Rant and rage

I hate floats. I spend hours each day debugging display errors on different browsers, and 99% of the case it's about an uncontrollable floating object in my page.

Can anyone show me a good tutorial on how to handle them? and I do not mean basic stuff, but advanced techniques on how to manipulate floats. I'm sure we can find a way to get along (floats and me).

Offline

#2 March 11 2010

rolf
Member

Re: Rant and rage

Keep their use to minimum (use tables instead when possible).
Remember style="clear:both;"

(just my 2 cents :) )

Last edited by rolf (March 11 2010)

Offline

#3 March 11 2010

Joe
Member

Re: Rant and rage

rolf wrote:

Remember style="clear:both;"

rolf, I love you!! ^^

Offline

#4 March 11 2010

Kassem
Member

Re: Rant and rage

I'm no HTML/CSS pro but I do not think that using tables is better than using div tags. I used to hate HTML because of tables. Now I'm starting to feel comfortable with HTML because I learned to use div tags and they're much easier than tables (at least to me).

And rahmu, consider learning Flash, trust me it's worth it ;)

Offline

#5 March 11 2010

samer
Admin

Re: Rant and rage

rolf wrote:

(use tables instead when possible)

The horror!
Only use tables for tabular data.
Not only do tables take way more time to render, they also clutter your markup and make the loading sequential rather than having the whole layout appear at once.

Offline

#6 March 11 2010

xterm
Moderator

Re: Rant and rage

samer wrote:

Only use tables for tabular data.

+1

Offline

#7 March 12 2010

Ayman
Member

Re: Rant and rage

The horror!
Only use tables for tabular data.
Not only do tables take way more time to render, they also clutter your markup and make the loading sequential rather than having the whole layout appear at once.

Amen!

Offline

Board footer