CSS

+1 Carl Hales · June 9, 2014
I am doing a class using CSS not sure if I have done it right any help would be good.

â?¢ li
{
   font-size:20px;
}
h3
{
   font-style:italic;
}
.size
{
   height:150px;
   width:50px;
}
.border{
border:1px solid blue;
}
first.css
p
{
   color:red;
}
h2
{
   background-color:green;
   font:arial;
}
.text
{
   font-weight:bold;
}
.doc{
position:absolute;
left:100px;
top:100px;
}
homepage.html
<html>
   <body>
       <a href="unit3a.html">unit3a</a>
       <a href="unit3b.html">unit3b</a>
   </body>
< /html>
unit3a.html
<html>
   <head>
   <link rel="stylesheet" type="text/css" href="first.css" />
   </head>
   <body>
       <p class="text">Paragraph</p>
       <h1 class="doc">Heading 1</h1>
       <h2>Heading 2</h2>
   </body>
< /html>
unit3b.html
<html>
   <head>
   <link rel="stylesheet" type="text/css" href="sec.css" />
   </head>
   <body>
       <p class="border">Paragraph</p>
       <h3>Heading 1</h3>
       <ul>
           <li>list 1</li>
       </ul>
       <table border=1 class="size"><tr><td>Table</td></tr></table>
   </body>
< /html>

Post a Reply

Replies

Oldest  Newest  Rating
-1 Stanciu Bogdan Mircea · June 16, 2014
you ain't to specific about what you are doing, what is your problem? 
-1 Steven the awesome · June 16, 2014
What do you want to know, and please use the code tags.
  • 1

HTML / CSS / Web Design

103,605 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators