E
eclipsme
I am building a web site, and finally doing a bit of experimenting with CSS.
The home page is at
http://www.eclipsme.com/rockledge/index.html
The menu on the left, the Header at the top, and the Footer at the
,uh... you know - the bottom, are all included pages. I do this to make
this content easy to update.
I have attached a style sheet to index.html (styles.css) and have a line
(what is it called, an attribute???) thus:
a { padding:2; text-decoration: none; color:#FFFFFF; font-size:10pt;
font-weight:bold}
This is all on one line. So far so good.
What I would like to do, though, is have the links on the menu be a
different color (or in this example, a different size) than those in the
main body of the page, that is, in those areas that are not the menu,
header, or footer.
I tried creating a style sheet called menu.css and attaching it to
menu.htm. The menu works perfectly as long as it is called independently:
http://www.eclipsme.com/rockledge/menu.htm
The text is extra large on the above page for this test. It will
normally be smaller, but you can see that as soon as you click on a link
and the menu becomes included, the menu.css is ignored, and the text in
the menu is small again.
Am I doing something wrong? Is there a better way - or perhaps I should
ask - any way to do this?
Thank you very much,
Harvey
The home page is at
http://www.eclipsme.com/rockledge/index.html
The menu on the left, the Header at the top, and the Footer at the
,uh... you know - the bottom, are all included pages. I do this to make
this content easy to update.
I have attached a style sheet to index.html (styles.css) and have a line
(what is it called, an attribute???) thus:
a { padding:2; text-decoration: none; color:#FFFFFF; font-size:10pt;
font-weight:bold}
This is all on one line. So far so good.
What I would like to do, though, is have the links on the menu be a
different color (or in this example, a different size) than those in the
main body of the page, that is, in those areas that are not the menu,
header, or footer.
I tried creating a style sheet called menu.css and attaching it to
menu.htm. The menu works perfectly as long as it is called independently:
http://www.eclipsme.com/rockledge/menu.htm
The text is extra large on the above page for this test. It will
normally be smaller, but you can see that as soon as you click on a link
and the menu becomes included, the menu.css is ignored, and the text in
the menu is small again.
Am I doing something wrong? Is there a better way - or perhaps I should
ask - any way to do this?
Thank you very much,
Harvey