|
I'm doing a search `how can't the results be displayed on one line`
The code looks like this:
<div>
<asp: TextBox ID = "txtsearch" runat = "server" />
<asp: Button ID = "btnsearch" runat = "server" Text = "Search" />
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>
</ div>
My error effect is:
-------------------------------------------------- -------------------
-----------------
| TextBox | Search Popular Searches:
-----------------
-----------------------------
| Top Search Keywords |
-----------------------------
-------------------------------------------------- --------------------
I also used CSS to write `But he ... he ... just can't do it one line` I don't know if it's the wrong way`
Help! |
|