Grow your CSS skills. Land your dream job.

Flexible width columns (which will determine the width)

  • # September 28, 2009 at 12:02 am

    I am trying to do a 2 column layout in joomla.

    I want the column to be dynamic as in: If my right column does not have any content, the left column will follow the width of the wrapper. However if i insert contents in my right column, the left column will just resize to what ever width to fit the right column.

    Although this have nothing to do with joomla, but FYI, people who make joomla templates uses php if else code.

    if there is a right content, then load div box with "this" class/id. If there is no right content, load another div.

    Just wondering if it is possible with css without using php.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".