Is it possible to control Vertical alignment as well as horizontal alignment?
Specifically would like to control on Grid headers.
Thanks!
Vertical Alignment
-
- Profound User
- Posts: 35
- Joined: Mon Feb 20, 2012 6:45 pm
- First Name: Brian
- Last Name: Luttman
- Company Name: BEPCO, Inc.
- Contact:
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Vertical Alignment
Typically vertical alignment is handled by the placement of the widget. As for the Grid Headers, they are centered vertically by default. I assume you would like to override this behavior.
If so, you will need to override this behavior in a custom css file. You would need to set the vertical-align property to something other than middle. This is set on each grid type so for example, if you wanted to override this to be top aligned for the Simple Grid your custom CSS file would contain the following:
If so, you will need to override this behavior in a custom css file. You would need to set the vertical-align property to something other than middle. This is set on each grid type so for example, if you wanted to override this to be top aligned for the Simple Grid your custom CSS file would contain the following:
Code: Select all
.simple-grid .header-cell {
vertical-align: top;
}
-
- Profound User
- Posts: 35
- Joined: Mon Feb 20, 2012 6:45 pm
- First Name: Brian
- Last Name: Luttman
- Company Name: BEPCO, Inc.
- Contact:
Re: Vertical Alignment
OK, but it doesn't appear I can do multiple CSS classes on the grid properties-misc?
Thanks!
Thanks!
-
- Profound User
- Posts: 35
- Joined: Mon Feb 20, 2012 6:45 pm
- First Name: Brian
- Last Name: Luttman
- Company Name: BEPCO, Inc.
- Contact:
Re: Vertical Alignment
I can see now where it is effecting the screen in the external css properties.
However, it is not able to override what is at the "element.style {" level.
Forgive me if I'm not clear. I'm a novice at this css stuff! ;-)
However, it is not able to override what is at the "element.style {" level.
Forgive me if I'm not clear. I'm a novice at this css stuff! ;-)
-
- Profound User
- Posts: 35
- Joined: Mon Feb 20, 2012 6:45 pm
- First Name: Brian
- Last Name: Luttman
- Company Name: BEPCO, Inc.
- Contact:
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Vertical Alignment
Great. Glad I could help.
Who is online
Users browsing this forum: No registered users and 5 guests