Jump to content

Background div


Recommended Posts

Hi, learning as I go, but have been trying to work this out for a while now and still haven't figured it out

Looking at the attached images, view 1 shows what I currently have and view 2 shows what I am trying to do.
I am wanting to have a white background behind the center and right blocks. The space needs to fill dynamically
based on the lenght of what is being populated into either the center or right blocks.
(using CSS I can fix the height, but this is not the outcome I need)

What I have done, in header.tpl there is

[code]

<!-- holds curved corner top for columns -->

[/code]


and in the footer.tpl there is

[code] {if !$content_only}
<!-- fin column center -->

<!-- Right -->

{$HOOK_RIGHT_COLUMN}
<!-- fin right center -->

<!-- fin columns -->
<!-- fin columnsbkg -->


{/if}
</body>[/code]


My attempt was to add the 'columnsbkg' div, but this is not quite doing what I want.
as mentioned I am learning as I am going so any help would be much appreciated.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...