The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> html & CSS newbie. My container code is not working., help with container code
msa969
post 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)
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 02:31 AM