Skip to main content
April 27, 2008
Question

cflayoutarea background image

  • April 27, 2008
  • 2 replies
  • 372 views
I cant seem to get a background image set for cflayoutarea

The code that I am using is attached. Please help

I have tried various css techniques and such and still no success. This seems to be such a simple issue but I cant find any help for it anywhere
    This topic has been closed for replies.

    2 replies

    April 29, 2008
    Hi Prem,
    I am not able to reproduce this issue in either CF8 or CF801. With all kinds of combinations.I tried your code also.
    Just tell me one thing, does your #subnav# have some value. Because the background image will come only if the cflayoutarea has some content.
    If your subnav is not returning anything, your layoutarea will be blank and hence the image will not be displayed in the background.

    Second thing, can you change the name of either the variable or the cflayoutarea, both are called "subnav".

    If none of this work, please send us your entire cfm page (Source).
    We will help you find a solution.

    Thanks,
    Bhakti
    April 28, 2008
    Hi,

    I am not able to repro this issue on CF 801.

    Are you setting any styles on the page?

    Thanks,
    Bhakti
    April 28, 2008
    I am using CF 8 and yes I have setting several styles on the page. I figured out a way to get around this issue by explicitly setting height and width to the cflayoutarea tag. It doesnt seem to work any other way.

    Is that a bug or a feature?

    Prem