- #1
D
dark_Jeedee
Bekanntes Mitglied
Themenersteller
- Dabei seit
- 25.07.2004
- Beiträge
- 51
- Reaktionspunkte
- 0
- Ort
- Dortmund
Hi also ich habe folgendes Problem. Ich habe ein css code mit 7 classes und in der 4. class will einen link öffnen lassen.Bisher habe ich es nur hinbekommen das es sich in einem neuen fenster öffnet. Also target=_blank aber mit target klappt es nicht.
Das Script :
<style type=text/css>
<!--
body{
margin:0px;
padding:0px;}
.box1, .box2, .box3{
float:left;
padding:3px;
border:1px solid black;
width:30%;
height:50px;
margin:20px 0 -15px 10px;}
.box1{background:gainsboro;}
.box2{background:silver;}
.box3{background:darkgray;}
.box4{
clear:left;
padding:10px;
border: 1px solid black;
margin:0 10px 0 10px;}
.box5, .box6, .box7{
float:left;
padding:3px;
border:1px solid black;
width:30%;
height:50px;
margin:-15px 0 0 10px;}
.box5{background:gainsboro;}
.box6{background:silver;}
.box7{background:darkgray;}
-->
</style>
<div class=box1><a href=http://......</a>Link in box 4 anzeigen</div>
<div class=box2></div>
<div class=box3></div>
<div class=box4></div>
<div class=box5></div>
<div class=box6></div>
<div class=box7></div>
</body>
</html>
Der link ist ein Gästebuch.
Hoffe auf Hilfe
Das Script :
<style type=text/css>
<!--
body{
margin:0px;
padding:0px;}
.box1, .box2, .box3{
float:left;
padding:3px;
border:1px solid black;
width:30%;
height:50px;
margin:20px 0 -15px 10px;}
.box1{background:gainsboro;}
.box2{background:silver;}
.box3{background:darkgray;}
.box4{
clear:left;
padding:10px;
border: 1px solid black;
margin:0 10px 0 10px;}
.box5, .box6, .box7{
float:left;
padding:3px;
border:1px solid black;
width:30%;
height:50px;
margin:-15px 0 0 10px;}
.box5{background:gainsboro;}
.box6{background:silver;}
.box7{background:darkgray;}
-->
</style>
<div class=box1><a href=http://......</a>Link in box 4 anzeigen</div>
<div class=box2></div>
<div class=box3></div>
<div class=box4></div>
<div class=box5></div>
<div class=box6></div>
<div class=box7></div>
</body>
</html>
Der link ist ein Gästebuch.
Hoffe auf Hilfe