Amandeep Pasricha14,931 Points
Having trouble separating float elements properly in footer for mobile-view?
Hello, I've been referencing these videos to work on project 2. In my footer, I feel like I'm doing something wrong. In mobile view, the two floated elements appear way too close to each other. Should I just decrease the font-size or is there something else I can do?
Jamie ReardonTreehouse Project Reviewer
Without looking at your css, a quick glance of your html shows that you have a ul within a ul element. This sounds like the issue for your floats to me. Instead a better approach if you want to have another list inside a list, you need to have it within a li like so:
<ul> <li></li> <li> <ul> <li></li> </ul> <li></li> </ul>
Your elements are probably appearing "too close" because they are not properly separated by their content. Meaning, they are all nested inside one ul. Separate your student name link from the footer nav and float them left and right.