319 messaggi dal 05 agosto 2005
Ciao Ragazzi, ho piazzato 3 hyperlinks in una webform. I 3 hanno style="Position: Relative;......."
Ho 2 problemi ora:

1 Diversa visualizzazione di posizionamento in IE e FF
2 La Larghezza dei 3 non viene rispettata in FF

Come risolvo il problema?

Grazie

Marco
Questi problemi sono noti...prova a postare in dettaglio il codice...

Ormai programmano tutti... ma la professionalità appartiene a pochi
319 messaggi dal 05 agosto 2005
Ciao Manuel, ecco il codice:



<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"
CodeFile="Beach_Shop.aspx.vb" Inherits="Beach_Shop" Title="MYSITE.COM"
Theme="Style" StylesheetTheme="Style" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" >
<div align="center" style="position:relative; overflow:auto;">
<table cellpadding="2" cellspacing="2" background="App_Themes/Images/Main_Page/Homepage_13062008.jpg"
style="width: 795px; height: 499px; border-right: black 1px solid; border-top: black 1px solid;
border-left: black 1px solid; border-bottom: black 1px solid; " >
<tr>
<td rowspan="2" valign="middle" bordercolor="black" background="Image/main_17_06_2008.jpg">
<asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" Font-Size="12pt" ForeColor="DimGray"
Style="position: relative; left: -10px; top: -197px;" onmouseover="this.style.textDecoration='underline'"
onmouseout="this.style.textDecoration='none'" Width="106px">Dare To Bare</asp:HyperLink>
<asp:HyperLink ID="HyperLink5" runat="server" ForeColor="Teal" Style="position: relative; left: -119px; top: -185px; text-align: left;" Width="258px" onmouseover="this.style.textDecoration='underline'"
onmouseout="this.style.textDecoration='none'" >Advice from real women on how to bring your body out of hibernation and be beach ready this summer >></asp:HyperLink>
<asp:HyperLink ID="HyperLink1" runat="server" Font-Size="10pt" ForeColor="Teal" Height="21px"
NavigateUrl="~/Shop/Beach_bikinis.aspx" Style="z-index: 0; left: 183px; position: relative;
top: 100px; text-decoration: none; text-align: left;" Width="180px" onmouseover="this.style.textDecoration='underline'"
onmouseout="this.style.textDecoration='none'" Font-Bold="True">View our full bikini range of</asp:HyperLink>&nbsp;
<asp:HyperLink ID="HyperLink2" runat="server" Font-Bold="True" Font-Size="10pt" ForeColor="Teal"
Height="21px" NavigateUrl="~/Shop/Beach_bikinis.aspx" onmouseout="this.style.textDecoration='none'"
onmouseover="this.style.textDecoration='underline'" Style="left: 3px; position: relative;
top: 157px; text-align: left; text-decoration: none" Width="165px">Available in C to E cups & 32-38&#8221; backs >></asp:HyperLink>
<asp:HyperLink ID="HyperLink3" runat="server" Font-Size="12pt" ForeColor="DimGray"
Height="22px" NavigateUrl="~/Shop/Beach_bikinis.aspx" Style="z-index: 100; left: 258px;
position: relative; top: 101px; text-decoration: none" Width="158px" onmouseover="this.style.textDecoration='underline'"
onmouseout="this.style.textDecoration='none'" Font-Bold="True">test 1 to test 2</asp:HyperLink>
</td>

</tr>
</table>
</div>
</asp:Content>
da impazzire
prova a creare un file css, linkarlo alla pagina in head.
Spostare Style dai link al css e assegnare la CssClass relativa.

Poi magari riposta il codice e il css... :-)

Ormai programmano tutti... ma la professionalità appartiene a pochi
319 messaggi dal 05 agosto 2005
Meglio così?

<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"
CodeFile="Beach_Shop.aspx.vb" Inherits="Beach_Shop" Title="MYSITE.COM"
Theme="Style" StylesheetTheme="Style" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" >
<div align="center" style="position:relative; overflow:auto;">
<table >
<tr>
<td>
<asp:HyperLink ID="HyperLink4" runat="server"
Style="position: relative; left: -10px; top: -197px;" Width="106px">Dare To Bare</asp:HyperLink></td>

</tr>
</table>
</div>
</asp:Content>

Torna al forum | Feed RSS

ASPItalia.com non è responsabile per il contenuto dei messaggi presenti su questo servizio, non avendo nessun controllo sui messaggi postati nei propri forum, che rappresentano l'espressione del pensiero degli autori.