This is something I've been slightly obsessing over recently.
Say for example you were asked to create a two-column design, I would do this by floating the left column left, giving it a width, and giving the right column a left margin equal to the left column + about 20px.
There's so many different ways this can be accomplished, how would you do it? Is there anything wrong with my technique?
And if you were asked to create a header with say a logo on the left and login info on the right, I would do this by floating the logo left, the log in info right, and having an empty div with a
clear:both
style attached to it, I prefer this because I hate assigning anything a height in CSS, again how would you do this? Is my way right? Is there anything wrong with it? Would you just give in and assign it a height in CSS?
Are there standardised ways for going about these things too?