Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-26-2005, 06:13 PM   #1
Member (9 bit)
 
super_rip's Avatar
 
Join Date: Sep 2004
Location: ann arbor, michigan
Posts: 308
Send a message via AIM to super_rip Send a message via MSN to super_rip
a few web design questions.

Hey, i'd appreciate it if some of u smarter ppl could tell me how to:

center the text inside a table. I'm using css, and when i put

td {text-align:"center";} the text doesn't even show!

****

and also, how can you put tables inside of tables? i tried it won't work... well, thanks a lot in advanced i'm going to learn php soon as soon as i master html
super_rip is offline   Reply With Quote
Old 05-26-2005, 06:43 PM   #2
Member (7 bit)
 
Join Date: Sep 2003
Location: Edmonton, Alberta, Canada
Posts: 105
to center text in a cell have your td, then align='center' (with double quotes)

Tables in tables can get confusing. One of the best things to do is draw out your tables. You simply put another table tag in the cell that you want to have the second table in. Make sure that you end the tag properly.
If you want a really simple example go to http://www.tdstylestrucking.com , look at the code. The information in the bottom left cell is a table within a table.
Hope this helps.

AJ
Urban Earth is offline   Reply With Quote
Old 05-27-2005, 01:09 AM   #3
Member (8 bit)
 
Join Date: Aug 2003
Location: SoCal
Posts: 178
for CSS you don't need quotation marks, it's just

td {text-align: center;}

And, you may have already heard of this site, but whenever I'm doing some work in CSS and can't remember the exact name of the property or what format the shortcut properties use, I go here:
http://www.w3schools.com/css/css_reference.asp

And the Web Developer Toolbar extension for Firefox is priceless. It allows you to do an enormous number of things, but my favorite is how it lets you edit CSS live, so you can test out ideas with instantaneous results before editing your css file and re-uploadng it.

Last edited by jong2k4; 05-27-2005 at 01:15 AM. Reason: additional info
jong2k4 is offline   Reply With Quote
Old 05-27-2005, 11:14 AM   #4
Member (9 bit)
 
super_rip's Avatar
 
Join Date: Sep 2004
Location: ann arbor, michigan
Posts: 308
Send a message via AIM to super_rip Send a message via MSN to super_rip
thanks!

ty for ur help
super_rip is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:24 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2