If there's anyone that can help, I'd appreciate any suggestions with this issue: I created my site with an elastic layout, using all measurements in ems. However, the layout gets distorted when a user zooms in or out. The nav bar gets completely messed up, and on firefox when the option "zoom text only" is checked off, the entire site gets messed up.
Anyone have any idea what can be the problem? The url to the site is www.newstylesignsusa.com
suavedesign 0 Junior Poster in Training
Recommended Answers
Jump to PostUse percentages, not ems (except as max-width or min-width).
Jump to PostYou do not, indeed cannot, know the width of your viewers' browser windows.
One viewer may have a window that it 20 ems wide; another may be 100 ems.
If you want to have 5 objects side by side across the entire browser window, you need to give …
Jump to PostI haven't had a monitor as narrow as 1024 for more than 8 years! Pages that narrow look silly, particularly on my current 1920px monitor.
I always use fluid designs that fit whatever width the viewer uses.
Jump to PostThat is my point. There are people using browser windows (screen resolution is irrelevant) of all sizes. Designing for one size doesn't work. Use a fluid design that works for everyone.
The original problem is solved by using a flexible design.
Jump to Postcfajohnson:
The percentage is relative to the entire browser, or the element that is containing it? (I.e. An element inside a main wrapper div is 20% of the entire browser, or 20% of main wrapper div?)
Thanksnested divs are relative to the closest outer div only, i believe.
All 21 Replies
cfajohnson 7 Shell scripter and author
suavedesign 0 Junior Poster in Training
teedoff 3 Posting Pro
suavedesign 0 Junior Poster in Training
teedoff 3 Posting Pro
cfajohnson 7 Shell scripter and author
teedoff 3 Posting Pro
cfajohnson 7 Shell scripter and author
teedoff 3 Posting Pro
cfajohnson 7 Shell scripter and author
suavedesign 0 Junior Poster in Training
suavedesign 0 Junior Poster in Training
JRM 107 Practically a Master Poster
teedoff 3 Posting Pro
suavedesign 0 Junior Poster in Training
almostbob 866 Retired: passive income ROCKS
suavedesign 0 Junior Poster in Training
almostbob 866 Retired: passive income ROCKS
cfajohnson 7 Shell scripter and author
almostbob commented: amazing, conflicts with every resource -1
almostbob 866 Retired: passive income ROCKS
cfajohnson 7 Shell scripter and author
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.