Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
[Algebra] Solve for 3 variables where each is a whole number
Post Flair (click to view more posts with a particular flair)
Author Summary
joe-ducreux is in Algebra
Post Body

While I'm pretty good at programming, I have always been terrible at math.

I'm trying to figure out the best dimensions to create a main image on a website. Under the main image, there will either be a row of 3 or 4 smaller images, depending on the page. There will be 20px of padding between each image (but not on the left of the first image or the right of the last image; making them flush with the main image)

This is the equation I've come up with so far (the 40 and 60 below represent the total padding for the images):

(x - 40) / 3 = y

(x - 60) / 4 = z

Solve for x, y, & z where each are whole numbers.

Ideally I'm looking for an "x" value of approx. 1000px, can be more or less though.

Any help would be appreciated!

Author
Account Strength
0%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
67,358
Link Karma
9,149
Comment Karma
58,075
Profile updated: 8 months ago
Posts updated: 2 years ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago