On Sat, Jul 9, 2011 at 1:15 PM, Christopher Wicklander
<[email protected]> wrote:
>
> http://www.intuidiv.com/test/
>
> I was trying to float the ul.nav to the right and position it above the
> .content_bg. I thought I had the z-index correct so I'm not sure what's
> going on. Any help would be great, thanks.

I think you need a negative margin for the nav.  And you can forget
about the z-index.

Since both elements are floated to the right, they respect each
other's margins and won't overlap each other unless you position them
absolutely or give one a negative margin.

Give ul.nav a left margin of -220px (200 for the width and 20 for the
left and right padding):

--
Ghodmode
http://www.ghodmode.com/blog
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to