<div> positioning, external style sheet problem

Perseus

Registered
I am trying to position an image at the very top with no top border and no left border...and the div is named title...it only works if i use style="position: absolute; left: 0px" inline such as: <div id="title" style="position: absolute; left: 0px"> and DOES NOT work when i try it with my external syle sheet with #title div as the beginning. Ive tried inputing margin, border etc and does not work. What do I put in my external style sheet that would make it work so I dont have to use it inline?
 
"position: absolute; left: 0px"

In the external style sheet... did you put a ';' at the end of 0px ?
 
in you external stylesheet put #title {position: absolute; left: 0px; }

and then on your page put a link to your stylesheet then:

<div id="title>
 
... and just to be pedantic: zero is zero, i.e. you don't need 'px', 'pt' etc., just '0'.

I'll get me coat ...
 
Back
Top