good morning,
I want to change the background colour on a block element when it is is currently being viewed.
Can CSS style the Menu link for the current page?
thanks
good morning,
I want to change the background colour on a block element when it is is currently being viewed.
Can CSS style the Menu link for the current page?
thanks
If that's a separate issue to the one below, define "currently".Originally Posted by neilkw
Yes, if that element can be uniquely selected. See a previous post of mine for possible options.Can CSS style the Menu link for the current page?
Mike
ok, defined:
I have a horizontal menu consisting of 6 category links, (home, accessories, baths, suites, showers, taps) which are set as block elements with borders and bg colours, each category contains around 20 products which I plan to sell online. I wish to inform the user which section they are currently viewing by changing the background colour of the link.
Then as far as I can see, the post I linked to in my previous post should apply. Did you read it? Does it help? If not, why not? (Did you spot the typo in the sample markup?).
Mike
Check out Setting the current menu state with CSS by 456 Berea Street. It will explain what you are trying to do.
Ryan
Sevierville, TN
cheers guys
Bookmarks