Re: FN-FORUM: CSS Madness - split topic here
date posted 20th February 2008 10:23
On 20 Feb 2008, at 11:25, Craig wrote:
>
> Care to put up a summary?
first off, develop using Firefox, Safari or another web standards
aware browser.
avoid horizontal padding, use margins on contained elements instead.
add display:inline; to any floated divs that have width set.
use conditional comments to serve IE with a different stylesheet
(usually just for height, to get min-height)
float nearly everything
plan your layout to take advantage of available elements, avoid div
and classitis where you can.
Keep things simple...
don't add hacks to fix things - work round the think that needs hacking.
The most complex layout I did with CSS:
http://www.hyperhappen.com/
something simpler and more recent:
http://www.volcanoestates.com/home.php
(yes there are one or two validation errors to fix)