Streifenkarl
Neues Mitglied
Hallo zusammen,
ich heiße Alex, bin 32 Jahre alt, arbeite in einem Job wo ich nix mit Webseitenerstellung zu tun habe und eigentlich begab ich mich erst am Freitag überhaupt in die Welt des HTML. Habe auch erstmal nur eine ganze einfache "Homepage" zusammengebastelt. Ich weiß, Homepage darf ich das Konstrukt eigentlich noch gar nicht nennen, verzeiht mir.
Jedoch habe ich ein, zwei Problemchen, die ich nicht lösen kann.
1. Zum einen ist es komisch dass in meinem HTML Editor (Scriptly) alles so aussieht wie ich es haben will, aber im IE9 passt dann nix mehr. Obwohl ich alle Dateien genau in der Struktur hochgeladen habe, wie ich sie auf meiner Platte zusammengesteckt hab.
2. Zum anderen gibt es ein Bild (oase1.jpg) was eigentlich normal angezeigt wird, wenn ich die HTML Datei von meiner Platte aus öffne, aber wenn ich sie dann vom FTP Server lade wird es nicht mehr angezeigt.
3. Und zum dritten bekomme ich den vermaledeiten Hintergrund (stein02) nicht bis zum rechten Rand der Seite.
Was mache ich alles falsch?
Hier mal zuerst die index.htm Datei:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Mesopotamco - We bring the Middle East closer to Europe</title>
<meta charset="ISO-8859-1">
<link href="design.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="alles">
<div id="kopfbereich">
<h2>Mesopotamco Ltd.</h2>
</div>
<div id="steuerung">
<table>
<tr>
<td class="tab1"><a href="aboutus.html" class="links"> About Us </a></td>
<td class="tab1"><a href="mailto:[email protected]" class="links"> Write us an E-Mail </a></td>
</tr>
</table>
</div>
<div id="schatten">
</div>
<div id="inhalt">
<h1 id="head2">Welcome to Mesopotamco Ltd.</h1><br />
<h3>Your logistics partner for shipments between Germany and the Middle East</h3><br />
<p>This site is still under construction. Soon you will find here</p>
<ul>
<li>Offers for shipments</li>
<li>Other logistics partners in the region</li>
<li>Links to our customers in the Middle East</li>
</ul>
<div id="oase">
<img src="bilder/oase1.jpg" alt="Oase" height="400" width="731" />
</div>
</div>
</div>
</body>
</html>
Und hier die CSS Datei
#alles {
margin: 0 auto;
width: 1280px;
background: url(Bilder/stein02.jpg) repeat-x;
height: auto;
}
#alles2 {
margin: 0 auto;
width: 1280px;
background: url(Bilder/stein02.jpg);
height: 900px;
}
#kopfbereich {
background:url(Bilder/saeulen.jpg) no-repeat left top;
height:150px;
}
#kopfbereich h2 {
font-family: copperplate gothic bold;
font-size: xx-large;
text-align: center;
padding: 0;
}
#steuerung {
background: url(Bilder/sand1.png) no-repeat;
height: 32px;
padding-left: 1em;
}
#schatten {
background: url(Bilder/schatten.png) repeat; width: 1280px;
height: 12px;
}
#head2 {
padding-top: 70px;
font-family: copperplate gothic bold;
}
#inhalt {
background: url(Bilder/stein02.jpg) repeat;
font-family: copperplate gothic bold;
padding-left: 2em;
font-size: medium;
float: left;
}
td.tab1 {
border: outset;
border-color: blue;
background-color: #ACD0FD;
padding-right: 10px;
}
a.links {
color: blue;
font-weight: bold;
}
a.visited {
color: #808080;
}
#oase {
float: right;
margin-right: 100px;
padding: 50px;
border: outset;
max-height: 400px;
max-width: 731px;
}
#texts2 {
padding-top: 100px;
padding-left: 50px;
}
#link2 {
border-style: outset;
border-color: #B05809;
padding: 10px;
margin-right: 67em;
}
ich heiße Alex, bin 32 Jahre alt, arbeite in einem Job wo ich nix mit Webseitenerstellung zu tun habe und eigentlich begab ich mich erst am Freitag überhaupt in die Welt des HTML. Habe auch erstmal nur eine ganze einfache "Homepage" zusammengebastelt. Ich weiß, Homepage darf ich das Konstrukt eigentlich noch gar nicht nennen, verzeiht mir.

Jedoch habe ich ein, zwei Problemchen, die ich nicht lösen kann.
1. Zum einen ist es komisch dass in meinem HTML Editor (Scriptly) alles so aussieht wie ich es haben will, aber im IE9 passt dann nix mehr. Obwohl ich alle Dateien genau in der Struktur hochgeladen habe, wie ich sie auf meiner Platte zusammengesteckt hab.
2. Zum anderen gibt es ein Bild (oase1.jpg) was eigentlich normal angezeigt wird, wenn ich die HTML Datei von meiner Platte aus öffne, aber wenn ich sie dann vom FTP Server lade wird es nicht mehr angezeigt.
3. Und zum dritten bekomme ich den vermaledeiten Hintergrund (stein02) nicht bis zum rechten Rand der Seite.
Was mache ich alles falsch?
Hier mal zuerst die index.htm Datei:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Mesopotamco - We bring the Middle East closer to Europe</title>
<meta charset="ISO-8859-1">
<link href="design.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="alles">
<div id="kopfbereich">
<h2>Mesopotamco Ltd.</h2>
</div>
<div id="steuerung">
<table>
<tr>
<td class="tab1"><a href="aboutus.html" class="links"> About Us </a></td>
<td class="tab1"><a href="mailto:[email protected]" class="links"> Write us an E-Mail </a></td>
</tr>
</table>
</div>
<div id="schatten">
</div>
<div id="inhalt">
<h1 id="head2">Welcome to Mesopotamco Ltd.</h1><br />
<h3>Your logistics partner for shipments between Germany and the Middle East</h3><br />
<p>This site is still under construction. Soon you will find here</p>
<ul>
<li>Offers for shipments</li>
<li>Other logistics partners in the region</li>
<li>Links to our customers in the Middle East</li>
</ul>
<div id="oase">
<img src="bilder/oase1.jpg" alt="Oase" height="400" width="731" />
</div>
</div>
</div>
</body>
</html>
Und hier die CSS Datei
#alles {
margin: 0 auto;
width: 1280px;
background: url(Bilder/stein02.jpg) repeat-x;
height: auto;
}
#alles2 {
margin: 0 auto;
width: 1280px;
background: url(Bilder/stein02.jpg);
height: 900px;
}
#kopfbereich {
background:url(Bilder/saeulen.jpg) no-repeat left top;
height:150px;
}
#kopfbereich h2 {
font-family: copperplate gothic bold;
font-size: xx-large;
text-align: center;
padding: 0;
}
#steuerung {
background: url(Bilder/sand1.png) no-repeat;
height: 32px;
padding-left: 1em;
}
#schatten {
background: url(Bilder/schatten.png) repeat; width: 1280px;
height: 12px;
}
#head2 {
padding-top: 70px;
font-family: copperplate gothic bold;
}
#inhalt {
background: url(Bilder/stein02.jpg) repeat;
font-family: copperplate gothic bold;
padding-left: 2em;
font-size: medium;
float: left;
}
td.tab1 {
border: outset;
border-color: blue;
background-color: #ACD0FD;
padding-right: 10px;
}
a.links {
color: blue;
font-weight: bold;
}
a.visited {
color: #808080;
}
#oase {
float: right;
margin-right: 100px;
padding: 50px;
border: outset;
max-height: 400px;
max-width: 731px;
}
#texts2 {
padding-top: 100px;
padding-left: 50px;
}
#link2 {
border-style: outset;
border-color: #B05809;
padding: 10px;
margin-right: 67em;
}
Zuletzt bearbeitet: