•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 402,094 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,417 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 722 | Replies: 6
![]() |
•
•
Join Date: Sep 2007
Posts: 10
Reputation:
Rep Power: 1
Solved Threads: 0
Hello.
My site www.justwantaquote.com
doesnt seem to display in the center of the site.
Its made using xhtml/css using Dreamweaver cs3
How can I center the entire div tags ? The page properties is set to left 0 and top 0.
Please see the site at www.justwantaquote.com
All help is greatly appreciated.
Thank you.
My site www.justwantaquote.com
doesnt seem to display in the center of the site.
Its made using xhtml/css using Dreamweaver cs3
How can I center the entire div tags ? The page properties is set to left 0 and top 0.
Please see the site at www.justwantaquote.com
All help is greatly appreciated.
Thank you.
Hmm, my idea.
Bound this page with any named <div> tag, onto <body>, e.g.
and in .css file set this:
*Width value of your page.
Bound this page with any named <div> tag, onto <body>, e.g.
<body>
<div id="container">
Everything others
</div>
</body>and in .css file set this:
#container {
margin: 0 auto;
width: *px;
}*Width value of your page.
Last edited by lio04 : Mar 20th, 2008 at 6:19 pm.
Jabber: lio04(at)jabbim(dot)sk
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
•
•
Join Date: Sep 2007
Posts: 10
Reputation:
Rep Power: 1
Solved Threads: 0
•
•
•
•
Hmm, my idea.![]()
Bound this page with any named <div> tag, onto <body>, e.g.
<body> <div id="container"> Everything others </div> </body>
and in .css file set this:
#container { margin: 0 auto; width: *px; }
*Width value of your page.
Thanks for the help. But what do you mean by the width? You mean the width of my div tags, or the width that I want the page to be? Basically I want to be able to center the entire site.
Thanks.
lol, I am just really bad in english.
http://img214.imageshack.us/img214/6728/desktop3hi8.png
Here is better image.
http://img214.imageshack.us/img214/6728/desktop3hi8.png
Here is better image.
Last edited by lio04 : Mar 20th, 2008 at 8:59 pm.
Jabber: lio04(at)jabbim(dot)sk
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
•
•
Join Date: Sep 2007
Posts: 10
Reputation:
Rep Power: 1
Solved Threads: 0
•
•
•
•
lol, I am just really bad in english.
http://img214.imageshack.us/img214/6728/desktop3hi8.png
Ok I see what your saying...thanks for the image.
I will try to make those changes....
Thanks a lot. You are Great help!
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the HTML and CSS Forum
- Previous Thread: School Teacher needs help with website
- Next Thread: Need help getting design to be cross browser


Linear Mode