Doubt about page width, display none and size (MB)

6
  • Is there an ideal width for a web page?
  • When we put an image with display: none , does the image load with the page load or when we click on it?
  • What size (MB) is considered "light" for a site?
  • asked by anonymous 15.01.2016 / 23:30

    1 answer

    2

    1 - Take a look at design responsivo , about width, the ideal is 100% , your page will always have that width, but its content should also have that width to fill all the area:

    width: 100%;
    

    2 - The none no display only hides the element on the page, it loads normally as that page is required.

    3 - There is not an ideal size for a site, as its weight can be for example 40MB , but it does not mean that the client will load all that size and only the page that he is accessing and his deeds.

        
    15.01.2016 / 23:37