html - How to set a webpage content to 100% on any screen resolution? -


I am preparing my first webpage I have completed almost all the work but now the problem is in the screen resolution. I am starting to design the screen resolution at 1920x1080p, but when I see it on the 1080x768p screen then the content was lost and overlapping. Now I have set the screen size of my laptop on 1080x768 and set the webpage, but when I changed it back to the right side material in 1920x1080, it meant only in the 1080x768p screen, while I used the following code Have done

Body {width: 100%; Heights: 100%;}

It fills the background images on full screen, while the content does not display on the whole screen, which they do with any help?

You have to add html and body

  html, body { Height: 100%; } / ** Reset body padding ** / body {padding: 0;}  

(100% width is auto)


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -