Urgent Help Needed

  • Thread starter Anantha Narayanan Vijayaraghavan
  • Start date
A

Anantha Narayanan Vijayaraghavan

Hi Guys,

I have got an doubt in stylesheet. I want to know how to apply stlesheet.

I have created a style sheet. I used

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

When i apply the class of this stylesheet it doeds not work. I need to know
how to apply stylesheet. Pleas let me know on the same.
 
S

sridhar

you need to add the following line inside <head> tags of
page
<link rel="STYLESHEET" type="text/css" href="style.css">

Also check style.css is at the same level of the page as
directory wise. otherwise need to give relative path.
 

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

Top