Discussion on:

4
Comments

Join the conversation!

Follow via:
RSS
Email Alert
In order to retain separation of style sheets from the code of the webpage, wouldn't another alternative be to have a link reference in the head of the document and simply have different style sheets for each "you are here" focus. If the webpage "you are here" is page 2 you have a style sheet designed to highlight page 2 links and not highlight others in the navigation bar. Page 3 would have a page 3 style sheet, etc. That way if you want to update the link style you can just alter the style sheet instead of each webpage. I believe you can have links to more than one style sheet in the head of the document so all other styles could go into a main style sheet and just the navigation styles in the button specific style sheets. Anybody see any problems with this technique?
0 Votes
+ -
That sounds like it would work. I wonder thought about big sites where responsibilities are distributed. Take my employer, CNET--we have so many different hands mixing in the pot, the ad folks have style sheets they need to use for the ad calls, the production folks have stuff they need for surveys and such, etc. It just would not be possible to ensure all those different style sheets interact properly in all situations, would it?
0 Votes
+ -
Putting button navigation specific styles into each webpage doesn't make this "too many hands" problem go away, does it? In the situation you describe I would simply have these other departments insure that their style sheets do not "touch" navigation, standard page layout, and cross-site styles. Centralizing all of the style sheets, and perhaps putting a person on them to act as watchdog, would be a better way to go.
Can I incorporate an image to replace the you are here button? I have tried replacing the individual page markup:

of div#menu li#page2 a {color: #000099;}

with div#menu li#page2 a {background-image:url(etc);}

and of course its not going to be that easy is it?! any ideas would be great
thanks Anna
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.