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
Saskia Lund
5,673 PointsHow would you solve this? HTML / CCS-wise
Hi everyone!
I want to create a small navigation and I kind of solved it by creating a div that contained a horizontal ul li menu containing three anchors and a form that contained an input type text with attached span button with the magnifying glass (font awesome) in it. then a border right to get the divider line.
then two imgs for the twitter and facebook fontawesome icons as inline-blocks to stack them above each other...
I worked with absolute pixels.. and I am wondering wether there is a better solution to this, because this is part of a responsive header.
Help is greatly appreciated!
desired design: https://saskialund.de/uploads/Screenshot.png
Thanks much in advance
Saskia Lund
5,673 Pointsich hab bootstrap im einsatz. :)
2 Answers
marwanbakr
2,942 PointsTry using relative units, such as percentages and ems. It helps with responsiveness. :) Good luck on your design!
Nurul Ahsan
2,039 Pointsi am trying to look your design but failed. pls let me show it.Thanks to you
Samuel Mamulaschwili
9,935 PointsSamuel Mamulaschwili
9,935 PointsHi Saskia, hast du irgendein Framework im Einsatz (bootstrap,foundation etc.) oder willst du das komplett von dir aus erstellen?