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 Post— cfajohnson 7Use percentages, not ems (except as max-width or min-width).
Jump to Post— teedoff 3Try adding min-width: 1000px to your body style rule. That might be a quick fix, but you should look into using some percentages instead of ems.
Here is a great site with …
Jump to Post— teedoff 3The 1000px min-width had no effect. Any other suggestions? Which elements should I change to percentages?
Hmmm it did when I tried it.
Did you replace the width:100%; on the body tag with min-width: 1000px;? I just tried it again and it works. When I resize the browser and …
Jump to Post— cfajohnson 7You 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 Post— teedoff 3Thats why a standard practice is to design pages around 960 or 1024 that will accomodate MOST browsers and users screen resolutions.
Of course you can set your page to be 100% of whatever the users screen is set at, but if you dont design whats INSIDE that 100% …
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.