Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Discover how to make your website more readable and efficient across various screen sizes and devices. Join author Chris Converse as he shares his own specialized techniques for creating a responsive site. The course takes the site from start-to-finish, from comping your ideas in Photoshop, to setting up the HTML page and containers, to styling established elements for small, medium, and large screens. In particular, Chris shows how to load images with CSS, reposition the nav bar for better viewing on mobile devices, and how to make the download time faster for small screens by providing multiple versions of your banner graphic and other images. Plus, learn how to replace graphics with high-resolution versions for Retina displays using CSS media queries.
This course was created and produced by Chris Converse. lynda.com is honored to host this training in our library.
Now we're going to style the navigation element. Let's come back to our text editor. Let's come back to screen_layout_large. Let's scroll up to the top, where we have our global rules. After our a.logo, let's hit a few returns. Let's type nav. We're going to target the nav element. First, we're going to set a width of 100%. Next, we're going to set a display of block. Next, we're going to set a position of absolute, so we can position this inside of that main page container as well.
And lastly, let's come down and set background color to #a6430a;. Let's choose Save. Let's come back out to our browser. Let's hit Reload. So now we'll see that our navigation element now takes 100% of the available space inside of its container. So if I open this up, the page container here is conforming to 980 and the width of the navigation is taking that full area. And now we can better see the hover states as well.
So at this point, we're seeing some overlap because the navigation element has absolute- position properties, but we haven't actually positioned it at a specific spot. So we're going to work on that next.
Find answers to the most frequently asked questions about Creating a Responsive Web Design.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.