4 replies [Last post]
smk2007
smk2007's picture
Offline
Enthusiast
Last seen: 8 years 31 weeks ago
Timezone: GMT-8
Joined: 2007-01-04
Posts: 135
Points: 7

Hi there... I'm trying to create 3 boxes within my content section that will have equal columns in css layout. The problem is I can't use images to do that because at times I may only have two of those boxes open, so having an additional 3rd empty box won't work. Does anyone have a suggestion that will work best for such a task?

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 2 years 9 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

faux columns. and then use

faux columns.
and then use your server side script to call the third column if it is needed.

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

smk2007
smk2007's picture
Offline
Enthusiast
Last seen: 8 years 31 weeks ago
Timezone: GMT-8
Joined: 2007-01-04
Posts: 135
Points: 7

thanks but

isn't the faux column technique basically done by using a repeated image around the layers? If i do that then I'll have an extra box standing out even when it's not being used because the image will be there...

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 36 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

When we start talking about

When we start talking about images, equal heights et al and we have no knowledge of how the site elements are laid out/interact it makes speculating on what is possible nigh on impossible!

As equality of height is simply a visual thing and relatively unimportant, fall back to client side scripting to calculate heights.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

smk2007
smk2007's picture
Offline
Enthusiast
Last seen: 8 years 31 weeks ago
Timezone: GMT-8
Joined: 2007-01-04
Posts: 135
Points: 7

I know very little about scripting...

In a joomla environment I have the slightest idea how I would begin a client side scripting to accomplish an equal height, sorry... :shrug: