Math for web layout
1920px

1080px

NewsSite.com
Step 1: How wide is the column?
NewsSite.com

?

Find it with a developer tool, like firebug. Lets say ours is 600px wide.
Step 2: How do we get the height?

*hint: it’s algebra

1920px

NewsSite.com

600px

1080px
long side

short side

short side
long side

= decimal < 1
1920px

1080px

1080
1920

=

0.5625
1920px
NewsSite.co

?

1080px

1080
1920

=

0.5625 X

600px = 337.5
1920px

NewsSite.com
600px
337px

1080px

Math for web layout - Image resizing