|
Posted by Vince Morgan on 12/13/06 09:14
"Slick50" <spam@yahoo.com> wrote in message
news:JfMfh.7402$Ka1.1231@news01.roc.ny...
> http://messiah.scojul.homedns.org
>
> Two problems:
> 1) UL does not display below header DIV in FF, looks OK in IE6
> 2) UL list items will not center in FF or IE.
>
> I had a hard enough time getting the stupid gif and text to display on the
> same line, and now this...I'm going to go nuts... It shouldn't be this
hard,
> should it?
>
> Grrrrrr...
>
> Thanks.
>
>
Inheritence can cause some trouble if you don't account for it at the very
beginning ..
You should set base properties for the parent object, which would be <body>
here, and overide those as necessary.
Ie;
<style type="text/css">
body {
width:100%;
height:100%;
font-family:Georgia, Arial, sans-serif;
font-size:1em; /*best to size fonts in either em or px*/
background:#FFF;
color:#000;
}
#header {
background:#333;
}
</style
It's also worth asking for help for a particular problem as it arrises. If
you don't, you may end up fixing (apparently) it by trial and error, and
that is almost always a bad thing IMHO. Reason being that you then don't
know why it works, nor why it didn't. Not to mention the fact that it may
well break in another browser, or environment. You need also to account for
some irregular behaviour in non standards complient browsers. Need, is the
keyword here, as there are more of them than there are not.
Unfortunately, some would say, web pages are no longer the extremely simple
things they used to be back in the early days. You now "need" some
technical understanding of the hows, and certainly the whys. How much
understanding depends on the level of expertise you wish to attain.
HTH
Vince Morgan
Navigation:
[Reply to this message]
|