Sponsor-Board.de
HTML Problem

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Plauderecke (/forumdisplay.php?fid=39)
+--- Thema: HTML Problem (/showthread.php?tid=10971)


HTML Problem - Miikeee - 13.03.2011 16:42

Hallo,

Undzwar habe ich hier einen kleinen Auftrag !

Es geht um eine Enterpage....

Diese habe ich jetzt ganz einfach mit einem AREA, eingegrenzt,

PHP-Code:
<center><u><img src="Bilder/bg.jpg" width="1024" height="768" border="0" usemap="#Map />
<map name="
Map" id="Map">
  <area shape="
rect" coords="136,320,494,652" href="test1.html" />
  <area shape="
rect" coords="527,320,884,652" href="test2.html" />
</map> 



SOOO, nun möchte ich aber auf das Bild unten z.B Copyright schreiben, sowie Impressum zum draufklicken !

Wie bekomme ich das hin ?


MFG


RE: HTML Problem - Nyrk - 13.03.2011 16:44

wo genau ist jetzt dein Problem?


RE: HTML Problem - Sysix - 13.03.2011 16:44

mach das lieber per divs, area ist der größte schrott


RE: HTML Problem - Miikeee - 13.03.2011 16:45

wieso Sysix, so finde ich es viel Einfahcer !


RE: HTML Problem - Din-Art - 13.03.2011 16:47

Mit <div> Tags:

PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Unbenanntes Dokument</title>
<
style type="text/css">
.
map {
    
margin:0px auto;
    
padding:0px;
}

.
footer {
    
margin:0px auto;
    
padding:0px;
}
</
style>
</
head>

<
body>
<
center>
<
div class="map">
<
u><img src="Bilder/bg.jpg" width="1024" height="768" border="0" usemap="#Map />
<map name="
Map" id="Map">
  <area shape="
rect" coords="136,320,494,652" href="test1.html" />
  <area shape="
rect" coords="527,320,884,652" href="test2.html" />
</map> 
</div>
<div class="
footer">
<a href="
index.php">Impressum</a> - <a href="index.php">Kontakt</a> 
</div>
</center>
</body>
</html> 




RE: HTML Problem - Miikeee - 13.03.2011 16:50

ja mom, das ist aber dann nicht im Bild !


RE: HTML Problem - zille3000 - 13.03.2011 17:01

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
<style type="text/css">
.map {
    margin:0px auto;
    padding:0px;
}

.footer {
    margin:0px auto;
    padding:0px;
}
</style>
</head>

<body>
<center>
<div class="map">
<u><img src="Bilder/bg.jpg" width="1024" height="768" border="0" usemap="#Map" />
<map name="Map" id="Map">
  <area shape="rect" coords="136,320,494,652" href="test1.html" />
  <area shape="rect" coords="527,320,884,652" href="test2.html" />
</map>
</div>
<div class="footer">
<a href="index.php">Impressum</a> - <a href="index.php">Kontakt</a>
</div>
</center>
</body>
</html>


So ich habe mal ein bisschen korrigiert. Kannst du mal die Position des Bildes durchgeben bzw. mir den URL geben, dann messe ich selber.


RE: HTML Problem - _DEL4912 - 13.03.2011 17:02

-


RE: HTML Problem - Miikeee - 13.03.2011 17:16

[Link: Registrierung erforderlich]


RE: HTML Problem - KingKaSo - 13.03.2011 21:19

Ich würde an deiner Stelle auch HTML (Inhalt) mit dem Design (CSS) trennen.

Nenne z.B. dein HTMl Datei: start.html
und deine CSS Datei: format.css

So bekommst Du erstens leichten Überblick und kannst immer wieder die einzelnen Stellen finden.


RE: HTML Problem - Miikeee - 13.03.2011 21:27

Habe ich sonst auch als gemacht aber wegen 2 kleinen Sachen unnötig.....