jhoulston
02-03-2007, 10:44 PM
This is probably a very simple way to do this but I can't work it out.
I have used in the past this link:http://alistapart.com/articles/keepingcurrent
This has been great becuase the previous templates I have used have had id="currentpage"
The template I am currently working on uses class="currentpage".
Here is my css code for the menu:
#menu {
background : transparent;
font : 80% sans-serif;
padding-top:20px;
}
#menu ul {
padding : 0.75em 1em;
}
#menu li {
display : inline;
}
#menu li a {
color : #ffffff;
padding : 0.75em 0.5em;
}
#menu li a:hover {
background : #2b548c url(images/navbg2.gif) repeat-x top left;
}
#menu li.selected a {
background : #ffffff url(images/navbg.gif) repeat-x top left;
color : #D14023;
border : 1px solid #2b548c;
border-bottom : 1px solid #ffffff;
}
#menu li.selected a:hover {
background : #ffffff url(images/navbg.gif) repeat-x top left;
color : #D14023;
}
Could any help please so I can get this to work with the A List Apart Article.
Thanks,
James.
I have used in the past this link:http://alistapart.com/articles/keepingcurrent
This has been great becuase the previous templates I have used have had id="currentpage"
The template I am currently working on uses class="currentpage".
Here is my css code for the menu:
#menu {
background : transparent;
font : 80% sans-serif;
padding-top:20px;
}
#menu ul {
padding : 0.75em 1em;
}
#menu li {
display : inline;
}
#menu li a {
color : #ffffff;
padding : 0.75em 0.5em;
}
#menu li a:hover {
background : #2b548c url(images/navbg2.gif) repeat-x top left;
}
#menu li.selected a {
background : #ffffff url(images/navbg.gif) repeat-x top left;
color : #D14023;
border : 1px solid #2b548c;
border-bottom : 1px solid #ffffff;
}
#menu li.selected a:hover {
background : #ffffff url(images/navbg.gif) repeat-x top left;
color : #D14023;
}
Could any help please so I can get this to work with the A List Apart Article.
Thanks,
James.