PDA

View Full Version : table width nhảy loạn xạ trong FF



rockbk
07-05-2009, 13:17
Hi các bác đây là code của em

<table style="width:588px; height:52px; background:url(./Images/search_background.png);">

<tr style="float:left; width:588; height:52px">
<td class="style2"> <span style="font-size:medium; float:left; padding-left:5px; font-weight: bold; font:arial; font-size:11pt">Chuyên mục:
</span>
<br />
<span style="float:left; padding-left:5px;">
<asp:DropDownList runat="server" Width="140px" ID="drpMasterCategory" />
</span>
</td>
<td class="style4"> <span style="font-size:medium; font-weight: bold; float:left;font:arial; font-size:11pt">Từ khóa:</span>
<br />
<asp:TextBox runat="server" ID="txtSearch" ValidationGroup="frist"
style="margin-left:0px; Width:140px" />

</td>

<td>
<asp:RadioButtonList runat="server" ID="radSearch" RepeatDirection="horizontal"
style="float:left; margin-left:-" />
</td>

<td>
<br />
<asp:ImageButton runat="server" style="margin-top:-10px" ImageUrl="~/Images/search_icon.png" ID="btnSearch1" OnClick="btnSearch_Click" ValidationGroup="frist" />


</tr>
<asp:RequiredFieldValidator ID="checkKeyword" ValidationGroup="frist" runat="server" ControlToValidate="txtSearch" ErrorMessage="Bạn chưa nhập từ khóa" />
</table>

trên IE thì nó chạy okie , còn trên firefox ko hiểu sao nó chạy chập chờn lúc okie lúc ko . Dùng Inspect Element của FF check thì nó ra như hình sau
[img=http://img154.imageshack.us/img154/1450/84188983.jpg] (http://img154.imageshack.us/my.php?image=84188983.jpg)
img=http://img154.imageshack.us/img154/1450/84188983.jpg

các bác có kinh nghiệm giúp minh phát , thanks

nnanh01
07-05-2009, 16:21
Bấy nhiêu thì chịu! Gửi link của web lên để xem còn biết đc chứ thế này không tìm đc.