Jump to content

Changing vertical alignment of tables


Recommended Posts

I'm using a table in my long description section for the products pages but am having trouble trying to align the text to the top instead of center. I've had a look in global.css and in products.css but can't find the section I need to change to achieve this. Have a look here to see the problem: http://www.thelearningemporium.co.uk/shop/numeracy/16-city-of-zombies.html?search_query=zombies&results=5

 

So instead of vertically aligning to the center I want it to vertically align to the top. Any help is much appreciated.

 

Thanks,

 

Stuart

Link to comment
Share on other sites

Thanks for the help. I ended up taking the style 'vertical align: top' and adding it to the responsive-tables.css file. So that instead of

 

table td, table th { padding: 9px 10px; text-align: left; }

 

it now reads

 

table td, table th { padding: 9px 10px; text-align: left; vertical-align: top; }

 

Works perfectly for anyone looking to achieve the same.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...