Previous Message
Next Message

h2 with border/floating div right

Sent by Jim Wright on 24 March 2006 15:03


I actually just set a background color for the floated div, which took
care of the issue.
The test site is still on a internal server, so I don't have a example
I can show you right now.

On 3/24/06, Zoe M. Gillenwater [EMAIL-REMOVED]> wrote:
> Jim Wright wrote:
> > I have a site where I am using a border on a H2, which is used as the
> > heading in the main content area of the page.  On some pages, I am
> > wanting to put a box of nav links on the right side of the main
> > content area, with the content wrapping around it.  Problem is that
> > the border on the H2 extends under the floated div.  What is the best
> > way to avoid that?  It doesn't extend under the floated div in IE,
> > only in FF/NS.
> >
>
> This is correct behavior. Floats only displace inline content, so the
> heading is still sitting underneath the float. Thus, its border appears
> under the float.  There are ways to work around this, but it depends on
> the layout. Can you post a link to the page?
>
> Zoe
>
> --
> Zoe M. Gillenwater
> Design Services Manager
> UNC Highway Safety Research Center
> http://www.hsrc.unc.edu
>
>
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>


--
Jim Wright
Wright Business Solutions
[EMAIL-REMOVED]
919-417-2257
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: