bit of a dilemma.
i have created a site, which at design stage i thhoughtt was great. however, it all seems to change when you get to the css2 part of it (or so it seems)
basically, i'm trying to get the hover state stay active once the user is on THE page.
[nb. i have attached a screenshot of how i would like the page to look like when user is on the page.]
see link for the page in question: http://www.olympicgames-2012.co.uk/it_support.shtml
is there an easy way to do this? am i missing the obvious??
pls let me know and as always thanks in advance to those who have taken the time to read this post.
rdb
Attachment | Size |
---|---|
060627_design5_sub3.jpg | 208.17 KB |
Basic stuff! You dont get
Basic stuff!
You dont get the :active state to hold as it's just for the period of activation.
Using ID's on the body tag to ident each page as unique you then add unique identifiers to your link tags , then using descendent selectors you group a set of rules that run along these lines:
body#about_page a#about,
body#index_page a#index
{
background:red;
}
when these conditions are met then the rules are applied.
You should be able to work with that.
Hugo.
I'm getting there...
ok i understand the concept of doing this but am having some trouble in putting the correct tags in place.
so step by step....
1/ on the css file i put :
body#about_page a#about,
body#index_page a#index
{
background:red;
}
2/ on the page i would like to make ACTIVEE, i put the following code
in the body tag.
3/ surely i would need to identify at some point that i want thee menu iteem (in this case
About Us
to highlight in blue?
i have a feeling i missing something, probably very basic here.....
excuse my stupidity...!
IGNORE THIS POST - PROBLEM SORTED - THANKS HUGO!
THANKS AGAIN!
HAD TO READ YOUR POST ABOUT 3 TIMES AND THEN IT MADE SENSE....!
GOT IT WORKING NOW!!!
It does take a while to get
It does take a while to get it, but once it clicks, it instantly seems so easy and makes si much sense.
3/ surely i would need to identify at some point that i want thee menu iteem (in this case
About Us
to highlight in blue?
i have a feeling i missing something, probably very basic here.....
You were, you need to then give the anchors the matching IDs . . . but I guess you realised that?
sure thing!
thanks again to you guys for helping out!
rdb
And thankyou for taking the
And thankyou for taking the ime to come back and keep us informed, makes me feel all warm and gooey inside
Well, you always know where to find us!
Like a Cadburys Cream Egg
makes me feel all warm and gooey inside
Like a Cadbury's Cream Egg stuck in a Microwave for a couple of seconds. Yum!