This is a migrated thread and some comments may be shown as answers.

Button Positioning Affected by Skins

2 Answers 64 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 2
Ron asked on 02 Aug 2010, 09:30 PM
Hello,

I have a two column setup in the content section of my page using DIVs where the first one is floated to the left and set with a width of 220px and the second one is set with a margin-left of 260px no float.  I have two buttons in the second column that are affected by any telerik skin being applied to them.  Each button for some reason also inherits individually the margin-left of 260px.  So in the second column, I would have the start of the column itself at 260px, the first button at 520px and the second button another 260px from the first (780px).  The skin for the button seems to break apart as well making the button looking bigger than it should be and disconnect from it's right edge.  I have attached a screenshot of how the buttons look when the skin is applied.  I have also attached a picture of when no skins are applied to buttons and you will see that the buttons align as they should.

Any help would be greatly appreciated.

Thanks,
Ron

2 Answers, 1 is accepted

Sort by
0
Ron
Top achievements
Rank 2
answered on 03 Aug 2010, 05:00 PM
Just some additional information, oddly when wrapping the buttons with a <fieldset> tag, they no longer take on the margin settings of the parent DIV.
0
Ron
Top achievements
Rank 2
answered on 04 Aug 2010, 09:04 PM
This has been resolved by simply using "left" versus "margin-left".
Tags
SkinManager
Asked by
Ron
Top achievements
Rank 2
Answers by
Ron
Top achievements
Rank 2
Share this question
or