|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
|
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
|
|
|
|
|
|
#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 |
|
|
|
|
|
#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 |
|
|
|
|
|
#4 |
|
Member (9 bit)
|
thanks!
ty for ur help
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|