Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2003
    Location
    Chicago, IL
    Posts
    131
    Thanks
    3
    Thanked 0 Times in 0 Posts

    CSS border not recognizing nested div

    As a portion of a larger layout, I have defined a single column in which I nest a div (floated right) thats serves as a second column. The overall intended result, which does function as intended in FF 2.0/IE7/IE6/safari, is to allow any content that extends beyond the base/bottom of my nested div to expand to the width of the parent column. A pretty straight forward concept.

    Where my problem arises is with any element defined in the parent column that has been assigned a top or bottom border. Though the content within the element recognizes the nested div, the border style does not; causing the border to extend behind the nested div rather then recognizing the nested div's boundaries.

    Any idea if this can be rectified so that the border does stop at the nested div boundary?

    Thanks.
    Last edited by hothousegraphix; 07-26-2007 at 07:10 PM.

  • #2
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Have some code we can look at?
    .
    .


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •