Hello, I am having trouble implementing CSS on my HTML page...
This is currently my CSS page:
I than wrote my link to my css page under the <head> tag. This is what I wrote:
<link href="styles.cs s" rel="stylesheet " type="text/css" />
I than wrote... <h1 class="centre" >My Story</h1>
...it is meant to centre the text but instead doesn't centre it at all.
Please let me know if you can help me solve this issue...
Cheers!!
This is currently my CSS page:
Code:
#container { width: 960px; min-width: 960px; padding-left:10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 10px; border: 2px solid #000000; } h1 { font-family: Verdana,Arial, Helvetica, sans-serif; text-align: left; } p { font-family: Verdana, Arial, Helvertic, sans-serif; text-align: left; } .red { color: #ff0000; } .centre { text-align: center; } .justify { text-align: justify; }
<link href="styles.cs s" rel="stylesheet " type="text/css" />
I than wrote... <h1 class="centre" >My Story</h1>
...it is meant to centre the text but instead doesn't centre it at all.
Please let me know if you can help me solve this issue...
Cheers!!
Comment