Menu Items are Numbering Themselves

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
deosil

Menu Items are Numbering Themselves

Post by deosil »

I have a numbering problem in the menu function. Here is what it is doing.

http://wilde.freepgs.com/aiden/index.php?page=home

Could you please help me eliminate this for me please?

Deosil the Jedi    8)
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Menu Items are Numbering Themselves

Post by Dee »

If you look in the generated HTML source code you'll see those numbers are surrounded with tags (present in your menu template) like this:

Code: Select all

<dfn>1: </dfn>
Hide them using CSS. Look in the default stylesheets, do a search on the forum for dfn or lookhere to find out how.

Regards,
D
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu Items are Numbering Themselves

Post by Dr.CSS »

In a default install there is a style sheet called Accessibility and cross-browser tools that has...

/*
definition tags are also hidden
these are also used for menu links   
*/
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}
Locked

Return to “Layout and Design (CSS & HTML)”