Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   CSS and HTML (http://www.udm4.com/forum/forumdisplay.php?f=8)
-   -   centering webpage using css.. (http://www.udm4.com/forum/showthread.php?t=137)

paulj 08-08-2007 01:49 PM

centering webpage using css..
 
cud someone tel me how do i center my webpage using css. The problem s I've used frames, is it possible to center the frameset (page) so dat it looks same on a 17" moniter as wel as 15". One of the queries is similar but I dint quite get it.:confused:

doctordew 08-08-2007 01:53 PM

This may or may not be what you're looking for. It'll center it though.

Code:

body {    background-color: #999999;    font-size:12px;    font-family:Verdana, Arial, Helvetica, sans-serif;
}
div#outer {    width: 80%;    background-color:#FFFFFF;    margin-top: 50px;    margin-bottom: 50px;    margin-left: auto;    margin-right: auto;    padding: 0px;    border: thin solid #000000;
}
div#header {    padding: 15px;    margin: 0px;    text-align: center;
}
div#nav {    width: 25%;    padding: 10px;    margin-top: 1px;    float: left;
}
div#main {    margin-left: 30%;    margin-top: 1px;    padding: 10px;
}
div#footer {    padding: 15px;    margin: 0px;    border-top: thin solid #000000;
}



All times are GMT. The time now is 05:24 AM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.