html & CSS newbie. My container code is not working., help with container code |
html & CSS newbie. My container code is not working., help with container code |
msa969 |
Oct 7 2018, 02:17 PM
Post
#1
|
Group: Members Posts: 3 Joined: 7-October 18 Member No.: 26,727 |
Hi i am new html and css style sheets.
My container code is not working. Please help me. Thank you CODE <!DOCTYPE html> <html> <head> <title>Mr Alam New Zealand</title> <style> h1 {color: #ffffcc; font-size: 24pt; text-align:center} </style> <style> body {background-color: green;} </style> <style> a:link {color: blue;} a:visited {color: green;} a:hover {color: red;} a:active {color: orange;} </style> #container /*Styles for Container*/ { width:800px; margin: 0 auto; padding: 5px; background-color: dodgerblue; text-align: center; font-family: Arial, Verdana, sans-serif; font-size: 14pt } </head> <body> <div id="container"> <h1> SEE AMAZING SCENERY </h1> <p style="text-align:center"> <img src=newzealand.jpg width=700px> <br> Explore the lakes, rivers and mountains of New Zealand, or <a href="http://www.australia.com/"> click here to explore Australia </a> </p> </div> <font color="white"> help </font> </body> </html> Attached thumbnail(s) |
Lo-Fi Version | Time is now: 25th April 2024 - 02:31 AM |