Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

css header rezie

Options
  • 05-05-2011 10:35am
    #1
    Registered Users Posts: 287 ✭✭


    can u resize a header image in css think it using %


Comments

  • Registered Users Posts: 10,245 ✭✭✭✭Fanny Cradock


    It depend on what you mean by resize ;) See here for more.

    Personally, I'm not sure why you would want to resize with css. Firstly, you might run into problems with image constraints. In other words, if you alter the image it might distort and becomes horizontally stretched, vertically squished or just look terrible at larger sizes. Secondly, if your image is 100 kb file and you want to resize the image it down to a smaller image size via css it will remain a 100 kb file. This impacts page load time.

    Unless you need to resize via css for some specific reason, I would generally say that it is not the way to go. Just resize the image in a program like Photoshop or Gimp (it's free).


Advertisement