Forums

[resolved] Problem with table formation (5 posts)

  1. fuexlein
    Member
    Posted 9 months ago #

    I am desperatly trying to get all text aligned top and left in each cell of my tables. So cells are aligned correctly others dont.

    site with the table is:
    http://yoga-shiatsu.at/feelgood/das-studio/team/

    I am using TinyMCE Advanced to format the table.
    How would i define in the style.css to align top and left for all tables?

    Thank you

  2. Sam Scholfield
    Member
    Posted 9 months ago #

    in themes/hybrid/library/css/21.css line 1,

    remove vertical-align: baseline;

  3. peredur
    Member
    Posted 9 months ago #

    Get rid of the valign attribute from your td elements. It's deprecated and shouldn't be used.

    Add vertical-align: top; to your CSS rule for the td (and th) selector:

    td, th {
      border-bottom: 1px solid #CCCCCC;
      border-right: 1px solid #CCCCCC;
      padding: 3px 6px;
      vertical-align: top;
    }

    Should do it.

    Cheers

    PAE

  4. fuexlein
    Member
    Posted 9 months ago #

    Thank you PAE!

  5. peredur
    Member
    Posted 9 months ago #

    De nada

    PAE

Reply

You must log in to post.

About this Topic