BulletedList and width
am 22.04.2008 20:27:50 von David C
I have a BulletedList control that is bound to a SQL table and it displays
fine. However, when I set the width property to 450px the bullets
disappear. Does anyone know why? Thanks. My sample control is below.
David
DataSourceID="SqlRepairStageTasks"
DataTextField="StageTask" DataValueField="StageNumber">
ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
SelectCommand="SELECT [StageNumber], [StageTask] FROM
[RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
[TaskSequence]">
Name="StageNumber" PropertyName="Text" Type="Int32" />
Re: BulletedList and width
am 23.04.2008 20:48:37 von wisccal
Hi David,
Can you post your CSS code? Without it, it's kind of hard to figure
out what's going wrong.
===========
Regards,
Steve
www.stkomp.com
David C wrote:
> I have a BulletedList control that is bound to a SQL table and it displays
> fine. However, when I set the width property to 450px the bullets
> disappear. Does anyone know why? Thanks. My sample control is below.
>
> David
>
>
> DataSourceID="SqlRepairStageTasks"
> DataTextField="StageTask" DataValueField="StageNumber">
>
>
> ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
> SelectCommand="SELECT [StageNumber], [StageTask] FROM
> [RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
> [TaskSequence]">
>
>
> Name="StageNumber" PropertyName="Text" Type="Int32" />
>
>
>
Re: BulletedList and width
am 23.04.2008 21:50:31 von David C
Below is CSS
body
{
background-color: #CCCCCC;
font-size: 10pt;
font-family: Arial;
}
..Show { visibility: visible; display: inline; }
..Hide { visibility: hidden; display: none; }
..ClsForm { left: 400px; position: absolute; top: 120px; }
..LabelBold { font-weight: bold; font-size: 10pt; color: black; height: 12pt;
vertical-align: bottom; padding-top: 5px; }
..PropForm { font-family: Arial; font-size: 10pt; color: Black; }
..ReadText { font-family: Arial; font-size: 10pt; color:Maroon; }
..gvHead { text-align: center;}
wrote in message
news:df1442ed-b4d3-4290-ada9-4888cc6aae6f@w7g2000hsa.googleg roups.com...
> Hi David,
>
> Can you post your CSS code? Without it, it's kind of hard to figure
> out what's going wrong.
>
> ===========
> Regards,
> Steve
> www.stkomp.com
>
> David C wrote:
>> I have a BulletedList control that is bound to a SQL table and it
>> displays
>> fine. However, when I set the width property to 450px the bullets
>> disappear. Does anyone know why? Thanks. My sample control is below.
>>
>> David
>>
>>
>> DataSourceID="SqlRepairStageTasks"
>> DataTextField="StageTask"
>> DataValueField="StageNumber">
>>
>>
>> ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
>> SelectCommand="SELECT [StageNumber], [StageTask] FROM
>> [RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
>> [TaskSequence]">
>>
>>
>> Name="StageNumber" PropertyName="Text" Type="Int32" />
>>
>>
>>
Re: BulletedList and width
am 24.04.2008 08:29:21 von wisccal
Hi David,
Instead of setting the Width property, try setting both width and left
padding. Something like Style="width:450px;padding-left:20px". For an
explanation, you can go to http://www.quirksmode.org/bugreports/archives/2004/11/width_ on_olul.html.
=============
Regards,
Steve
www.stkomp.com
On Apr 23, 9:50 pm, "David C" wrote:
> Below is CSS
>
> body
> {
> background-color: #CCCCCC;
> font-size: 10pt;
> font-family: Arial;
>
> }
>
> .Show { visibility: visible; display: inline; }
>
> .Hide { visibility: hidden; display: none; }
> .ClsForm { left: 400px; position: absolute; top: 120px; }
> .LabelBold { font-weight: bold; font-size: 10pt; color: black; height: 12pt;
> vertical-align: bottom; padding-top: 5px; }
> .PropForm { font-family: Arial; font-size: 10pt; color: Black; }
> .ReadText { font-family: Arial; font-size: 10pt; color:Maroon; }
> .gvHead { text-align: center;} wrote in message
>
> news:df1442ed-b4d3-4290-ada9-4888cc6aae6f@w7g2000hsa.googleg roups.com...
>
> > Hi David,
>
> > Can you post your CSS code? Without it, it's kind of hard to figure
> > out what's going wrong.
>
> > ===========
> > Regards,
> > Steve
> >www.stkomp.com
>
> > David C wrote:
> >> I have a BulletedList control that is bound to a SQL table and it
> >> displays
> >> fine. However, when I set the width property to 450px the bullets
> >> disappear. Does anyone know why? Thanks. My sample control is below.
>
> >> David
> >>
> >>
> >> DataSourceID="SqlRepairStageTasks"
> >> DataTextField="StageTask"
> >> DataValueField="StageNumber">
> >>
> >>
> >> ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
> >> SelectCommand="SELECT [StageNumber], [StageTask] FROM
> >> [RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
> >> [TaskSequence]">
> >>
> >>
> >> Name="StageNumber" PropertyName="Text" Type="Int32" />
> >>
> >>
> >>