View Single Post
Old 08-09-2017, 07:54 PM   #32
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by Tex2002ans View Post
Under each Width, there are 3 images:
  • orig
  • kf7px##
    • This is resized height/width with exact px
      • Example: 80% -> 1000x200 = 800px x 160px
  • kf8pc##
    • Just the width is resized to a given percent.
I'm confused (as usual). I thought that when you specify say width="80%" it refers to the width of the display, not the width of the image. But it looks like when you calculate the pixel dimensions, you are using a percentage of the image dimensions. Thus if the screen is 600 px wide, shouldn't you want width="480" for 80%?



Albert
st_albert is offline   Reply With Quote