iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Latest Development Blogs
Browse By Tag
Why padding not work on Mozilla. Padding works for headers. But not for rows or alternate rows.
<HeaderStyle Font-Names="sans-serif" Font-Size="8pt" Height="0px" Padding-Left="4px"> </HeaderStyle><RowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8pt" Padding-Left="4px"></RowStyle>
Am using WebGrid 7.0 with SP1 applied. Also i put AllowDefaultStyleMerging="true".
I know that by putting CustomRules="padding-left:4px!important", the padding shall work. But i would like to know if thats the only possible solution?
The padding for cell seems like controlled by other properties in the Grid (for easy customization), such as CellPaddingDefault and CellSpacingDefault in LayoutSettings. However, this setting would certainly change all the padding sides consistently, and not only the left padding.
To change only specific side of padding, using your approach that use !important mark should be allright.
Just as James explained, in order to modify the left padding usingthe row style you will need to use CustomRules property and !important.
Forgot your password | Sign up
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname
Already a member? Sign in