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.

CSS Forum


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



Reply
Best updated way to automatically expand side divs in 3 column CSS Layout?
Old 06-25-2008, 11:22 PM Best updated way to automatically expand side divs in 3 column CSS Layout?
Junior Talker

Posts: 3
Name: Andrés
Trades: 0
Heya,

I'm working my way through writing my page using CSS instead of tables. Originally I was using tables and an iframe (I had done this so far: www.luzvenidera.com/webnueva/tables), I've come up to doing something similar in CSS..: http://www.luzvenidera.com.ar/webnueva

I intend on replacing the javascript rollovers with CSS as well as the iframe with php or AJAX (still exploring). However, even though I've been looking all day for the right answer, I haven't had any luck finding the right way of making it so the side columns, next to the content area, expand dynamically so that they have the same height as the content area. I did run into "holy grail" codes and other bits of information, however, most of the stuff I ran into didn't contemplate the possiblity of a tiled background plus an image on the top of that side div.

I did also find some other stuff like this script:
http://www.dynamicdrive.com/style/bl...ht-script/P10/

However, most of the articles that I found googling could be considered old (up to quite a few years old), and since what I'm trying to do is to avoid old or "wrong" methods, I'd like to ask again for some input on this.

Should I go with the javascript? I do need this to be dynamic since the middle column will be changing height .. Is there a better way considering that I need a tiled background image plus an image header on the side column? I'm trying to make this as cross-browser/platform friendly as I can.

Thank you in advance

Best regards
Andrés is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-26-2008, 12:09 AM Re: Best updated way to automatically expand side divs in 3 column CSS Layout?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
The easiest way to do this is called the 'faux columns' method.
Quote:
most of the stuff I ran into didn't contemplate the possiblity of a tiled background plus an image on the top of that side div.
You can do this with faux columns.

For your layout, you've actually taken an approach that's more difficult than it needs to be. There's no need use 3 columns to get that effect. What you need is to take a single thin 'slice' across the entire horizontal width of your graphic, then you tile that vertically as the background of a div. You already have the top and bottom sections. You would then have a header, a content section, and a footer, all inside a "wrapper" div.
__________________
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 Best updated way to automatically expand side divs in 3 column CSS Layout?
 

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