Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2008
    Posts
    93
    Thanks
    30
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    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.

  • Users who have thanked tomws for this post:

    dragon6158 (06-17-2008)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •