Results 1 to 3 of 3

Thread: Setting an html image to aspect ration

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Setting an html image to aspect ration

    I know how to set the aspect ration to a point. However, my dilemma is that I want an image to fit the width of the page/screen but I only want the height to be 400px. So I need to have the image look like normal within those height/width values.
    Blake

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,887

    Re: Setting an html image to aspect ration

    What do you want to happen if the image doesn't "fit"?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: Setting an html image to aspect ration

    I've actually cropped the image a bit and it looks pretty good and probably passable but I want to get it right.
    Blake

Posting Permissions

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



Click Here to Expand Forum to Full Width