Skip to main content
Participant
May 6, 2010
Question

cfdiv with regular div problem

  • May 6, 2010
  • 1 reply
  • 299 views

All -

I'm experiencing an issue that has me beating my head against the wall.  Currently I'm working on an application that has a couple regular <div> sections for layout purposes.  Everything looks fine and my page is centered as it should.  However, in the main content area I also wanted to make use of the binding with <cfdiv>.  While it doesn't throw an error, it does cause my page to become left-justified.  Is there something that would cause a <cfdiv> to override the styles of the <div>?

I've tried every iteration I can think of for the <cfdiv> but each time it left-justifies my page's main content.  As soon as I remove the <cfdiv>, my page goes back to being centered as it should.  Has anyone ever experienced this or have a suggestion how it can be corrected?

Thanks,

Brian

    This topic has been closed for replies.

    1 reply

    Inspiring
    May 6, 2010

    Have you used Firebug to inspect the CSS being applied to your DIVs?  Does that cast any light on the scene?

    --

    Adam