David Hucklesby wrote:
If I understand you correctly, you want a consistent menu structure on
every page, but want to style the current page item differently?
If so, perhaps you can replace the A element with something else, just
for that one item?
Probably the simplest way is to use <a>...</a> with no href attribute. The
text inside such an element is not a link, but it is a styleable element.
And you can use the selector "a" to style the features that should be common
to the links and to the current-page item, selectors ":link" and ":visited"
for the features that only links should have. If you wish to add settings
for the current-page item specifically, then it's safest to use a class
attributes on it.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/