CSS class problem

  • Thread starter Thread starter dave
  • Start date Start date
D

dave

Guys,

I have got a table on my usercontrol and I am trying to
apply a css class to one of its cell.

The roblem is when I specify the class name in the class
property of the cell it does not update the design view
nor does it come up in the runtime view.

I have also got the following link in my usercontrol

<link rel="stylesheet" type="text/css" href="menu.css">

but some how it doesnt seem to see this file.

What am I missing here

thanks
 
dave said:
Guys,

I have got a table on my usercontrol and I am trying to
apply a css class to one of its cell.

The roblem is when I specify the class name in the class
property of the cell it does not update the design view
nor does it come up in the runtime view.

I have also got the following link in my usercontrol

<link rel="stylesheet" type="text/css" href="menu.css">

but some how it doesnt seem to see this file.

What am I missing here

thanks

Just to check: the .css file is in the same directory as the .aspx file, right?

Please show the relevant portion of the html and the stylesheet.
You did specify ".classname" in the css (mind the dot) and "class=classname"
in the html?

Hans Kesting
 
Just to check: the .css file is in the same directory as
the .aspx file, right?

Yes it is
Please show the relevant portion of the html and the
stylesheet.

HTML

<TD colSpan="3" height="36" class="header"
id="heading">
&nbsp;<IMG alt="" src="../Images/logo.gif">
</TD>

CSS

.header
{
FONT-SIZE: 8pt;
COLOR: white;
FONT-FAMILY: arial,helvetica;
BACKGROUND-COLOR: black;
}


Thanks
 
Back
Top