![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
فارسی</asp:LinkButton br / |
#2
| |||
| |||
|
|
Hi, I have a page that looks crooked in Firefox but displays normally in IE. http://www.legalpersian.com The page was designed using Visual Web Developer 2005 (part of MS Vsual Studio 2005 Express). form id="form1" runat="server" div id="container" ... banner and logo stuff div id="container1" table id="layout_table" tr td id="right_column" width="500" height="300" valign="middle" div id="sub_container2" div id="slogan"> </div asp:LinkButton ID="eng" runat="server" Style="z-index: 100; left: 190px; position: absolute; top: 73px; height:40px; width:100px;" CssClass="choiceEng" BackColor="#D3B493" BorderColor="#C9A17D" BorderStyle="Outset" BorderWidth="4px" PostBackUrl="en/home.aspx" Height="68px" Width="128px">English</asp:LinkButton asp:LinkButton ID="fa" runat="server" style="z-index: 100; left: 487px; position: absolute; top: 73px; height:40px; width:100px;" CssClass="choiceFa" BackColor="#C9A17D" BorderColor="#D3B493" BorderStyle="Outset" BorderWidth="4px" PostBackUrl="fa/home.aspx" فارسی</asp:LinkButton br / /div /td /tr /table /div /div /form Please let me know if more info is required. |
#3
| |||
| |||
|
|
I think the problem is with absolute positioning of the images(buttons). |
|
Can someone recommend a good book or article that describes css tags in detail? |
#4
| |||
| |||
|
|
ashkaan57 (AT) hotmail (DOT) com wrote: I think the problem is with absolute positioning of the images(buttons). Probably. Absolute postioning is a known problem with IE. Can someone recommend a good book or article that describes css tags in detail? CSS doesn't have "tags" and for that matter HTML doesn't have elements from an asp namespace either. If you want to ever really _understand_ this stuff, then you have to get it clear in your mind just which bits of technologies you're using at each step. As an example,. the code you posted wasn't a "web page", it was source code to ASP. The _results_ of this code are what forms the HTML web page -- debuging subtle CSS problems would require you rto look at that output, not the input. As to books, then Lie & Bos' "Cascading Stylesheets" is one of the best as both a tutorial an on-going reference and the O'Reilly "Head First HTML & CSS" is a pretty good tutorial to both HTML and CSS. For hunting down CSS problems with IE, then the first rules are to write valid code (both HTML and CSS), to demonstrate it and get it working with a reasonably compliant browser (not IE), then to worry about IE. Read websites like alistapart and positioniseverything for some of the better known-problem lists. |
![]() |
| Thread Tools | |
| Display Modes | |
| |