Suche im Forum:
Suchen


Autor Nachricht
Beitrag13.01.2010 um 17:43 (UTC)    
Titel: bild positionieren?

hallo!
ich bin mir eigentlich nicht so ganz sicher, ob diese frage wirklich zu CSS gehört, aber ich frage trotzdem mal Embarassed
ich würde gerne ein bild mit link irgendwo (natürlich nicht auf die werbung) positionieren! ich habe ja schon ein coolmenü, dass ich auch positioniert habe.

also ich habe schon diesen code versucht: (ich habe das bild selber erstellt, und möchte nicht, dass es jemand kopiert oder modifiziert!!)
Zitat:

<!--
body
{
font-family: Arial, sans-serif;
font-size: 14px;
overflow: auto;
padding: 10px;
margin: 0px;
}
ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
div.menu
{
position: absolute;
z-index: 5;
top: 240px;
left: 1%;
width:905px;
}
<a target href="http://www.owais-94.de.tl/"><img src="http://img.webme.com/pic/o/owais-94/homebutton.bmp">
{
width: 161px;
float: left;
}.menu a
{
border: 0px solid #;000000;
background-color: ;
background-image: url(http://img.webme.com/pic/o/owais-94/balken.bmp);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
color: #008000;
margin: 0px;
display: block;
height: 29px;
}



oder

Zitat:

<script>div.menu
{
position: absolute;
z-index: 5;
top: 100px;
left: 1%;
width:905px;
}<a target href="http://www.owais-94.de.tl/"><img src="http://img.webme.com/pic/o/owais-94/homebutton.bmp"></script>


eigentlich habe ich nur 2 codes kopiert, aber beides mal kam nichts gescheides raus! kann mir bitte jemand helfen? Rolling Eyes
______________
ist dir gerade langweilig? dann spiel doch einfach kostenlose onlinespiele auf owais-94.de.tl und glaube mir, deine langeweile ist schon bald geschichte Very Happy
Beitrag13.01.2010 um 18:18 (UTC)    
Titel:

ja natürlich also in variante 1:
Zitat:
<!--
body
{
font-family: Arial, sans-serif;
font-size: 14px;
overflow: auto;
padding: 10px;
margin: 0px;
}
ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
div.menu
{
position: absolute;
z-index: 5;
top: 240px;
left: 1%;
width:905px;

}
<a target href="http://www.owais-94.de.tl/"><img src="http://img.webme.com/pic/o/owais-94/homebutton.bmp">
{
width: 161px;
float: left;
}.menu a
{
border: 0px solid #;000000;
background-color: ;
background-image: url(http://img.webme.com/pic/o/owais-94/balken.bmp);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
color: #008000;
margin: 0px;
display: block;
height: 29px;
}

und bei 2:
Zitat:
<script>div.menu
{
position: absolute;
z-index: 5;
top: 100px;
left: 1%;

width:905px;
}<a target href="http://www.owais-94.de.tl/"><img src="http://img.webme.com/pic/o/owais-94/homebutton.bmp"></script>


das rote bitte edtieren für die position!
Beitrag15.01.2010 um 22:45 (UTC)    
Titel:

das funktioniert nicht! -.-
______________
ist dir gerade langweilig? dann spiel doch einfach kostenlose onlinespiele auf owais-94.de.tl und glaube mir, deine langeweile ist schon bald geschichte Very Happy
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de