need help with css. don't see the border, box, and font specification


A

aboutjav.com

Hi,

I created a user info control to let the user know if he logs in. I
created a .css file for the asp.net project and assigned the following
to the user area. In the userinfo.aspx, I added each section. when I
bring up the website, I don't see any of the font, color, or borders.

Is there any extra steps to point to the .css file?

Any help is greatly appreciated.




..UserInfoHead
{
border-right: #cc6666 1px solid;
border-top: #cc6666 1px solid;
border-left: #cc6666 1px solid;
border-bottom: #cc6666 1px solid;
background-color: #dc143c;
font-family: Verdana, Arial;
font-weight: bold;
font-size: 10pt;
color: #f5f5dc;
padding-left: 3px;
text-align: center;
}
..UserInfoContent
{
border-right: #cc6666 1px solid;
border-top: #cc6666 1px solid;
border-left: #cc6666 1px solid;
border-bottom: #cc6666 1px solid;
background-color: #ffcccc;
text-align: center;
}
..UserInfoText
{
font-family: Verdana, Arial;
font-size: 9pt;
padding-left: 5px;
text-decoration: none;
}
a.UserInfoLink
{
font-family: Verdana, Arial;
font-weight: bold;
font-size: 9pt;
color: #ed486d;
line-height: 15px;
padding-left: 5px;
text-decoration: none;
}
a.UserInfoLink:hover
{
padding-left: 5px;
color: #dc143c;
}
a.Button
{
color: Black;
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 12px;
}
..AdminTitle
{
color: Black;
font-family: Verdana, Helvetica, Sans-Serif;
text-decoration: none;
font-size: 21px;
font-weight: bold;
line-height: 25px;
}
..AdminPageText
{
color: Navy;
font-family: Verdana, Helvetica, Sans-Serif;
text-decoration: none;
font-size: 12px;
}
a.AdminPageText
{
color: Navy;
font-family: Verdana, Helvetica, Sans-Serif;
text-decoration: none;
font-size: 12px;
}
a.AdminPageText:hover
{
color: Red;
}
 
Ad

Advertisements

M

Mark Fitzpatrick

The first thing to check is that the CSS file is really being found
correctly. If you do't check that first, you can end up going around in
endless circles later on trying to figure out what's wrong with your styles.
Bring up the page that has the link to the CSS file, then check out the link
and see if you can browse to it directly, using the URL of the page as a
basis. This trips up a lot of people because they'll put the CSS in a master
page without realizing that the CSS link will be relative to the master
page, and not to the child pages.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
 
Ad

Advertisements

B

bruce barker

in css the dot is used to specify a class name. threre is no ..


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top