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
Help With Background Colour!
Old 01-29-2007, 11:48 AM Help With Background Colour!
McBone's Avatar
Super Talker

Posts: 149
Name: i have left
Location: i have left
Trades: 0
Hey I'm really stuck and its so stupid, but i can't work it out!!!



(image above is how the problem looks)

this is a basic idea of my layout, my problem is i cant get the left menu bar to fit the page when the page scrolls, it fits when the smaller pages don't scroll, but the larger pages leave a huge white space under.

I have tried different x y repeats, aligning, i just can't work it out!!

HTML Code:
body {
margin:0 auto;
padding:0;
font:78% Trebuchet MS, Arial, Helvetica, sans-serif;
background: #ffffff url("bg.gif");
color:#333333;
}




a.orange:link {color: #feb03c; 
text-decoration:none;}
a.orange:visited {color: #feb03c; 
text-decoration:none;}
a.orange:hover {color: #feb03c; 
text-decoration:underline;}
a.orange:active {color: #feb03c; 
text-decoration:none;}

a.white:link {color: #ffffff; 
text-decoration:none;}
a.white:visited {color: #ffffff; 
text-decoration:none;}
a.white:hover {color: #ffffff; 
text-decoration:underline;}
a.white:active {color: #ffffff; 
text-decoration:none;}

a.black:link {color: #000000; 
text-decoration:none;}
a.black:visited {color: #000000; 
text-decoration:none;}
a.black:hover {color: #000000; 
text-decoration:underline;}
a.black:active {color: #000000; 
text-decoration:none;}

a img {
border:0;
}


p {
margin:0 0 0px 0;
}

#content {
text-align:center;
background-color:#ffffff;
color:#333333;
margin:0 auto;
padding:0px 0px;
width:747px;
border: 0px solid #000000;

}

#header {
color:#ffffff;
background:#ffffff url(head.jpg) bottom left no-repeat;
height:87px;
margin:0 0 0px 0;
padding:0px;
}

#menu {
color:#feb03c;
background:#feb03c url(menu.jpg) bottom left repeat;
width:637px; 
height:19px;
margin:0px 0px 0px 0px;
padding:0px;
float:right;
}



#header h1 {
font-size:2em;
float:left;
font-weight:normal;
letter-spacing:-2px;
margin-left:0px;
}

#header a{
color: #ffffff;
}
#header a:hover{
color: rgb(182,224,150);

}
#page h2{
font-size:1.35em;
font-weight:normal;
}

#header h1 a,#header h1 a:hover {
padding:0;
}
#header em{
font-size:0.6em;
font-style:normal;
letter-spacing:2px;
}

#top {
font-size:1.2em;
margin:5px;
color:#000;
text-align:right;
}


#left

{
background:#303030;
height:500px;
width:100px;
margin:0px 0px 0px 0px;
padding:5px;
text-align:center;
font-size:1.0em;
float:left;
color:#ffffff;
}

#left2

{
background-color: #303030;

width:100px;
margin:0px 0px 0px 0px;
padding:5px;
text-align:center;
font-size:1.0em;
float:left;
color:#ffffff;

}


#page {
background:#ffffff;
margin:10px 10px 0px 100px;
padding:0;
line-height:1.5em;
text-align:center;
}


#foot{
clear:both;
margin:0 auto;
padding:8px 0;
border-top:1px solid #303030;
width:747px;
text-align:center;
color:#555555;
background-color:#ffffff;
font-size:0.9em;
}
This is my style sheet

(excuse the poor coding!)

Thanks for the help!

Last edited by McBone; 01-29-2007 at 11:56 AM..
McBone is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2007, 03:11 PM Re: Help With Background Colour!
McBone's Avatar
Super Talker

Posts: 149
Name: i have left
Location: i have left
Trades: 0
anyone?
McBone is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 03:21 PM Re: Help With Background Colour!
Average Talker

Posts: 28
Name: Ben Allen
Trades: 0
I'm not sure I understand the problem, what should the image look like? Are you wanting the menu to expand to the full height of the page?

And if that is the case, I think you may want to look at Faux Columns. (http://alistapart.com/articles/fauxcolumns/), I think, anyway, never used them myself.

Last edited by ballen; 01-29-2007 at 03:24 PM..
ballen is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 03:24 PM Re: Help With Background Colour!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Please don't duplicate your posts. I've answered your question in the CSS forum.
__________________
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
 
Old 01-29-2007, 03:27 PM Re: Help With Background Colour!
McBone's Avatar
Super Talker

Posts: 149
Name: i have left
Location: i have left
Trades: 0
oh sorry i didnt know which one to post it in
McBone is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help With Background Colour!
 

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