Thanks for the help. Here's my css code:
Code:
body {
background-color: #6D9199;
text-align: center;
min-width: 702px;
}
p {
font-family: Atlanta, Verdana, sans-serif;
color: #CCFFFF;
}
h1 {
font-family: Papyrus, fantasy;
font-size: 2.5em;
color: #CCFFFF;
margin-left: 8px;
background-color: transparent;
}
h2 {
font-family: Papyrus, fantasy;
color: #CCFFFF;
font-size: 125%;
}
h2 a {
text-decoration: none;
color: #CCFFFF;
}
#page {
position: relative;
margin: 0 auto;
text-align: left;
width: 702px;
height: 615px;
background-color: #6D9199;
background-image: url(images/bg_grad1.png);
background-repeat: repeat-x;
}
#header {
position: relative;
top: 0;
left: 0;
background-color: #000000;
margin-right: 8px;
margin-left: 8px;
margin-bottom: 0px;
width: 686px;
height: 75px;
}
#header h1 {
position: relative;
/*top: -30px;*/
}
#navigation {
background-color: transparent;
position: absolute;
top: 45px;
right: 8px;
font-family: Verdana, sans-serif;
font-size: 84%;
color: #FF6DFF;
}
#navigation, #navigation ul {
list-style: none;
}
#navigation li {
float: left;
}
#navigation a:link, #navigation a:visited {
display: block;
text-decoration: none;
color: #FF6DFF;
}
#navigation a:hover {
/*width: 100%; causes links to move around*/
/*background-color: #CCFFFF;*/
background-image: url(images/tri_right_pink.png);
background-repeat: no-repeat;
background-position: left;
padding-left: 10px;
}
#navigation ul {
display: none;
position: absolute;
padding: 0;
}
#navigation ul li {
float: none;
padding-left: 1em;
width: 9em;
background-color: #000000;
}
#navigation li:hover ul {
display: block;
z-index: 10;
}
#navigation ul li a:hover {
padding-left: 15px;
border-top: solid #FF6DFF 1px;
border-bottom: solid #FF6DFF 1px;
}
#collage {
position: absolute;
top: 85px;
left: 0;
margin-left: 8px;
}
#welcome {
position: absolute;
top: 274px;
left: 0;
margin-left: 8px;
width: 392px;
height: 306px;
background-color: #000000;
}
#welcome h2 {
text-indent: .5em;
margin-bottom: 4px;
}
#welcome p {
margin-left: 8px;
margin-right: 8px;
margin-top: 2px;
margin-bottom: 2px;
text-indent: 2em;
line-height: 1.04em;
letter-spacing: 0.04em;
font-size: 98%;
}
#column2 {
position: absolute;
top: 274px;
left: 400px;
margin-left: 6px;
width: 154px;
height: 306px;
background-color: #000000;
}
#column2 h2 {
text-align: center;
margin-bottom: 5px;
line-height: 1em;
}
#column2 p {
margin-left: 8px;
margin-right: 8px;
margin-top: 2px;
margin-bottom: 2px;
line-height: 1em;
letter-spacing: 0.04em;
font-size: 94%;
word-spacing: -0.1em;
}
#column2 img {
float: left;
margin: 2px 2px 0px 6px;
}
#column3 {
position: absolute;
top: 80px;
left: 565px;
width: 129px;
height: 500px;
background-color: #000000;
text-align: center;
}
#column3 h2 {
margin-bottom: 1px;
margin-top: 5px;
line-height: 1em;
letter-spacing: -0.02em;
}
#column3 p {
margin-left: 4px;
margin-right: 4px;
margin-top: 0px;
margin-bottom: 0px;
text-align: left;
line-height: .85em;
letter-spacing: 0.04em;
font-size: 85%;
word-spacing: -0.1em;
}
#column3 .info, #column3 .info a{
text-align: right;
font-size: 85%;
margin-top: 2px;
}
#column3 .info a {
text-decoration: none;
color: #CCFFFF;
}
#column3 .info a img {
border: none;
margin-left: 4px;
vertical-align: bottom;
}
#column3 .displaypic {
margin-top: 4px;
margin-bottom: 0px;
}
#footer {
position: absolute;
top: 590px;
left: 0;
margin-right: 8px;
margin-left: 8px;
width: 686px;
height: 40px;
background-color: #000000;
}
#footer .sbimage {
margin: 2px 6px;
float: left;
}
#footer .sbtext {
float: left;
margin-top: 7px;
width: 18em;
font-size: 78%;
letter-spacing: 0.05em;
line-height: 0.9em;
}
#footer .copyright {
margin-top: 18px;
margin-right: 8px;
float: right;
font-size: 75%;
letter-spacing: 0.01em;
}
Here's the html:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/shtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Carol's Daylily Gardens</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<link href="sarginger.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="page">
<div id="header">
<span id="headcontent"><h1>Carol's Daylily Gardens</h1>
<ul id="navigation">
<li><a href="">About Us |</a></li>
<li><a href=""> Introductions |</a>
<ul>
<li><a href="">Most Recent</a></li>
<li><a href="">Spring 2008</a></li>
<li><a href="">Fall 2007</a></li>
<li><a href="">All</a></li>
</ul>
</li>
<li><a href=""> Price List |</a>
<ul>
<li><a href="">Daylilies A-F</a></li>
<li><a href="">Daylilies G-R</a></li>
<li><a href="">Daylilies S-Z</a></li>
</ul>
</li>
<li><a href=""> Gallery |</a>
<ul>
<li><a href="">Daylilies A-F</a></li>
<li><a href="">Daylilies G-R</a></li>
<li><a href="">Daylilies S-Z</a></li>
<li><a href="">Carol's Gardens</a></li>
<li><a href="">Miscellaneous</a></li>
</ul>
</li>
<li><a href=""> Contact Us</a></li>
</ul> <!-- navigation -->
</span> <!-- headcontent -->
</div> <!-- header -->
<div id="collage">
<img src="images/slices2.png" alt="Collage of daylilies available from
Carol's Daylily Gardens." height="181px" width="551px" />
</div> <!-- collage -->
<div id="welcome">
<h2>Welcome to Carol's Daylily Gardens!</h2>
<p>Carol’s is nestled among Virginia’s Blue Ridge Mountains, in
Ruckersville. Surrounded by natural beauty, this two acre treasure
beckons visitors to discover all its delights.</p>
<p>Pools of sunlight shine through the many mature oaks that offer
welcoming shade. The 6000 gallon pond surrounded by miniature
hosta and a G-gauge railroad is breathtaking.</p>
<p>Be sure to wander through Carol’s three seedling beds where her
hybridizing creations are grown. She focuses on big round and
ruffled, teeth and exotic edges and doubles.</p>
</div> <!-- welcome -->
<div id="column2">
<h2><a href="">Fall Clearance Sale!</a></h2>
<p>Over 50% off Eureka prices on select items.</p>
<img src="images/TarAndFeathers.jpg" alt="Tar and Feather, on sale now at Carol's." height="58px" width="73px" />
<p>See pricelist for updated sale prices. Place your order
before 9/28/07 and receive 25% off US shipping. Fall or spring
shipping available.</p>
</div> <!-- column2 -->
<div id="column3">
<h2 class="introheader"><a href="">Carol's Spring 2008 Introductions</a></h2>
<img src="images/CanadianBorderPatrol.jpg" alt"Canadian Border Patrol, on sale now at Carol's." height="70px" width="72px" />
<p class="introname">Moonlit Masquerade</p>
<p class="info"><a href="">info ...<img src="images/more-bullet2.png" alt="button link to more information" height="12px" width="12px" /></a></p>
<img class="displaypic" src="images/StargatePortal.jpg" alt"Stargate Portal, on sale now at Carol's." height="63px" width="83px" />
<p>Stargate Portal</p>
<p class="info"><a href="">info ...<img src="images/more-bullet2.png" alt="button link to more information" height="12px" width="12px" /></a></p>
<img class="displaypic" src="images/Seedling.jpg" alt"Lavender Watusi, on sale now at Carol's." height="66px" width="88px" />
<p>Lavender Watusi</p>
<p class="info"><a href="">info ...<img src="images/more-bullet2.png" alt="button link to more information" height="12px" width="12px" /></a></p>
<img class="displaypic" src="images/MarginOfError.jpg" alt"Margin of Error, on sale now at Carol's." height="73px" width="72px" />
<p>Margin of Error</p>
<p class="info"><a href="">info ...<img src="images/more-bullet2.png" alt="button link to more information" height="12px" width="12px" /></a></p>
</div> <!-- column3 -->
<div id="footer">
<img class="sbimage" src="images/SB_final_logo_white.png" alt="Silverbrooke Designs, LLC. logo" height="35px" width="173px" />
<p class="sbtext">Site design, production and hosting by Silverbrooke Designs, LLC.</p>
<p class="copyright">Copyright © 2007. All Rights Reserved.</p>
</div> <!-- footer -->
</div> <!-- page -->
</body>
</html>
I am using transparent .png files. How do I do alpha transparency? Or should I use another file type?
Bookmarks