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.
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!
Subreddit
Post Details
- Posted
- 8 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/cheatatmath...