Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 08-08-2007, 01:49 PM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default 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:
Reply With Quote
Unread 08-08-2007, 01:53 PM
doctordew doctordew is offline
Senior Member
Join Date: Aug 2007
Posts: 121
  #2  
Default

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;
}
__________________
Make Money Blog
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:13 PM.


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