Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
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 the first thing we need to do with the navigation element is have it positioned after the content. Right now we have an absolute-positioned for large and medium screens. So to do that, let's come back to our text editor. After the article element, let's type in nav, beginning and ending bracket. We'll split those open. The first property is going to be position, and we're going to set this to static. This means we're going to remove the position properties of this element, and then it's going to show up in the order that it appears in the HTML code, which is right before the footer in our HTML file. Let's hit a return.
We're going to set padding next. We're going to set 10 on the top, 0 on the right, 10 on the bottom, and 0 on the left, and a semicolon. Next we're going to set background-color. We're going to set background-color: #515673, same as the background color of the body tag in the footer, and then choose Save. Come back out to the browser. Let's hit Reload. And if we scroll down, we can now see the navigation is showing after all of the content.
So now, with the navigation in the proper place, next we'll style the links to make them look more like mobile navigation links.
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.