| |

VerySource

 Forgot password?
 Register
Search
Author: ggggex

Can't `Can't be overwhelmed ... Why! Why! Why!

[Copy link]

4

Threads

24

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

 Author| Post time: 2020-7-15 14:30:01
| Show all posts
pronice

The method tried. The problem remains
Reply

Use magic Report

0

Threads

21

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-7-15 15:15:01
| Show all posts
sorry
Replace DataList with Reapter

<asp:Repeater id="Repeater1" runat="server">
Reply

Use magic Report

0

Threads

21

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-7-15 15:45:01
| Show all posts
Isn't that what you want?

<style>
.c1{
The
}

.c1 ul{
float:right;
list-style-type:none;
padding:0px;
margin:0px;
width:50%;
The
}

.c1 li{
float:left;
width:25%;
}
</style>
<div class="c1">
<ul>
<li>Keyword 1</li>
<li>Keyword 2</li>
<li>Keyword 3</li>
<li>Keyword 4</li>
<li>Keyword 5</li>
</ul>
<input type="text"><button>Search</button> Popular searches:

</div>
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 China

Post time: 2020-7-15 16:30:01
| Show all posts
<div>
<table border=0 cellpadding=0 cellspacing=0><tr>
<td><asp:TextBox ID="txtsearch" runat="server"/>&nbsp;&nbsp;</td>
<td><asp:Button ID="btnsearch" runat="server" Text="Search"/></td>
<td nowrap>
  popular searches:
  <asp:DataList ID="DataList5" runat="server" RepeatColumns="4"
      RepeatDirection="Vertical" DataSourceID="SqlDataSource5">
      <ItemTemplate><asp:Label ID="KeyWordLabel" runat="server"
          Text='<%# Eval("KeyWord") %>' /></ItemTemplate>
  </asp:DataList>
</td>
</tr></table>
</div>
Reply

Use magic Report

4

Threads

24

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

 Author| Post time: 2020-7-15 17:15:01
| Show all posts
Thank youpronice

Problem solving`
Reply

Use magic Report

0

Threads

21

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-7-15 17:45:01
| Show all posts
DataList generates a table nowrap and it doesn't work
Using repeater will not generate a table, the format can be set at will
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 China

Post time: 2020-7-15 18:15:01
| Show all posts
DataList generates a table nowrap and it doesn't work
Using repeater will not generate a table, the format can be set at will
————————————————————————————————————————————
The landlord’s line breaks are generated by DataList at all, and there are no line breaks within the “Top Search Keywords”!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list