You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 |
<img src="bild.jpg" width="770" height="250" usemap="#kopf"> <map name="kopf"> <area shape="rect" coords="316,195,391,213" href="index.htm" alt="Startseite"> </map> |
crushcoder
God





|
|
Source code |
1 2 3 4 |
<div id="head"> <span class="link" id="link1"><a href="link1"></a></span> <span class="link" id="link2"><a href="link2"></a></span> </div> |
Gott hat die Welt ja nur in sieben Tagen erschaffen können, weil es keine installierte Basis gab.
|
|
Source code |
1 2 3 |
<?php
include("kopf.html");
?>
|
|
|
Source code |
1 2 3 4 5 6 7 |
<img src="bild/kopf.jpg" alt="" width="770" height="250" border="0" usemap="#kopf"> <map name="kopf"> <area shape="rect" coords="316,195,391,213" href="index.htm" alt="Startseite"> <area shape="rect" coords="393,195,504,213" href="bildbearbeitung.htm" alt="Bildbearbeitung"> <area shape="rect" coords="506,195,564,213" href="technik.htm" alt="Technik"> <area shape="rect" coords="566,195,644,213" href="fotoalbum.htm" alt="Fotoalbum"> </map> |
moede
Senior Member




|
|
Source code |
1 2 3 4 5 6 7 8 |
<div id="header">
<ul id="navigation">
<li id="navStartseite"><a href="#">Startseite</a></li>
<li id="navBildbearbeitung"><a href="#">Bildbearbeitung</a></li>
<li id="navTechnik"><a href="#">Technik</a></li>
<li id="navFotoalbum"><a href="#">Fotoalbum</a></li>
</ul>
</div>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
* {
margin: 0;
padding: 0;
font-size: 11px;
font-family: Verdana, Helvetica, sans-serif;
color: #000;
background-repeat: no-repeat;
}
#header {
width: 770px;
height: 250px;
background-image: url(./images/header_bg.png);
}
/* -----------------------------------------------
NAVIGATION
----------------------------------------------- */
ul#navigation {
/* Die relative Positionierung mit dem z-index ist wichtig,
damit die Navigation auf einer höheren Ebene als die Input
Felder ist da es ansonsten zu einer Überlappung kommt. */
position: relative;
z-index: 1;
margin-right: 30px;
width: 740px;
float: right;
}
ul#navigation, #navigation ul {
list-style: none;
}
#navigation li {
float: right;
}
#navigation li a {
line-height: 20px;
display: block;
/* Verstecken des Textes mit text-indent */
text-indent: -9999px;
}
|
|
|
Source code |
1 2 3 4 5 6 7 8 |
#navStartseite a {
width: BREITE DES BILDES;
background-image: url(./STATSEITE.jpg);
}
#navStartseite a:hover {
background-image: url(./STATSEITE_hover.jpg);
}
|

crushcoder
God





Gott hat die Welt ja nur in sieben Tagen erschaffen können, weil es keine installierte Basis gab.
moede
Senior Member




|
|
Source code |
1 2 3 4 5 6 |
<ul id="navigation"> <li id="navFotoalbum"><a href="#">Fotoalbum</a></li> <li id="navTechnik"><a href="#">Technik</a></li> <li id="navBildbearbeitung"><a href="#">Bildbearbeitung</a></li> <li id="navStartseite"><a href="#">Startseite</a></li> </ul> |
moede
Senior Member




Quoted from "Y0Gi"
warum nicht das float auf die gesamte liste anwenden?
Quoted from "Y0Gi"
und durch die verwendung von <dl> statt <ul> und <dt> statt <li> kann man sich sparen, die browserabhängige formatierung der unsortierten liste zu unterdrücken.
-