2024 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Envato Studio (Microlancer) Beta Tester
+3 more
revaxarts says

I was building a layout based on the 906 Grid System. I like the fixed (px) version but would like to go with the fluid (%) version and wrap a fix sized div around it.

The problem is that this doesn’t work on all browsers:
  • FF 7 : works
  • IE6 – 9: works
  • Chrome: sucks
  • Safari: sucks
  • iPad/iPhone: sucks
  • Opera: sucks

To see what I mean i made a small page. Click the switch button to change to relative. It should look the same but doesn’t :(

Any ideas on that?

2024 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Envato Studio (Microlancer) Beta Tester
+3 more
revaxarts says
xstortionist said
because the percentages are not as accurate as pixel dimensions.

50% of 10 pixel are 5 pixel. Accurate enough?

FF and IE respect this why not the others?

2440 posts
  • Has been a member for 5-6 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Envato Studio (Microlancer) Beta Tester
digitalimpact says

I’m on FF7 Win7 and for me the PX version is a little bigger than the % one (I guess that’s your problem). Same thing on IE9 … Have no idea why, but just thought I’d let you know.

2024 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Envato Studio (Microlancer) Beta Tester
+3 more
revaxarts says
digitalimpact said
I’m on FF7 Win7 and for me the PX version is a little bigger than the % one (I guess that’s your problem). Same thing on IE9 … Have no idea why, but just thought I’d let you know.

No, this is not the problem. I’m talking about the webkit browsers which render this wrong.

I know there is no half pixel so the difference on FF is immaterial

2024 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Envato Studio (Microlancer) Beta Tester
+3 more
revaxarts says
by
by
by
by
by
by