Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

docmd.close 2585, WWWXXXAPC, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text, how to setup procmail html2text, WWWXXXAPC., XXXCNZZZ

Links

XODOX
Impressum

#1: BulletedList and width

Posted on 2008-04-22 20:27:50 by 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
<div id="tasklist" class="Show">
<asp:BulletedList ID="BLstStageTasks" runat="server"
DataSourceID="SqlRepairStageTasks"
DataTextField="StageTask" DataValueField="StageNumber">
</asp:BulletedList>
<asp:SqlDataSource ID="SqlRepairStageTasks" runat="server"
ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
SelectCommand="SELECT [StageNumber], [StageTask] FROM
[RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
[TaskSequence]">
<SelectParameters>
<asp:ControlParameter ControlID="txtStagePicked"
Name="StageNumber" PropertyName="Text" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
</div>

Report this message

#2: Re: BulletedList and width

Posted on 2008-04-23 20:48:37 by 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
> <div id="tasklist" class="Show">
> <asp:BulletedList ID="BLstStageTasks" runat="server"
> DataSourceID="SqlRepairStageTasks"
> DataTextField="StageTask" DataValueField="StageNumber">
> </asp:BulletedList>
> <asp:SqlDataSource ID="SqlRepairStageTasks" runat="server"
> ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
> SelectCommand="SELECT [StageNumber], [StageTask] FROM
> [RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
> [TaskSequence]">
> <SelectParameters>
> <asp:ControlParameter ControlID="txtStagePicked"
> Name="StageNumber" PropertyName="Text" Type="Int32" />
> </SelectParameters>
> </asp:SqlDataSource>
> </div>

Report this message

#3: Re: BulletedList and width

Posted on 2008-04-23 21:50:31 by 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;}
<wisccal@googlemail.com> 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
>> <div id="tasklist" class="Show">
>> <asp:BulletedList ID="BLstStageTasks" runat="server"
>> DataSourceID="SqlRepairStageTasks"
>> DataTextField="StageTask"
>> DataValueField="StageNumber">
>> </asp:BulletedList>
>> <asp:SqlDataSource ID="SqlRepairStageTasks" runat="server"
>> ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
>> SelectCommand="SELECT [StageNumber], [StageTask] FROM
>> [RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
>> [TaskSequence]">
>> <SelectParameters>
>> <asp:ControlParameter ControlID="txtStagePicked"
>> Name="StageNumber" PropertyName="Text" Type="Int32" />
>> </SelectParameters>
>> </asp:SqlDataSource>
>> </div>

Report this message

#4: Re: BulletedList and width

Posted on 2008-04-24 08:29:21 by 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" <dlch...@lifetimeinc.com> 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;}<wisc...@googlemail.com> 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
> >> <div id="tasklist" class="Show">
> >> <asp:BulletedList ID="BLstStageTasks" runat="server"
> >> DataSourceID="SqlRepairStageTasks"
> >> DataTextField="StageTask"
> >> DataValueField="StageNumber">
> >> </asp:BulletedList>
> >> <asp:SqlDataSource ID="SqlRepairStageTasks" runat="server"
> >> ConnectionString="<%$ ConnectionStrings:MConnectionString %>"
> >> SelectCommand="SELECT [StageNumber], [StageTask] FROM
> >> [RepairStageTasks] WHERE ([StageNumber] = @StageNumber) ORDER BY
> >> [TaskSequence]">
> >> <SelectParameters>
> >> <asp:ControlParameter ControlID="txtStagePicked"
> >> Name="StageNumber" PropertyName="Text" Type="Int32" />
> >> </SelectParameters>
> >> </asp:SqlDataSource>
> >> </div>

Report this message