Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
>
Web Design Forum
>
HTML / CSS
css align tables
User Name
Remember Me?
Password
Register
FAQ
Search
Latest Posts
Mark Forums Read
LinkBack
Thread Tools
Search this Thread
Display Modes
08-17-2005, 08:22 PM
#
1
(
permalink
)
twenty1
Member
Join Date: Aug 2005
Posts: 34
css align tables
How to use CSS to center the table?
//html
<div align="center">
<table>
<tr>
<td>content goes here
</td>
</tr>
</table>
</div>
Also how to center the table and keep the text aligned to the (default) left
thanks..
twenty1
View Public Profile
Send a private message to twenty1
Find More Posts by twenty1
Sponsored Links
08-19-2005, 06:05 PM
#
2
(
permalink
)
econ
Junior Member
Join Date: Jun 2005
Posts: 28
Give this a try:
PHP Code:
<
table style
=
"margin: 0 auto;"
>
econ
View Public Profile
Send a private message to econ
Find More Posts by econ
«
Previous Thread
|
Next Thread
»
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00
» Sponsors
» Links
» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers
» Links
» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum
All times are GMT -4. The time now is
04:55 AM
.
Contact Us
-
WebMaster Forums
-
Archive
-
Privacy Statement
-
Top
LinkBacks Enabled by
vBSEO
3.0.0 RC8
Webmaster Forums
LinkBack
LinkBack URL
About LinkBacks