Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Style sheets, Please Help..

Reply
Thread Tools

Style sheets, Please Help..

 
 
=?Utf-8?B?SXJmYW4gQWtyYW0=?=
Guest
Posts: n/a
 
      03-12-2005
Hi Guys,

Where do we specify style sheets link, so that it is used through the
asp.net web-application?

Will wait for a useful response,

Thanks,

I.A..
 
Reply With Quote
 
 
 
 
Tampa.NET Koder
Guest
Posts: n/a
 
      03-12-2005
Well,

You have to include it in the head section of you page like this:
<link rel="stylesheet" type="text/css" href="style.css" />

However, if you want to do this once. You could create a common base class
that all of your pages inherit from. Then, in your base class write out all
of the common html, ie. external style sheet declaration. It takes a little
extra work up front, which I feel is un-necessary. So, what I do, I just
include my stylesheet link reference on every page.



"Irfan Akram" <> wrote in message
news:8CB8F64B-DB75-4E10-AC30-...
> Hi Guys,
>
> Where do we specify style sheets link, so that it is used through the
> asp.net web-application?
>
> Will wait for a useful response,
>
> Thanks,
>
> I.A..



 
Reply With Quote
 
 
 
 
vMike
Guest
Posts: n/a
 
      03-12-2005

"Tampa.NET Koder" <> wrote in message
news:%...
> Well,
>
> You have to include it in the head section of you page like this:
> <link rel="stylesheet" type="text/css" href="style.css" />
>
> However, if you want to do this once. You could create a common base

class
> that all of your pages inherit from. Then, in your base class write out

all
> of the common html, ie. external style sheet declaration. It takes a

little
> extra work up front, which I feel is un-necessary. So, what I do, I just
> include my stylesheet link reference on every page.
>
>
>
> "Irfan Akram" <> wrote in message
> news:8CB8F64B-DB75-4E10-AC30-...
> > Hi Guys,
> >
> > Where do we specify style sheets link, so that it is used through the
> > asp.net web-application?
> >
> > Will wait for a useful response,
> >
> > Thanks,
> >
> > I.A..

>
>

Another way is to create a control with the style sheet link in it and add
the control to every page. That way if you need to change the style sheet
name you can change it in one place. This is handy if you want to force a
new style sheet without having to go through every page.

Mike


 
Reply With Quote
 
syedemad
Guest
Posts: n/a
 
      03-16-2005
slamz
just place eg

<LINK href="CSS_NAME.css" type="text/css" rel="stylesheet">

in the <HEAD></HEAD> tags of ur page
i hope that wld do the job


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid header style inconsistent with sortable column style cedoucette@alum.rpi.edu ASP .Net 0 10-14-2005 12:13 AM
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson ASP .Net 3 05-28-2005 03:11 PM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Style sheets, include one style within another (not inheritance) foldface@yahoo.co.uk HTML 1 11-24-2003 01:37 PM
please help... ...me learn C++ please please please :) KK C++ 2 10-14-2003 02:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57