Jump to content
Sign in to follow this  
james341

Website width for best result - different screen size

Recommended Posts

james341

i'm building up a new site for my college course and i want to know what is the best width to use for the site . i know theres a lot of different screen sizes from 10 to 27 - so how can we make the size to be perfect for all screen sizes? i know theres some option to make the site to auto resize it self accordingly to the screen size you use. even on my 15' macbook pro i see there's a problem with the menus when you open it up in google chrome and with firefox chrome - the menu is O.k Screen%20shot%202010-12-31%20at%2012.04.40%20PM.png firefox - the menu problem Screen%20shot%202010-12-31%20at%2012.05.18%20PM.png

Share this post


Link to post
Share on other sites
cmunns

What's your CSS look like? Untouched? You could do something like this to make sure that your nav is always 100% and equally spaced between items, however it will cause a weird effect on longer nav names ` #primary-nav ul.main-nav.nosearch {width:100%;} #primary-nav ul.main-nav li {width:11.1111%;text-align:center;} ` The alternative is to just adjust the padding so that it doesn't wrap on bigger screens...and of course a more involved soluton http://particletree.com/features/dynamic-resolution-dependent-layouts/

Share this post


Link to post
Share on other sites
james341

you are right about the coding you gave me - weird effect on longer nav names i have. what do you mean adjust the paddings ?

Share this post


Link to post
Share on other sites
catrina

Adjusting the paddings means changing the padding numbers (i.e. padding-left: 3px to padding-left: 2px;) so that the navigation fits the screen.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×