2123 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 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?

2123 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 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?

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
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.

2123 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 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

2123 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 more
revaxarts says

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by