Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

css header rezie

  • 05-05-2011 10:35AM
    #1
    Registered Users, Registered Users 2 Posts: 287 ✭✭


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


Comments

  • Registered Users, Registered Users 2 Posts: 10,240 ✭✭✭✭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