Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
deon lieberum
30 PointsWebsite Navigation Menu
How do I create a menu that when hovered or selected spans 100% of the width of the layout? E.G.: http://godfirst.co.za/
1 Answer
Paul Bentham
24,090 PointsSee this answer on Stackoverflow: http://stackoverflow.com/questions/5581034/is-there-are-way-to-make-a-child-divs-width-wider-than-the-parent-div-using-css
I think you're trying to achieve something similar?
Adrian Adr
9,268 PointsAdrian Adr
9,268 PointsHi. Try setting the width to 100%, and be sure to use % insted of px. Also do not set any display property let the default display property wich is block. Hope it helps. :)