Re: [WSG] Persistent page indicator (page id) when you have two lists of navigation

2004-11-09 Thread Andreas Boehmer
The id is a unique identifier. You cannot have more than one elements
with the same id on a page. So in your example, you have got two
different elements with the id=studenthome. Instead, you should use
class=studenthome.

See if that helps.

 Hi
 
 I am trying to set up a page indicator in the sidebar navigation of this
 template using descendant selectors to indicate the current page but it
 doesn't seem to work if I use the following syntax.
 
 I have given each page a body id and each list item in DIV sidebar an
id as
 well but it breaks when I use the following:  I will be creating different
 templates for the two areas Staff and Students so am not concerned about
 that list.
 
 body#studenthome li#studenthome a, body#studentsaccess  li#access a{
   border-right: 12px solid #000;
   {
 
 Work in progress here:
 http://learnline.cdu.edu.au/wip/ll/students/students.html
 
 Another question - I would prefer to put the banner graphic into the
DIV as
 a background but I need to hot link it to the CDU home page.  Is there any
 way of doing this in CSS?
 
 Any help would be appreciated.
 
 Thanks
 
 ***
 Helen Rysavy
 Web Designer, Teaching  Learning Development
 Charles Darwin University, Northern Territory 0909
 Tel: 8946 7779 Mobile: 0403 290 842
 mailto:[EMAIL PROTECTED]
 www.cdu.edu.au
 CRICOS Provider No: 00300K
 ***
 
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 
 

Andreas Boehmer
User Experience Consultant

Phone: (03) 9417 0468
Mobile: (0411) 097 038
http://www.addictiveMedia.com.au
Consulting | Accessibility | Usability | Development
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Persistent page indicator (page id) when you have two lists of navigation

2004-11-09 Thread Nick Gleitzman
On 10 Nov 2004, at 3:31 PM, [EMAIL PROTECTED] wrote:
I have given each page a body id and each list item in DIV sidebar an 
id as
well but it breaks when I use the following:  I will be creating 
different
templates for the two areas Staff and Students so am not concerned 
about
that list.

body#studenthome li#studenthome a, body#studentsaccess  li#access a{
  border-right: 12px solid #000;
  {

Without even looking at your page, I can tell you that you have two 
elements here - body and li - both with the same ID. An ID needs to be 
unique on a page, or it *will* break something. Change one of the IDs 
to something else and things should improve.

HTH
N
___
Omnivision. Websight.
http://www.omnivision.com.au/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**