I have set up a simple shopping cart using views and pay pal and wanted to get a little cleaner look.

I have views using 2 rows and wanted to know if there is a way to get the tables all the same size. if you check out the page you will see the products listed but each one is in a different sized table. Not sure if table is the correct term but this link will show you what I am writing about.

http://hoosierlacrosse.com/shop

I would love a cleaner look and any help would be appreciated.

Comments

vm’s picture

perhaps something like http://drupal.org/project/equalheights ... though one should double check that a similar feature isn't already available in views.module in the grid style settings.

ergunk’s picture

All DIVs in page uses same class names, you should assign a special class for the DIV that shows product; then you can set the height with CSS. And/or you can add "vertical-align: top;" style to the containing TD to make them align top.


Mediasaur | http://www.mediasaur.com/en | http://twitter.com/mediasaur


Before asking for help, please read this http://slash7.com/2006/12/22/vampires/ and don't be a "Help Vampire". :)
hoosierlacrosse’s picture

Thanks! Where would I put that class?

ergunk’s picture

It seems you changed your views settings after my reply, i can't see wrapper DIVs anymore.

If you are asking about where and how to put to CSS code to make TD contents vertically aligned top; you could add this to your CSS file(style.css or another one):

td.views-view-grid {
vertical-align: top;
}

or

.views-view-grid td {
vertical-align: top;
}


Mediasaur | http://www.mediasaur.com/en | http://twitter.com/mediasaur


Before asking for help, please read this http://slash7.com/2006/12/22/vampires/ and don't be a "Help Vampire". :)
hoosierlacrosse’s picture

sağ olun! The second option worked nicely.

ergunk’s picture

Rica ederim(you're welcome). :)


Mediasaur | http://www.mediasaur.com/en | http://twitter.com/mediasaur


Before asking for help, please read this http://slash7.com/2006/12/22/vampires/ and don't be a "Help Vampire". :)