The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Flexible width columns (which will determine the width)

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #26270

    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)
  • The forum ‘CSS’ is closed to new topics and replies.