Kevin Champion's Library tagged → View Popular
01 Jul 09
Internet Explorer & CSS issues
-
Got a fixed width website and can't get it to centrally align in the window in Internet Explorer? Or you can get it to centrally align in IE but not in any other browser?
-
The second command,
margin: 0 auto, basically gives our containing element an automatic margin on the left and right, thereby positioning the containing element in the centre of the browser window.
IE however, will need slightly different commands to make this work:
body {
text-align: center
}
#container {
width: 770px;
margin: 0 auto;
text-align: left
}
1 - 1 of 1
Showing 20▼ items per page
Sponsored Links
Ads by Google
Top Contributors
Groups interested in hacks
Related Lists on Diigo
-
Blogger Hacks
Items: 18 | Visits: 70
Created by: Kevin Champion
-
SEA CoBlog
Items: 21 | Visits: 83
Created by: Kevin Champion
-
Buyer's Guide
Items: 8 | Visits: 97
Created by: Kevin Champion
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
