Solved

Full Width of Screen Image

Posted on 2014-03-10
2
212 Views
Last Modified: 2014-03-26
How do you do a full screen width image in HTML 5 CSS3?  I am trying to achieve a similar look to the http://www.teslamotors.com website.  I noticed that there is no gap/small space between the image where the car is and the edge of the screen.  So how can I achieve this look?  Thanks!
0
Comment
Question by:VBBRett
2 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39919803
On that site, they simply have width=100%; on the "hero" div.

HTH,
Dan
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39919890
The image with the car is 1728 pixels wide.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question