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
Need help with Nav Menu
Old 05-30-2009, 11:49 AM Need help with Nav Menu
Junior Talker

Posts: 1
Trades: 0
Hello,

I need help with my navigation menu. I need it to stretch the full length as the content area.



Here is my css code

Code:
* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

#header {
    background-image: url(../img/logo.png);
        background-repeat: no-repeat;
        background-color: orange;
    height: 8em;
}
#header img {
        position: relative;
        left: 550px;
}

#nav {
    background-image: url(../img/menu.jpg);
        height: 100%;
    width: 20%;
        float: left;
}
#nav a {
        text-decoration: none;
        color: black;
        font-family: verdana;
        font-size: small;
        display: block;
        padding: 15px;
}
#nav a:hover {
        background-image: url(../img/back.png);
}
#nav #on {
        background-color: red;
}
#content {
    background-color: tan;
    height: auto !important;
        height: 100%;
    width: 80%;
        float: right;
}

#wrapper {
    width: 800px;
    background-color: transparent;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -4em;
}

#footer {
        color: white;
        font-size: small;
        font-style: italic;
        text-align: center;
        width: 800px;
        position: relative;
        clear: both;
    background-color: maroon;
    height: 4em;
}
and here is my index.php code

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
    <title>Fall For The Arts</title>
    <link rel="stylesheet" href="css/reset.css" type="text/css">
    <link rel="stylesheet" href="css/main.css" type="text/css">
</head>
<body>
    
    <div id="wrapper">
    
        <div id="header"><img src="img/ballet.png" alt=""></div>
        
        <div id="nav">
            <a href="#" id="on">Home</a>
            <a href="#">Organizations</a>
            <a href="#">Where is it?</a>
            <a href="#">Location</a>
            <a href="#">About</a>
        </div>
        
        <div id="content">
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
                                    <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
                                    <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
                                    <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
                                    <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
            <p>Your content goes here.</p>
        </div>

        <div id="footer">
            <p>Copyright &copy; 2009</p>
        </div>

    </div>
    

    
</body>

</body>
</html>
stingray89 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-30-2009, 12:39 PM Re: Need help with Nav Menu
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
You need to create a tiled background image of the same color as your column.

This creates the illusion that your column extends all the way down.

All info on how to do this you can find here:

http://www.alistapart.com/articles/fauxcolumns/
World is offline
Reply With Quote
View Public Profile
 
Old 05-30-2009, 12:51 PM Re: Need help with Nav Menu
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You might want to read up on the faux columns method, it's easy and works like a charm.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need help with Nav Menu
 

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 1.05454 seconds with 12 queries