Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-17-2008, 05:07 PM   PM User | #1
dragon6158
New Coder

 
Join Date: Jan 2008
Posts: 93
Thanks: 30
Thanked 0 Times in 0 Posts
dragon6158 is an unknown quantity at this point
Center justified in colspan in table

If you have a header that spans across multiple columns in a table, is it possible to center the data across those columns? If so, how?

Thanks,
Don
dragon6158 is offline   Reply With Quote
Old 06-17-2008, 05:16 PM   PM User | #2
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
This is an HTML issue rather than a javascript issue.

The table header (th) tag will center the internal content, or you can force centering with CSS styles.
tomws is offline   Reply With Quote
Users who have thanked tomws for this post:
dragon6158 (06-17-2008)
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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 Off

Forum Jump


All times are GMT +1. The time now is 02:22 AM.


Advertisement
Log in to turn off these ads.