Style Sheet Asp.Net

  • Thread starter Thread starter Colin Graham
  • Start date Start date
C

Colin Graham

I there i was wondering if someone could help me.

i have created a style sheet in asp.net and dragged it onto my screen
thus creating my lines of code in the html. I do not however seem to
have my style available in my style drop down list.

what is the issue ??

thanks in advance
 
Hi Colin,

To show the Style sheets, please make sure
that in the <head> section, the following is present:

<link rel="stylesheet" href="styles.css">

HTH

Mona[Grapecity]
 
some code below

i have this at the top of my page and my adminstyles.css is in my
application. Just doesnt seem to be showing in the drop down. any more
ideas???

<HEAD>
<title>frm_Login</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<LINK href="AdminStyles.css" type="text/css" rel="stylesheet">
</HEAD>






Patrick Olurotimi Ige said:
This is a multi-part message in MIME format

------=_NextPart_000_54532265
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Try pasting some code





------=_NextPart_000_54532265
Content-Type: text/html; name="_alt.0"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="_alt.0"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4=2E0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html;=
charset=3Diso-8859-1">
<META content=3D"MSHTML 6=2E00=2E2900=2E2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi Colin,</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>To show the Style sheets, please=
make sure
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>that in the &lt;head&gt; section,=
the following is
present:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;link rel=3D"stylesheet"
href=3D"styles=2Ecss"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>HTH</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Mona[Grapecity]</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"Colin Graham" &lt;</FONT><A
href=3D"mailto:csgraham74@hotmail=2Ecom"><FONT face=3DArial
size=3D2>csgraham74@hotmail=2Ecom</FONT></A><FONT face=3DArial=
size=3D2>&gt; wrote in
message </FONT><A
href=3D"face=3DArial
size=3D2></A><FONT
face=3DArial size=3D2>=2E=2E=2E</FONT></DIV><FONT face=3DArial size=3D2>&gt;I=
there i was
wondering if someone could help me=2E<BR>&gt; <BR>&gt; i have=
created a style
sheet in asp=2Enet and dragged it onto my screen<BR>&gt; thus=
creating my lines of
code in the html=2E I do not however seem to<BR>&gt; have my style=
available in my
style drop down list=2E<BR>&gt; <BR>&gt; what is the issue=
??<BR>&gt; <BR>&gt;
thanks in advance</FONT></BODY></HTML>


------=_NextPart_000_54532265--
 
Back
Top