• Resolved drain247

    (@drain247)


    I have tested my site https://www.drain247.co.uk on GTMetrix and no matter what I do to try and correct the errors I have been shown it still comes up with the same errors (click link below).

    GTMtrix Errors

    Can anybody help me with the errors

    Specify Image Dimensions
    Combine Images Using CSS Sprites

    Many thanks for anyone that can assist me in resolving my issue

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi. The first error means that you need to add dimension tags to your images i.e.

    <img src=”src/to/img” width=”100″ height=”100″ />

    The second one means that you need to combine several images into a single one and then use CSS to display individual portions of that image.

    For instance you if you have a 200×100 image that has two images in it you could use the background-position property to display them on your page.

    Thread Starter drain247

    (@drain247)

    Problem fixed. Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘GTMetrix errors’ is closed to new replies.