css screen res
- Started
- Last post
- 11 Responses
- Moo
I've just been having a look at a few sites and was wondering how 1024x760 screen shows a site off in the same way a 1280x980 as the site is wider than 1024 and doesn't show side ways scrolling any ideas??
cheers
m00
- Moo0
bump
- emecks0
overflow:hidden;
??
- blaw0
link?
- Moo0
- detritus0
You need to start from the beginning.
- Moo0
I'm wondering how these sort of sites work with out any side ways srcolling no matter what size your screen is set to
- neverblink0
margin-left: auto;
margin-right: auto;that what you mean?
- flashbender0
check out the "liquid layout" tutorial:
- Moo0
Cheers Flashbender that seems to be the answer
- flashbender0
happy to help. I know there is a way to do it with em instead of px or %, but I have not gone down that road myself, so I don't know how easy/hard it is.
- maximillion_0
have one main div with a fixed width inside the body and place it in the middle of the horzontal with
margin-left: auto;
margin-right: auto;