Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1610 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Extending left column

Thread title: Extending left column
Closed Thread    
    Thread tools Search this thread Display Modes  
07-17-2007, 01:03 PM
#1
sunster13 is offline sunster13
Status: Junior Member
Join date: Aug 2006
Location: Toronto
Expertise:
Software:
 
Posts: 31
iTrader: 0 / 0%
 

sunster13 is on a distinguished road

  Old  Extending left column

Here's is a preview of the site:

http://www.sportsgfx.net/tests/css/usc/con/

What I needed was that the content box and blue bar on the left stretched when more content was added. This means I can't use a fixed height. The height was originally 900px for the content, and 880px for the blue bar. This should be the minimum, so I set the min-height for both divs.

The content box stretched perfectly, but the blue side panel doesn't seem to want to go past its min-height. I want it to go all the way to the bottom (the bottom margin and stuff can be changed after).

I set #bluenav to height: 100%, hoping it would go all the way down, but that doesn't work.

I'm not sure what to do. Can anyone help?

07-17-2007, 05:06 PM
#2
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old

you are experiencing a very common problem. the solutions are limited. the easiest being to use a faux column.

a couple of notes:
underline text should only be used for hyperlinks.
and you shouldn't use the <font> or <center> tags. use css!

for the "name:" and "email:" on your form, use <label> tag

07-18-2007, 01:29 PM
#3
galen is offline galen
Status: I'm new around here
Join date: Nov 2006
Location:
Expertise:
Software:
 
Posts: 7
iTrader: 0 / 0%
 

galen is on a distinguished road

  Old

http://www.sportsgfx.net/tests/css/u...content_bg.jpg

include the sidebar in that graphic

07-18-2007, 01:38 PM
#4
sunster13 is offline sunster13
Status: Junior Member
Join date: Aug 2006
Location: Toronto
Expertise:
Software:
 
Posts: 31
iTrader: 0 / 0%
 

sunster13 is on a distinguished road

  Old

I don't know, I don't think faux columns are the route I want to go, with all the playing around with background images and everything.

07-19-2007, 03:10 PM
#5
Dark_Prince11 is offline Dark_Prince11
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
 
Posts: 123
iTrader: 0 / 0%
 

Dark_Prince11 is on a distinguished road

Send a message via AIM to Dark_Prince11 Send a message via MSN to Dark_Prince11

  Old

If I remember correctly, there was a method of doing faux columns using a negative padding and a positive margin. I did it on my site...I'll take a look at the CSS and get back to you...

07-20-2007, 05:47 AM
#6
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old

@sunstar13
if you don't like faux columns, then what would you suggest as an alternative?

07-23-2007, 01:40 PM
#7
Dark_Prince11 is offline Dark_Prince11
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
 
Posts: 123
iTrader: 0 / 0%
 

Dark_Prince11 is on a distinguished road

Send a message via AIM to Dark_Prince11 Send a message via MSN to Dark_Prince11

  Old

here is how I did it on my site...

Code:
.column1{
height:100%;
padding-bottom:2000px;
margin-bottom:-2000px;
overflow:hidden;
}

.column2{
height:100%;
padding-bottom:2000px;
margin-bottom:-2000px;
overflow:hidden;
}
Unfortunately, I lost the link to the article where I learned this trick from, but it is working for my site, so I really don't care why it works.. .

07-23-2007, 07:30 PM
#8
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old

Originally Posted by Dark_Prince11 View Post
here is how I did it on my site...

Code:
.column1{
height:100%;
padding-bottom:2000px;
margin-bottom:-2000px;
overflow:hidden;
}

.column2{
height:100%;
padding-bottom:2000px;
margin-bottom:-2000px;
overflow:hidden;
}
Unfortunately, I lost the link to the article where I learned this trick from, but it is working for my site, so I really don't care why it works.. .

...tried it on his site...didn't work.

do .column1 and .column2 need to be siblings?

07-23-2007, 07:46 PM
#9
Dark_Prince11 is offline Dark_Prince11
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
 
Posts: 123
iTrader: 0 / 0%
 

Dark_Prince11 is on a distinguished road

Send a message via AIM to Dark_Prince11 Send a message via MSN to Dark_Prince11

  Old

I have them both in a wrapper div. They work fine for me...I'll see if I can dig out that article...

Eureka! I found the article....or something similar to it!
http://www.positioniseverything.net/...ut/equalheight


Put it in a wrapper div and make sure you set the correct numbers if you have padding in those columns.

07-23-2007, 08:10 PM
#10
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old

Originally Posted by Dark_Prince11 View Post
I have them both in a wrapper div. They work fine for me...I'll see if I can dig out that article...

Eureka! I found the article....or something similar to it!
http://www.positioniseverything.net/...ut/equalheight


Put it in a wrapper div and make sure you set the correct numbers if you have padding in those columns.
Thanks for posting that link. that is really cool.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed