WebmasterSite.net
PHP scripts to enable your creativity
Home
Web Scripts
WSN Links
WSN Gallery
WSN Knowledge Base
WSN Forum
WSN Classifieds
WSN Directory
WSN AdUnblocker
WSN FormEmail
WSN InstaChat
WSN Redirector
WSN Webcomic
WSN Guest
Reviews
WSN For WordPress
WSN For Web Designers
Webmaster Resource Links
Register
Log In
Username
Password
Login
Forgot your password?
WSN Support Forums
Paid Scripts Support
Template Question
Template Question
CSS question
Details
Discussion
3
Print
Comments on Template Question
•
liam
Beginner
Usergroup:
Member
Joined:
Nov 28, 2005
Total Topics:
1
Total Comments:
2
•
liam
#1 -
Quote
-
Permalink
Posted Nov 28, 2005 - 2:20 PM:
Hi, this is a really basic question ,, try not to laugh!,, l want to center the .main table that everythings in ,, but howww doya do it!,, do you egit the default css (thats what im using)..
is it this bit?
.main
{
width: 780px;
background: #F7F8F8;
padding: 5px;
margin: 5px;
color: #000000;
border-color: #dbdbdb;
border-style: solid;
border-width: 1px;
}
?? help,, l jast want it to look like the rest of my site!
www.architectureportal.co.uk
Thankyou
•
Paul
developer
Usergroup:
Administrator
Joined:
Dec 20, 2001
Location:
Diamond Springs, California
Total Topics:
61
Total Comments:
7868
•
Paul
#2 -
Quote
-
Permalink
Posted Nov 29, 2005 - 5:25 AM:
align: center I'd think. If not, <div align="center" in the tag works.
•
liam
Beginner
Usergroup:
Member
Joined:
Nov 28, 2005
Total Topics:
1
Total Comments:
2
•
liam
#3 -
Quote
-
Permalink
Posted Nov 29, 2005 - 9:38 AM:
Thanks for the reply,
I did try align: center like this,
.main
{
width: 780px;
align: center;
background: #F7F8F8;
padding: 5px;
margin: 5px;
color: #000000;
border-color: #dbdbdb;
border-style: solid;
border-width: 1px;
}
It didnt work
where should l put <div align="center" ?
Search thread for
Go ►
Download thread as
text
HTML
Go ►
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Template Question
Beginner
Usergroup: Member
Joined: Nov 28, 2005
Total Topics: 1
Total Comments: 2
Hi, this is a really basic question ,, try not to laugh!,, l want to center the .main table that everythings in ,, but howww doya do it!,, do you egit the default css (thats what im using)..
is it this bit?
.main
{
width: 780px;
background: #F7F8F8;
padding: 5px;
margin: 5px;
color: #000000;
border-color: #dbdbdb;
border-style: solid;
border-width: 1px;
}
?? help,, l jast want it to look like the rest of my site!
www.architectureportal.co.uk
Thankyou
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
align: center I'd think. If not, <div align="center" in the tag works.
Beginner
Usergroup: Member
Joined: Nov 28, 2005
Total Topics: 1
Total Comments: 2
Thanks for the reply,
I did try align: center like this,
.main
{
width: 780px;
align: center;
background: #F7F8F8;
padding: 5px;
margin: 5px;
color: #000000;
border-color: #dbdbdb;
border-style: solid;
border-width: 1px;
}
It didnt work
where should l put <div align="center" ?