Hello,

I discovered Display Suite and I am really amazed of the possibilities. Still learning.

One simple question - In the Field display, how do I enter the div code for "vertical align - middle"?

I figured out the horizontal align: div align= center

But the vertical gives me quite a headache. some help?

Comments

swentel’s picture

Assigned: Unassigned » jyve
jyve’s picture

Status: Active » Fixed

Hi,

there is no HTML code for vertical align. You will have to add a class to your div and then handle your vertical align in your CSS.

Vertical alignment in a div is quite tricky by the way, you will have to Google around a bit to find a cross-browser solution for this.

viktor.mastoridis’s picture

I understand. Thanks for the hand - I'll see if I can manage.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.