Ciao a tutti, come da titolo volevo chiedervi come si fa a mettere la posizione assoluta al div
che compare quando passo sopra con il mouse?
Questo perche' ho messo questa funzione in un elenco e quando si passa sopra ai record
in fondo si vede solo una piccola parte del div.
Premesso che ho provato a modificare il css e che ho capito che non so niente, posto il codice.
Ciao grazie
codice:
/* CSS only needed for the demo */
mainContainer{
width:630px;
border-left:1px solid #317082;
border-right:1px solid #317082;
margin:0 auto; /* Center align content, equivalent to margin-left:auto;margin-right:auto; */
text-align:left; /* Override inherited text-align:center from the body tag */
background-color:#FFF;
height:100%;
}
#menuColumn{
width:160px;
float:left;
padding:5px;
font-size:0.9em;
}
#mainContent{
width:440px;
float:left;
}
.oddRow{
background-color:#FFF;
}
.evenRow{
background-color:#EEE;
}
.productTable{
border:3px double #000;
}
h3{
margin-top:0px;
}
/* End css for the demo */
/* CSS needed for the script */
#ajax_tooltipObj{
z-index:1000000;
text-align:left;
}
#ajax_tooltipObj div{
position:absolute;
left:100px;
top:100px;
}
/* If you don't want the arrow - Just set the width of this div to 1 or something like that and drop the background selectors from the CSS below */
#ajax_tooltipObj .ajax_tooltip_arrow{ /* Left div for the small arrow */
background-image:url('../images/arrow.gif');
width:520px;
position:absolute;
left:100px;
top:100px;
background-repeat:no-repeat;
background-position:center left;
z-index:1000005;
height:160px;
}
#ajax_tooltipObj .ajax_tooltip_content{
border:2px solid #317082; /* Border width */
left:18px; /* Same as border thickness */
top:100px;
position:absolute;
width:550px; /* Width of tooltip content */
height:400px; /* Height of tooltip content */
background-color:#FFF; /* Background color */
padding:5px; /* Space between border and content */
font-size:0.8em; /* Font size of content */
overflow:auto; /* Hide overflow content */
z-index:1000001;
}