Positionieren

Positionieren

Beitragvon Sina » 17.08.2010, 14:45

Hallo, ich habe folgende Frage,
wie kann ich nach Klicken der Links den Infotext immer auf Höhe der des ersten Links "Playboy September 2008" positionieren? Vielen Dank!

http://51929265.de.strato-hosting.eu/Go ... esse.html#

a.info
{
position:relative;
z-index:2;
background-color:#000;
color:#FFF;
text-decoration:none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
}

a.info:hover
{
z-index:1;
}

a.info span
{
display: none;
}

a.info:active span
{
display:block;
background-color:#121212;
color:#FFF;
text-align: left;
padding: 5px;
font-size: 11px;
font-family: arial;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
position: absolute;
left: 200px;
bottom: 200px;
width: 310px;
}
Sina
neu hier
 
Beiträge: 3
Registriert: 17.08.2010, 14:36

Re: Positionieren

Beitragvon sejuma » 17.08.2010, 16:43

Entferne bei a.info das position: relative

positioniere a.info:active span mit
Code: Alles auswählen
position: absolute;
   left: 200px;
   top: 0px;


Gib der Tabellenzeile eine relative Positionierung:
<tr style="position: relative;" >
<td width="46%" align="left" valign="top"><a class="info" href="#">Playboy September 2008
Bild
sejuma
Vielposter
 
Beiträge: 787
Registriert: 15.07.2009, 17:46


Moderatoren: Laus, Moderatoren

Ähnliche Beiträge zu "Positionieren"

Zurück zu: CSS für Anfänger

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast