Shiow menu label bold
2005/08/02 21:31
Viewed 4042 times
Replies: 1/2

Can we show label text of only one menu item bold. if possible how?
eg:
<li id="smenu32">
m1
</li>

<li id="smenu33">
m1
</li>
<li id="smenu34">
m3
</li>

i want to show m3 as bold

Re: Shiow menu label bold
2005/08/03 09:19
Viewed 5908 times
Replies: 1/1

There are 2 possibilities.

  1. the easiest one, add an <a> tag:
    <li>
    <a> <b>m3</b> </a>
    </li>

    If you add an <a> tag, even if it has no href, its content will be taken “as is” and included in the menu label.

  2. add a class name and customize it through CSS:

    <li class="bold">
    m3
    </li>

    and add the following in your document <head>:

    <style type="text/css">
    .bold { font-weight: bold }
    </style>
 
last
Re[2]: Shiow menu label bold
2005/08/03 15:50
Viewed 7301 times
Replies: 0/0

Thanks.

It worked.

last
Google