I love Views, however im currently using the Marinelli theme and have added some node display views , on my site - have a look at www.sunkendreams.co.uk and notice how the main content doesn;t align correctly on the homepage in height and the columns arent the same width.

Whats causing this to occur?

Thanks in advance!

Comments

luyendao’s picture

The reason why it's doing this is because the layout for the main content via views is using a table, and by default the table cell layout is to be aligned in the middle, instead of top.

If you can find the td {} tag in your style.css and change it to align top, that will fix it. I tested in firefox firebug on your site, and that fixed it.

If you can't find it, just add this to your style.css

table td { vertical-align:top !important; }

That will override any 'td' definitions for vertical alignment.

Hope that helps.

vonny007’s picture

I'll do that straight away, i never considered how views outputted the data!

Thanks :)

luyendao’s picture

Happy to help.

summit’s picture

Hi,
This was still helpfull on Views Drupal 7!
Do you may be also know how this affect only the gridview I am working on?

Greetings, Martijn