sourcingsynergy
sourcingsynergy

Reputation: 605

What's a cross-browser way to build 2-fixed-width-columns separated by fluid padding?

Looking to build 2-fixed-width-columns, each width: 320px; and height: 95%;

What's a good way to have them centered on the page, separated by a 15% padding/margin?

Here's the prospective layout:

2-fixed-width-columns, 320px wide, 95% page-height, with 15% in between

Upvotes: 2

Views: 80

Answers (1)

user2578173
user2578173

Reputation:

Are you looking for something like this OP, the only problem I ran into was that I couldn't set the wrapper {width: 100%} I think it needs to be a set width, that isn't 100%. Anyway here is the codepen http://codepen.io/anon/pen/zydKk

Upvotes: 1

Related Questions