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
Alexandru Olteanu
17,522 PointsBuild a simple PHP app conditional problem
Hey!
In the "Build a simple php application" -> "Creating the menu and footer", when I add the active states to the navigation, they work when accessing the respective pages, but the front page header "breaks"
Does anybody know why that white space appears now?
Thanks!
4 Answers
. Ali
9,799 Pointsit would be very hard to guess without looking at your code ... may be look at the css ??
Alexandru Olteanu
17,522 PointsWell it's the same code as in the projects. I never changed anything - just followed the instructions. This is really weird.
Curtis Schrum
10,174 PointsDoes this happen when you hover over it, or just when the page loads? Also from the pic Im not sure which browser you're using have you tried a different browser to see if the problem persist?
Milton Centeno
Courses Plus Student 7,940 PointsThis happen to me and I added the $section variable to the index.php and it fixed it. I added the followin: $section = " ";
