ZeroShade Posted May 17, 2007 Share Posted May 17, 2007 I have a label inside an itemtemplate which is inside a datalist and i styled everything inside a div. It looks good in IE but Firefox doesn't do a good job with asp. Any suggestions or hacks anybody knows about? Link to comment Share on other sites More sharing options...
aspnetguy Posted May 17, 2007 Share Posted May 17, 2007 First off it sounds like you are talking about ASP.Net not ASP and we need to see your code (.aspx and any related CSS files) Link to comment Share on other sites More sharing options...
ZeroShade Posted May 17, 2007 Author Share Posted May 17, 2007 First off it sounds like you are talking about ASP.Net not ASP and we need to see your code (.aspx and any related CSS files) <div id="title"> <asp:DataList ID="TopicDataList" runat="server" DataKeyField="DiscussionId" DataSourceID="DiscussionObjectDataSource"> <ItemTemplate> <asp:Label ID="DiscussionTopicLabel" runat="server" Text='<%# Eval("DiscussionTopic") %>'> </asp:Label> - Threads </ItemTemplate> </asp:DataList> <div id="postsPerPage"> <br />Posts Per Page: <asp:DropDownList ID="PostsPerPageDropDownList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="PostsPerPageDropDownList_SelectedIndexChanged"> <asp:ListItem>1</asp:ListItem> <asp:ListItem>5</asp:ListItem> <asp:ListItem>10</asp:ListItem> <asp:ListItem>20</asp:ListItem> <asp:ListItem>30</asp:ListItem> <asp:ListItem>40</asp:ListItem> <asp:ListItem>50</asp:ListItem> </asp:DropDownList> </div> </div> #title{ text-align:center; font-weight:bold; background-image:url('img/discussionHeader.png'); background-repeat:no-repeat;} Link to comment Share on other sites More sharing options...
justsomeguy Posted May 17, 2007 Share Posted May 17, 2007 What problems are you seeing? What specifically looks different between IE and Firefox? Link to comment Share on other sites More sharing options...
jesh Posted May 21, 2007 Share Posted May 21, 2007 Also keep in mind that older versions of .NET (1.0, 1.1) had very poor support for Firefox by default unless you updated your browsercaps in the web.config. If you are using .NET 1.1 or less, you may want to look into updating your browsercaps.A Google search may help: http://www.google.com/search?q=browsercaps+firefoxOr you can look at this file: http://slingfive.com/pages/code/browserCap...erCaps_tabs.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.