www.webdeveloper.com
Results 1 to 5 of 5

Thread: Images as links .....?

  1. #1
    Join Date
    Feb 2012
    Posts
    264

    Images as links .....?

    My website (www.eduardlid.net) is almost finished, but Ive problems with the images of the 3 links!
    I want to have the 2 images (on the left side!) similar as width and height. I assume that Ive to make the 2 images in px similar. But can I do that with the standard programms of Windows (I dont have the privilege to install programms on this computer!) aswell as for the (3rd) image of the link on the right side?
    Do Ive to change aswell the html - as css file?

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    You can define the size of the images in your CSS. This will not make the images actually bigger or smaller. It just resizes the images to what size you define them to be. If you take a huge image and make it really small, it will still load the whole image and thus take a long time to load. If you take a smaller image and make it bigger, it will look pixelated.

  3. #3
    Join Date
    Apr 2010
    Posts
    227
    Defining sizes in CSS is best only ever done with either just width or just height (what ever fits your layout best)

    This way while the width or height thats unspecified with auto scale it prevents images being distorted should the actual ratios differ from CSS assigned.

    Now, developers with a budgets best tool and friend is a free image tool similar to adode photoshop.

    called.

    GIMP.

    ps: Surely you need permissions on your own pc!

  4. #4
    Join Date
    Feb 2012
    Posts
    264

    Images of links .....

    Quote Originally Posted by spufi View Post
    You can define the size of the images in your CSS. This will not make the images actually bigger or smaller. It just resizes the images to what size you define them to be. If you take a huge image and make it really small, it will still load the whole image and thus take a long time to load. If you take a smaller image and make it bigger, it will look pixelated.
    Ok, many thanks!

  5. #5
    Join Date
    Nov 2002
    Posts
    2,632
    Quote Originally Posted by Belrick View Post
    ps: Surely you need permissions on your own pc!
    It's not their PC.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles