Jump to content

What am I doing wrong?


dmccabe

Recommended Posts

I am trying to apply a style to the menu options in my header.

 

css

#headermenu ul {
margin: 0;
padding: 0;
list-style-type: none;
}

#headermenu ul li {
display: inline;
padding: 0;
margin: 0 20px 0 0;
}

#headermenu ul li.a {
font-family: Verdana;
font-size: 14pt;
color: #453796;
font-weight: bold;
}
#headermenu ul li.a:hover 	{ 
font-family: Verdana;
font-size: 14pt;
color: #453796;
font-weight: bold;
text-decoration: overline underline;
}
#headermenu ul li.a:link  { 
font-family: Verdana;
font-size: 14pt;
color: #453796;
font-weight: bold;
}
#headermenu ul li.a:visited {
font-family: Verdana;
font-size: 14pt;
color: #453796;
font-weight: bold;
}

#headermenu ul li.a:visited:hover	{
font-family: Verdana;
font-size: 14pt;
color: #453796;
font-weight: bold;
text-decoration: overline underline;
}

 

html

	<div id="headermenu">
	<ul>
		<li><a href="<?php $rootdir?>callcentre/" title="Call Centre Dept">Call Centre</a></li>
		<li><a href="#">Menu item 2</a></li>
		<li><a href="#">Menu item 2</a></li>
		<li><a href="#">Menu item 2</a></li>
	</ul>
	</div>

 

I am not a css expert so this could be completely wrong!

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.