Bacchus God of Wine wrote:
>>>Thanks
>>
>>There is a very simple solution. Keep it simple.
>
>
> thanks but there the slight possibility that I still don't
> fully understand CSS yet.
Some things are very easy and reliable to do across all browsers. Like
setting fonts and margins and padding (there's a few caveats and
encouragement to use a doctype with a path to get the boxmodel right and
not in quirks mode).
Some things like tableless layouts are very difficult.
My general rule for CSS is to use as few classes as possible and
style by element under a decendant.
In other words, dont do this:
<div>
<p class="fancy">...</p>
<p class="fancy">...</p>
<p class="fancy">...</p>
<p class="fancy">...</p>
<ul class="fancy_list">...
</div>
do this instead:
<div id="fancy">
<p>...</p>
<p>...</p>
<ul>..
and style it like this:
#fancy p{}
#fancy ul{}
and set default styles in the body
body{default styles for page}
You may need to add td and th for some browsers.
I mention that because many people don't do it that way. And you wind
up with a lot of extra unneeded markup.
Jeff
>
> >> Stay informed about: CSS do we discuss it here?