Mozilla Issues (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


alistairhay -> Mozilla Issues (10/11/2007 15:33:24)

Hi there,

Have designed site using Expression web, and works fine in IE, but when loading it in Mozilla, EVERYTHING is out of allignment. I have heaps of 'div' tags on my pages and have played around with the allignment properties, but can't solve the issue. Please advise...




coreybryant -> RE: Mozilla Issues (10/11/2007 15:47:38)

Source code or URL would really help.

If you are using absolute positioning on every divide, this could cause some issues as well.




alistairhay -> RE: Mozilla Issues (10/11/2007 16:30:26)

ok, here it is.... This is the code, further down is the css stuff:

<asp:Content id="Content1" runat="server" contentplaceholderid="ContentPlaceHolder4">
<div class="contentDefault" style="position: relative;" id="register1">
<div class="contentBorder">
<div class="contentPageHeader">
<b>Power House Poker League</b>
</div>
<div class="style1">
<asp:GridView
runat="server"
PageSize="30"
GridLines="None"
id="grdvwLeagueLadder"
AutoGenerateColumns="False"
DataSourceID="Member"
AllowPaging="True">
<Columns>
<asp:templatefield>
<ControlStyle CssClass="Ladder1" />
<ItemStyle CssClass="Ladder1" Width="50px" HorizontalAlign="Center" />
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:templatefield>
<asp:hyperlinkfield SortExpression="Name" DataTextField="Name" DataTextFormatString="{0}" DataNavigateUrlFormatString="MemberProfileNonEdit.aspx?MyRef={0}" DataNavigateUrlFields="Reference">
<ControlStyle CssClass="Ladder1" />
<ItemStyle CssClass="Ladder1" HorizontalAlign="Left" />
</asp:hyperlinkfield>
<asp:boundfield DataField="Points" SortExpression="Points">
<ControlStyle CssClass="Ladder1" />
<ItemStyle CssClass="Ladder1" Width="100px" HorizontalAlign="Right" />
</asp:boundfield>
</Columns>
</asp:GridView>
</div>
<asp:AccessDataSource runat="server" ID="Member" DataFile="App_Data/members.mdb"
SelectCommand="SELECT [Reference], [Name], [Points] FROM [Member] ORDER BY [Points] DESC">
</asp:AccessDataSource>
</div>
</div>
</asp:Content>

<asp:Content id="Content2" runat="server" contentplaceholderid="ContentPlaceHolder3">
<div style="position: relative; width: 180px; height: 700px; z-index: 3; background-color: #C0C0C0; float: right; left: 0px; top: 0px; overflow: auto;" id="rankings1">
<br />
<asp:GridView
runat="server"
id="GridView2"
AutoGenerateColumns="False"
DataSourceID="Member2"
GridLines="None"
Font-Names="Comic Sans MS"
Font-Size="12px">
<Columns>
<asp:templatefield>
<ItemStyle Width="30px" HorizontalAlign="Center" />
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:templatefield>
<asp:hyperlinkfield HeaderText="Top Ranked" HeaderStyle-HorizontalAlign="Left" SortExpression="Name" DataTextField="Name" DataTextFormatString="{0}" DataNavigateUrlFormatString="MemberProfileNonEdit.aspx?MyRef={0}" DataNavigateUrlFields="Reference">
<ControlStyle CssClass="Ladder1" />
<ItemStyle HorizontalAlign="Left" />
</asp:hyperlinkfield>
</Columns>
</asp:GridView>
<asp:AccessDataSource runat="server" ID="Member2" DataFile="App_Data/members.mdb"
SelectCommand="SELECT Top 25 [Name], [Reference] FROM [Member] ORDER BY [Rank Points]">
</asp:AccessDataSource>
<br />
<a class="style15" href="Rankings.aspx">more --> </a>
</div>
</asp:Content>



This is the CSS stuff:

.contentBorder {
padding: 5px 0 0 5px;
border-style: solid;
border-color: maroon;
border-width: 4px;
min-height: 687px;
}
.contentDefault {
height: 700px;
width: 523px;
z-index: 2;
background-color: #C0C0C0;
overflow: auto;
text-align:left;
}
.textPageHeader {
color: black;
font-family: "Comic Sans MS";
font-size: medium;
text-align: left;
text-decoration:underline;
}
.textPageText {
color: black;
font-family: "Comic Sans MS";
font-size: small;
text-align: Left;
}
.textPageFooter {
color: black;
font-family: "Comic Sans MS";
font-size: medium;
text-align: center;
}
.tableHeader {
width:150;
text-align:center;
}




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875