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
troy beckett
12,035 Pointswebsite desgin problems
I thought I would have a go at just making any website for practice but I'm having a few probelms.
Please take a look at my codepen:
http://codepen.io/tbeckett24/pen/mCfsl
How to I add a color to the underline when I hover over the nav options e.g. home about blog.
Also how do I add a color line to the bottom of the header section. Like a bottom border I want it in red but any color will do. Everytime I do the code I think is right nothing happens on screen.
1 Answer
Andrew McCormick
17,730 Pointstext-decoration-border is only supported in Firefox with the -moz prefix : caniuse.com/#search=text-decoration-color
You're only option that I know of, is to add a border-bottom to thenav ul li:hoverI simply added a border-bottom to your css header declaration and it worked fine