3 replies [Last post]
nobot123
Offline
newbie
Montréal
Last seen: 15 years 28 weeks ago
Montréal
Timezone: GMT-5
Joined: 2006-05-17
Posts: 2
Points: 0

Hi all, I need your help, I have to built a 3 columns templates with the left columns fixed size at 200px.

The width of the right columns will be determinated by the size of the image that will be published in it ( the images published will be 160 or 300 px width).

And I want the center column to take the balance of the space.

Can someone please help me? I'm turning crazy right now.

Thanks Crying

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 7 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

3 columns special template

I'd think your best option would be to use a script to determine the dimensions of the image on the server and then alter the width on the fly of your right and middle columns.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

nobot123
Offline
newbie
Montréal
Last seen: 15 years 28 weeks ago
Montréal
Timezone: GMT-5
Joined: 2006-05-17
Posts: 2
Points: 0

3 columns special template

Thanks for your answer

It's because is not possible without a script?
I'm not really confortable with those quind of script

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 7 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

3 columns special template

It may be possible but I don't think I've come across anything like what you're asking. The scripting part doesn't need to be that difficult but it will depend on how you're putting your site together.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference