Hello everybody at Coding Forum.
I have just started learning basic CSS for a University project and it's going well, but I have come across a problem.
I am making a page in Dreamweaver using CSS to affect text styles.
I understand that I can do a lot more in CSS than what I am currently doing (e.g. according to your FAQ I shouldn't use tables) but at the moment I am happy just using the basics.
However I have come across a little problem.
I have a white page with green text (defined in CSS)
The navigation bar is a picture used as a table background and the links are text above the navigation bar.
Various tabs on the navigation bar are used for navigation and a white tab indicates the active page, whereas a green tab indicates links to other pages.
However that is causing a problem. When I wrote the text for the links they all showed up as green (as you would expect due to the style sheet) I was, however able to change the links on a green tab to white. Then I made the text into hyperlinks and they now stay green, no matter what.
How do I get them to ignore the style sheet?
I don't understand how you are able to override Css in some instances but not others. Are you able to define custom tags (For Instance <Alex1></Alex1> for the style sheet that I can insert before the links, or is there a better way to do it?
Sorry for the big long explanation, but I don't know what is relevant and what isnt..
Many thanks
Alex
I have just started learning basic CSS for a University project and it's going well, but I have come across a problem.
I am making a page in Dreamweaver using CSS to affect text styles.
I understand that I can do a lot more in CSS than what I am currently doing (e.g. according to your FAQ I shouldn't use tables) but at the moment I am happy just using the basics.
However I have come across a little problem.
I have a white page with green text (defined in CSS)
The navigation bar is a picture used as a table background and the links are text above the navigation bar.
Various tabs on the navigation bar are used for navigation and a white tab indicates the active page, whereas a green tab indicates links to other pages.
However that is causing a problem. When I wrote the text for the links they all showed up as green (as you would expect due to the style sheet) I was, however able to change the links on a green tab to white. Then I made the text into hyperlinks and they now stay green, no matter what.
How do I get them to ignore the style sheet?
I don't understand how you are able to override Css in some instances but not others. Are you able to define custom tags (For Instance <Alex1></Alex1> for the style sheet that I can insert before the links, or is there a better way to do it?
Sorry for the big long explanation, but I don't know what is relevant and what isnt..
Many thanks
Alex
Comment