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

div width 100% in window causes horizontal scroll bar to appear

1 Answer 115 Views
Window
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 27 Feb 2009, 04:10 AM
As the subjext shows, when I have a RadWindow open and am using
<div style="width:100%; background-color:red">some strange text</div>

the header bar appears as expected except for the fact that there is about 1/2 an inch of horizontal scroll.  How do I eliminate this?

1 Answer, 1 is accepted

Sort by
0
Chase Florell
Top achievements
Rank 1
answered on 27 Feb 2009, 06:31 AM
Nevermind.. it's my own stupid fault.

Padding-Left (+) Width (+) Padding-Right (=) Actual Width
Tags
Window
Asked by
Chase Florell
Top achievements
Rank 1
Answers by
Chase Florell
Top achievements
Rank 1
Share this question
or