Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Min-height & multiple background image help
Old 10-08-2006, 01:21 AM Min-height & multiple background image help
Average Talker

Posts: 17
Name: Zac Altman
Location: Sydney, Australia
Trades: 0
I am making a site and I am having problems with the design. What I want is to have a 100% wide image on the top with a logo in the top left, and on the absolute bottom of the page (not the browser) have another 100% wide image with another image in the bottom right.

here's my code for the css:
Code:
.quote
{
    width: 200px;
    border-left: solid thick #FFFFFF;
    margin-left: 20px;
    padding: 10px;
    float:right;
}


/* Page Styling */
body
{
    margin: 0px;
    padding: 0px;
    border: 0px;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 16px;
    background: #87c440;
    height:100%;
    width:100%;
}

#content
{
    font-size:16px;
    color:#FFFFFF;
    height:100%;
    width:100%;
}

    #content a:link {color:#FFFFFF;}
    #content a:visited {color:#FFFFFF;}
    #content a:active {color:#FFFFFF;}
    #content a:hover {color: #FFCCFF;}

#text
{
    margin:20px;
    padding-left:10%;
    padding-right:10%;
}

#menu
{
    font-size:18px;
    text-align:center;
}
    #menu a:link {color:#FFFFFF; text-decoration:none}
    #menu a:visited {color:#FFFFFF; text-decoration:none}
    #menu a:active {color:#FFFFFF; text-decoration:none}
    #menu a:hover {color:#FFFFFF; text-decoration:none; font-weight:bold}

.space
{
    height:110px;
    width:100%;
}
.space2
{
    height:82px;
    width:100%;
}
    #content span {
    background: url(top.png) top repeat-x;
    display: block;
    height:100%;
}
    #content span span {
    background: url(name.png) top left no-repeat;
    height:100%;
}
    #content span span span {
    background: url(btm.jpg) bottom repeat-x;
    height:100%;
}
    #content span span span span {
    background: url(br.jpg) bottom right no-repeat;
    height:100%;
}
and for the page
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>getthegiftz.com - Personalised presents and gifts for every occasion</title>
<link rel="stylesheet" type="text/css" href="CSS/main.css" />
</head>

<body>
<div id="content"><span><span><span><span><div class="space"></div>
    <div id="menu">
        <a href="index.html">Home</a> &nbsp;&nbsp;&nbsp; <a href="gift-registry.html">Gift Registry</a> &nbsp;&nbsp;&nbsp; <a href="testimonials.html">Testimonials</a> &nbsp;&nbsp;&nbsp; <a href="contact.html">Contact</a>
    </div><br /><br />
    <div id="text">
    <div class="quote">"We can put a testimonial here about how good your services are"<br />-Person</div>
Get the Giftz is a personalized gift shopping service that takes the stress out of last minute shopping.
<br /><br />
We all lead busy lives and time is precious. Why not take back some of that time and let us source all of your gift requirements.
<br /><br />
Our service will provide you with a gift that is specific to your criteria, or personally selected by us to meet your budget. Each gift is creatively wrapped with attention to detail and supplied with a hand made gift tag.
<br /><br />
As well as ordering one of our unique gifts Get the Giftz can co-ordinate your entire personal or business gift needs. Just give us your list and the stress of last minute purchasing will be alleviated – you will have them organized ahead of time.
<br /><br />
Feel free to sign up for our <a href="gift-registry.html">complemantary gift registry</a>. This service will remind you of all of those important dates in your calendar via sms or email. We can then discuss your preference of gift.

</div><div class="space2"></div></span></span></span></span>
</div>
</body>
</html>
What is happening is that when the page doesn't scroll, the bottom bar is just after the text, where as i want it to be at the bottom of the browser window. So i want a way to have the 100% bar image and the other image to be at the bottom of the browser window if the page doesn't scroll, but at the bottom of the page if the window if it does scroll.

I know its not very clear, but can you please help
basind is offline
Reply With Quote
View Public Profile Visit basind's homepage!
 
 
Register now for full access!
Reply     « Reply to Min-height & multiple background image help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08575 seconds with 12 queries