Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS website looks different on some other computers Re: website looks different on some other computers

#116083
tbwiii
Participant

You’ll probably want to put the rule “postion: relative” in there too. Like so

.page-wrap {
width: 960px;
margin: 0 auto;
position: relative;
}

That way, anything that is absolutely positioned will stay inside your wrapper.

If you are wanting to move away from an absolutely positioned-based layout, take a look at using css floats.

Here are some resources :

[ “Siz Keys to Understanding CSS Layouts”](http://snook.ca/archives/html_and_css/six_keys_to_understanding_css_layouts “Siz Keys to Understanding CSS Layouts”)

[CSS Float Theories](http://coding.smashingmagazine.com/2007/05/01/css-float-theory-things-you-should-know/ “CSS Float Theories”)