I'm building my first stylesheet, and have run into problem.
My stylesheet looks like this.
And this is the html-codeCode:.login { position: absolute; left: 600px; top: 500px; color: black; background: lightgrey; font-family: verdana; font-size: x-small; border-style: dotted; border-width: 2px; padding: 10px } H1.login { color: black; font-family: verdana; font-weight: bold; font-size: large }
But it's just the header which get's into the box, not the rest of the text which end's up in the upper left corner of the screen.Code:<P CLASS="login"> <H1 CLASS="login">Login</H1> Welcome to log in.
What am I doing wrong? I want to be able to define different styles for H1 to be used in diffrent areas of my site/page.





Bookmarks