k2.
07-22-2004, 04:10 AM
I have a problem with my css (surprise!)
I used the following html<p class="project">Project Information </p>
<ul>
<li><a href="../project_info/about.html">About the WAGE Project</a></li>
<li><a href="../project_info/aims.html">Aims and Objectives</a></li>
<li><a href="../project_info/why.html">Why is there a need for WAGE?</a></li>
<li><a href="../project_info/staff.html">Meet the WAGE Staff</a></li>
<li><a href="../glasgow/quiz.html" title="try the wage disability and employment test">Test
your Disability and Employment Awareness</a> </li>
</ul>
<p class="project">Contacting WAGE</p>
<ul>
<li><a href="../project_info/contact.html">Contact WAGE</a></li>
<li><a href="../project_info/where.html">Where are WAGE based?</a></li>
</ul>
<p class="project">Website Information </p>
<ul>
<li><a href="../project_info/new.html">Whats new on the WAGE website?</a></li>
<li><a href="../articles/accessibility/browse.html">Using the WAGE website</a></li>
<li><a href="../project_info/feedback.html" title="online feedback form">Tell
Us What You Think of the Site </a></li>
</ul>
the css for "project" is as follows:
{
font-family: arial, helvetica, sans-serif;
font-size: 100%;
color: #FFFFFF;
background-color: #666699;
text-align: center;
font-weight: bold;
}
When i view the page in Opera and Mozilla the page doesnt show up properly. Instead of only having one line for the heading highlighted in the colour, the colour extends upwards and sits behind the list before the heading...does that make any sense?
Ive attached an image showing the problem.
Does anyone know why this would be happening and how i can stop it from happening?
thanks
I used the following html<p class="project">Project Information </p>
<ul>
<li><a href="../project_info/about.html">About the WAGE Project</a></li>
<li><a href="../project_info/aims.html">Aims and Objectives</a></li>
<li><a href="../project_info/why.html">Why is there a need for WAGE?</a></li>
<li><a href="../project_info/staff.html">Meet the WAGE Staff</a></li>
<li><a href="../glasgow/quiz.html" title="try the wage disability and employment test">Test
your Disability and Employment Awareness</a> </li>
</ul>
<p class="project">Contacting WAGE</p>
<ul>
<li><a href="../project_info/contact.html">Contact WAGE</a></li>
<li><a href="../project_info/where.html">Where are WAGE based?</a></li>
</ul>
<p class="project">Website Information </p>
<ul>
<li><a href="../project_info/new.html">Whats new on the WAGE website?</a></li>
<li><a href="../articles/accessibility/browse.html">Using the WAGE website</a></li>
<li><a href="../project_info/feedback.html" title="online feedback form">Tell
Us What You Think of the Site </a></li>
</ul>
the css for "project" is as follows:
{
font-family: arial, helvetica, sans-serif;
font-size: 100%;
color: #FFFFFF;
background-color: #666699;
text-align: center;
font-weight: bold;
}
When i view the page in Opera and Mozilla the page doesnt show up properly. Instead of only having one line for the heading highlighted in the colour, the colour extends upwards and sits behind the list before the heading...does that make any sense?
Ive attached an image showing the problem.
Does anyone know why this would be happening and how i can stop it from happening?
thanks