I would create container with a width of e.g. 960px and if the screen resolution is lower than this I would media queries to scale down.
Good to hear all your thoughts.
Cheers, guys.
- Microlancer Beta Tester
- Author had a Free File of the Month
- Has been a member for 3-4 years
- Item was Featured
- Author was Featured
- Austria
- Exclusive Author
- Referred between 200 and 499 users
Keep in mind that Opera rounds all width values up to the next integer so width:12.34567% gets width:13%
revaxarts said
Keep in mind that Opera rounds all width values up to the next integer sowidth:12.34567%getswidth:13%
That is not true.
12.34567% becomes 12.35% in Opera 11.60.
- Microlancer Beta Tester
- Author had a Free File of the Month
- Has been a member for 3-4 years
- Item was Featured
- Author was Featured
- Austria
- Exclusive Author
- Referred between 200 and 499 users
P4tient said
revaxarts saidThat is not true.
Keep in mind that Opera rounds all width values up to the next integer sowidth:12.34567%getswidth:13%
12.34567% becomes 12.35% in Opera 11.60.
Oh really? I’ve tested this a while ago on an older version…anyway 12.35% isn’t 12.34567% 
revaxarts saidIs it really a big kind of a problem? In the worst case there’s only a 1px difference.
...anyway 12.35% isn’t 12.34567%![]()
In a way i am a big fan of responsive layout but it’s not for everyone, I prefer to target 3-4 size (media queries) and not target it in %% (and there is really no perfect solution and it more work for the end buyer/user ) .
For example many don’t change the image, instead they just re-size it, and i think it’s a bad practice for mobile ….. But again there are so many ways doing it and i don’t think there is right or wrong just the final outcome.
Also in any platform round numbers are always a preference for me
P4tient said
revaxarts saidIs it really a big kind of a problem? In the worst case there’s only a 1px difference.
...anyway 12.35% isn’t 12.34567%![]()
1px can make or break your layout…
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
digitalimpact said
P4tient said1px can make or break your layout…
revaxarts saidIs it really a big kind of a problem? In the worst case there’s only a 1px difference.
...anyway 12.35% isn’t 12.34567%![]()
Absolutely. Certain versions of IE round differently as well, and it can be nearly impossible to write percentage-based widths that will be rendered consistently cross-browser without using hacks.
Take columns, for example. 1px off and your last column is on the next line. That’s a big deal.
