Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML HTML Basics

<hr?> and stlye cc wont show up n code??

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

<hr?> and stlye cc wont show up n code??

Postby marie112 » Mon Feb 20, 2012 11:29 pm

Hi
This is what is happening I used the http://validator.w3.org/ but when I upload my code the style.css is not working and I lose My <hr/> lines Been trying to fix it but at a lost Just learning html.
So all help greatly appreciated
Thank you
:help:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!--Christina Copper Peters
    Author:Christina Peters
   Date:January, 17/2012
   -->
     <title>Biography</title>
     <link type="text/css" rel="stylesheet"  href="mystyle.css" media="all">
    <link rel="stylesheet" type="text/css" href="print.css" media="print" >
 </head>

<body>


<h1>Christina Copper Peters</h1>
<h2>Biography</h2>

<hr/>
<div style="text-align:center">

   <a href="index.html">
   Home
   </a>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   <a href="biography.html">
   Biography
   </a>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   <a href="achievements.html">
   Achievements
   </a>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   <a href="previouswork.html">
   Previous Work
   </a>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   <a href="worksinprogress2.html">
   Works in Progress
   </a>
</div>
   
   <h3>Christina Copper Peters</h3>
   <h4>Tutchone/T 'lingit Carver</h4>
   
<p>I come from a family of carvers and the name "Copper" is in honor of my Grandfather, William Copper Peter. I am a member of the Crow Clan born in 1970, in Whitehorse, Yukon, where I live with my husband and three children who are my most valued critics. I am the niece of well known Master Carver Stan Peters whose work include Totems installed in Whitehorse and Ottawa.</p>
<p>In the early 1990's I was doing diamond willow and leather work, in later years my wood work evolved into my first mask. Later I met T'lingit Carver Alex Dickson who showed me the basic fundamentals of traditional mask making, also other carvers have also mentored my work. I keep those teachings in mind when I start a new piece.</p>
<center>
<p>
<img src="/images/wolf%20mask.jpg" alt="Wolf mask...Christina Peters" title="Wolf Mask (Christina Peters/2012)"  border="6" ></p><div> Wolf Mask</div>
</center>


<blockquote>"My carvings are my interpretation of traditional masks, and it gives me a great honor to see people enjoy my work."</blockquote>

<p>I feel honored that I was given the talent to carve. I try to keep my pieces close to the traditional teachings and also a bit towards a more contemporary style. In the future I would like to learn more about the many other forms of traditional carving.</p>
<p>I don't really look at what I do as being unique, I am slowly developing my own style as I learn more and improve my skills. I have a great respect for and more to learn from traditional carvers.</p>

<blockquote>"I start with a traditional style very much in mind, but let the piece take me where it wants to go. All I can say is what I do comes from the heart."</blockquote>

 
 < hr/>
 
     <address>Christina Copper Peters
             112-4 Prospector Rd.
             Whitehorse, Yukon
            Y1A-5G5
           Email: marieccopper@yahoo.ca
            <p>
            <a href="mailto:marieccopper@yahoo.ca"> Email for more information.</a>
           </p>
<p>images&copy; By Christina Copper Peters /2012
</p>
    </address>
<p class="centre">
    <a href="http://validator.w3.org/check?uri=referer"><img
      src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
  </p>
 
</body>
</html>


style sheet css
Code: Select all
body { color :#D3041C;
      font-family : "Lucida Calligraphy";
      font-size : 13pt;
      background-color :#DEB887;
 }
 
a:link {
     COLOR:00008B;
   
}
a:visited {
     COLOR:4B0082;
    text-decoration: none;
}
a:hover {
     COLOR: FF0000;
    font-size:125%;
    text-decoration:none;
}

img {
     color:000000
 }

 hr{
    color:000000;
    background-color:000000;
    border: 12px;
    height: 6px;
    width: 100%;
 }
 h1{text-align: center;
    font-size: 30pt;
    color: 000080;
    font-weight: bold;
    font-family: "Lucida Calligraphy";
  }
 h2{text-align: center;
    font-size:20pt;
    color:000080;
    font-family: "Lucida Calligraphy";
 }
 h3{text-align:center;
    font-size:30pt;
    color:FF0000;
    font-family: "Lucida Calligraphy";
 }
 h4{text-align:center;
    font-size:20pt;
    color:FF0000;
    font-family: "Lucida Calligraphy";
 }
 
 h5{text-align:center;
    font-size:20pt;
    color:FF0000;
   font-family: "Lucida Calligraphy";
   }
h6{ font-size:16pt;
    color:FF0000;
   font-family: "Lucida Calligraphy";
   }
blockquote{
    text-align:center;font-size:16pt;
    color:FF0000;
    font-family: "Lucida Calligraphy";
    font-size:16pt;
 }
 p {text-align: none;
   font-size: 14pt;
   font-family: "Lucida Calligraphy";
   color:8B0000;}
 ul{font-size: 14pt;
   font-family: "Lucida Calligraphy";
   color:8B0000;}
 
address{
     text-align: center;
     font-family: "Lucida Calligraphy";
     color:   #D3041C;
    }
 
marie112
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu Oct 20, 2011 8:22 pm

Re: <hr?> and stlye cc wont show up n code??

Postby iam4423 » Thu Feb 23, 2012 6:52 am

firstly change your < hr /> tags to <hr> (make sure there are no spaces)

and in your css when defining colors you need to put '#' at the start (black is #000000)

Code: Select all
hr{
    color:000000;
    background-color:000000;
    border: 12px;
    height: 6px;
    width: 100%;
 }
becomes
Code: Select all
hr{
    color:#000000;
    background-color:#000000;
    border: 12px;
    height: 6px;
    width: 100%;
 }

hope this helps

there are a few other colors in your css that also need the '#' adding to the beginning
iam4423
New php-forum User
New php-forum User
 
Posts: 50
Joined: Fri Jan 20, 2012 8:00 am

Costume Jewelry 4 Easy Ways to Wear It

Postby conni182 » Wed Mar 27, 2013 12:33 am

Costume Jewelry might not be something a simple girl would touch with a ten-foot pole. swarovski canada The mere mention of the word "costume" is enough to scare her away. Being partial to the swarovski crystal brooch tried-and-tested, safe comfort of fine jewelry, most girls choose to stay in that territory. sale swarovski But the world is a stage, as they say, and every girl wants to live out a fantasy or channel her inner diva sometimes.
conni182
New php-forum User
New php-forum User
 
Posts: 1
Joined: Thu Dec 13, 2012 12:07 am


Return to HTML Basics

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.