AlphaGamer150 AlphaGamer150 - 1 year ago 76
CSS Question

HTML/CSS Stylesheet won't work

Im probably missing something relay obvious but why won't this code work?

<link type="stylesheet" href="css/main.css">

Basicly im trying to get a stylesheet that is called main.css in a folder called css.

I don't know why it won't work so please help me!

Answer Source

Wrong syntax:

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

Note the attributes...

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download