Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help



Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2673 times and has 1 reply Next Thread
Male Tjay
Stranger
Member's Avatar


Joined: Jan 23, 2007
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
confused Linking Both File Together

How do I Link my CSS Template to my HTML Document Template

[Jan 23, 2007 1:00:10 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male cboudy
Advanced Member
Member's Avatar


Joined: May 26, 2006
Post Count: 1757
Status: Offline
Reply to this Post  Reply with Quote 
Re: Linking Both File Together

There are three different ways to "link" your css to your webpage, but the best way is to put the css in an external file. (Something like mainstyle.css) and then put this in the header of your HTML webpage


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



You can learn about the other 2 ways here .

EDIT: Let me correct myself. There is actually only 1 way to link CSS to your webpage and that is using the method above which is called linking your web page to an external style sheet. The other two ways involve putting your styles within the actual HTML page or putting the styles inline with a certain tag.
----------------------------------------
[Edit 1 times, last edit by cboudy at Jan 23, 2007 1:22:28 PM]
[Jan 23, 2007 1:20:36 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread