Solved

Full Width of Screen Image

Posted on 2014-03-10
2
208 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now