HTML-Prbl.

WarDynasty

HWLuxx SC2-Champ, HWLuxx SC2-Cup2 Master#1
Thread Starter
Mitglied seit
06.04.2006
Beiträge
909
Ort
Wien
Hallo ich hab da ein Prbl. ich habe eine free template mal heruntergeladen(free css templates) Dann habe ich es in nen HTML-Editor nach dem download kopiert..aber wenn ich eine Vorschau mache sieht es ganz anderst aus warum?
 
Wenn Du diese Anzeige nicht sehen willst, registriere Dich und/oder logge Dich ein.
Habe hier einen Apfel. Wenn ich reinbeiße schmeckt er nach Birne - du verstehst?

Ohne Quelltext kann man nun viele Vermutungen anstellen :bigok:
 
Das sind natürlich sehr ausführliche Infos ... Wie wärs mit Screenshot (vgl "anders" ) und dem Quellcode?
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Chromz by Free Css Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="logo">
<h1><a href="#">Chromz</a></h1>
<h2><a href="http://www.freecsstemplates.org/">By Free CSS Templates</a></h2>
</div>
<div id="menu">
<ul>
<li class="active"><a href="#" title="">Homepage</a></li>
<li><a href="#" title="">About Us</a></li>
<li><a href="#" title="">Products</a></li>
<li><a href="#" title="">Services</a></li>
<li><a href="#" title="">Clients</a></li>
<li><a href="#" title="">Support</a></li>
</ul>
</div>
<div id="wrapper">
<div id="col-one">
<div class="boxed">
<h2 class="title">Client Account</h2>
<div class="content">
<form id="form1" method="post" action="#">
<fieldset>
<legend>Sign-In</legend>
<label for="inputtext1">Client ID:</label>
<input id="inputtext1" type="text" name="inputtext1" value="" class="textfield" />
<label for="inputtext2">Password:</label>
<input id="inputtext2" type="password" name="inputtext2" value="" class="textfield" />
<input id="inputsubmit1" type="submit" name="inputsubmit1" value="Sign In" class="button" />
<p class="tiny"><a href="#">Forgot your password?</a></p>
</fieldset>
</form>
</div>
</div>
<div class="boxed">
<h2 class="title">Site Search</h2>
<div class="content">
<form id="form2" method="get" action="#">
<fieldset>
<legend>Search</legend>
<input id="inputtext3" type="text" name="inputtext3" value="" class="textfield" />
<input id="inputsubmit2" type="submit" name="inputsubmit2" value="Search" class="button" />
<p class="tiny"><a href="#">Advanced Search</a></p>
</fieldset>
</form>
</div>
</div>
<div class="boxed">
<h2 class="title">Newsletter</h2>
<div class="content">
<form id="form3" method="post" action="#">
<fieldset>
<legend>Subscribe</legend>
<label for="inputtext4">Email:</label>
<input id="inputtext4" type="text" name="inputtext4" value="" class="textfield" />
<input id="inputsubmit3" type="submit" name="inputsubmit3" value="Subscribe" class="button" />
</fieldset>
</form>
</div>
</div>
</div>
<div id="col-two">
<div class="boxed">
<h2 class="title">Welcome to Chromz!</h2>
<div class="content">
<p><strong>Chromz</strong> is a free template from <a href="http://www.freecsstemplates.org/">Free CSS Templates</a> released under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License</a>. The photo is from <a href="http://www.pdphoto.org/">PDPhoto.org</a>. You're free to use it for both commercial or personal use. I only ask that you link back to my site in some way. <em>Enjoy :)</em></p>
</div>
</div>
<div class="boxed">
<h2 class="title">Examples of Common Tags</h2>
<div class="content">
<p>This is an example of a paragraph followed by a blockquote. In posuere eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula. Pellentesque viverra vulputate enim. Aliquam erat volutpat lorem ipsum dolorem.</p>
<blockquote>
<p>“Pellentesque tristique ante ut risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec placerat odio.”</p>
</blockquote>
<h3>Heading Level Three</h3>
<p>This is another example of a paragraph followed by an unordered list. In posuere eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula. Pellentesque viverra vulputate enim. Aliquam erat volutpat lorem ipsum dolorem.</p>
<p>An ordered list example:</p>
<ol>
<li>List item number one</li>
<li>List item number two</li>
<li>List item number thre</li>
</ol>
</div>
</div>
</div>
<div id="col-three">
<div class="boxed">
<h2 class="title">Recent Updates</h2>
<div class="content">
<ul>
<li>
<h3>March 5, 2007</h3>
<p><a href="#">In posuere eleifend odio quisque semper augue mattis wisi maecenas ligula…</a></p>
</li>
<li>
<h3>March 3, 2007</h3>
<p><a href="#">Quisque dictum integer nisl risus, sagittis convallis, rutrum id, congue, and nibh…</a></p>
</li>
<li>
<h3>February 28, 2007</h3>
<p><a href="#">Donec leo, vivamus fermentum nibh in augue praesent a lacus at urna congue rutrum…</a></p>
</li>
<li>
<h3>February 25, 2007</h3>
<p><a href="#">Nam pede erat, porta eu, lobortis eget, tempus et, tellus. Etiam nequea…</a></p>
</li>
<li>
<h3>February 20, 2007</h3>
<p><a href="#">Vivamus fermentum nibh in augue. Praesent a lacus at urna congue rutrum. Nulla enim eros…</a></p>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="footer">
<p id="legal">Copyright © 2007 Chromz. All Rights Reserved.</p>
<p id="links"><a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a> | Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>
</body>
</html>









chromz
 
Zuletzt bearbeitet:
hast du die css datei mitkopiert? ist sie noch richtig verlinkt?
 
Verwende mal [code]HIER QUELLTEXT EINFÜGEN[/code] - so ist es ja mehr als unübersichtlich. Ansonsten wird es wohl an der fehlenden CSS-Datei liegen. Wurde ja bereits erwähnt. Ansonsten mal Klassen, etc. vergleichen ...
 
Ist das hier die CSS-Datei?

/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

* {
margin: 0;
padding: 0;
}

body {
background: #FFFFFF url(images/img01.gif) repeat-x;
font: normal small Verdana, Arial, Helvetica, sans-serif;
color: #959595;
}

h1, h2, h3 {
}

h1 {
}

h2 {
}

h3 {
margin-bottom: 1em;
text-transform: uppercase;
letter-spacing: 1px;
font-size: x-small;
}

p, blockquote, ul, ol {
margin-bottom: 2em;
line-height: 1.6em;
}

p {
}

blockquote {
margin-left: 2em;
margin-right: 2em;
padding: 1em 1em 0 1em;
text-align: center;
font-style: italic;
}

ul {
list-style: none;
}

ul li {
}

ol {
list-style-position: inside;
}

ol li {
}

a {
color: #666666;
}

a:hover {
text-decoration: none;
color: #000000;
}

img {
}

/* Logo */

#logo {
width: 760px;
height: 70px;
margin: 0 auto;
padding: 40px 0 0 0;
}

#logo h1 {
float: left;
letter-spacing: -2px;
font-size: 3em;
}

#logo h2 {
float: left;
font-size: 1em;
}

#logo a {
text-decoration: none;
text-transform: lowercase;
font-weight: normal;
color: #FFFFFF
}

/* Menu */

#menu {
width: 760px;
height: 50px;
margin: -50px auto 0 auto;
}

#menu ul {
float: right;
margin: 0;
list-style: none;
}

#menu li {
display: inline;
}

#menu a {
position: relative;
margin-left: 1.6em;
text-decoration: none;
text-transform: uppercase;
border-bottom: 5px solid #CC6600;
font-size: xx-small;
font-weight: bold;
color: #FFFFFF;
}

#menu a:hover, #menu .active a {
border-bottom-color: #000000;
color: #CCCCCC;
}

/* Wrapper */

#wrapper {
clear: both;
width: 760px;
margin: 0 auto;
}

/* Column One */

#col-one {
float: right;
width: 180px;
}

#col-one .boxed {
margin-bottom: 10px;
}

#col-one .boxed .title {
height: 20px;
padding: 10px 0 0 10px;
background: url(images/img02.gif) no-repeat;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
color: #FFFFFF;
}

#col-one .boxed .content {
padding: 9px;
background: #E8EDE5 url(images/img03.gif) repeat-x;
border: 1px solid #648952;
border-top: none;
}

#col-one .boxed .content form {
}

#col-one .boxed .content fieldset {
border: none;
}

#col-one .boxed .content legend {
display: none;
}

#col-one .boxed .content label {
display: block;
font-size: xx-small;
font-weight: bold;
}

#col-one .boxed .content .textfield {
width: 148px;
margin: 0 0 5px 0;
padding: 3px 5px;
border: 1px solid #C8C8C8;
background: #FAFAFA url(images/img04.gif) repeat-x;
font: normal x-small Verdana, Arial, Helvetica, sans-serif;
color: #464646;
}

#col-one .boxed .content .button {
float: right;
width: 70px;
height: 18px;
margin: 0 0 5px 0;
padding: 0;
border: 1px solid #464646;
background: #FAFAFA url(images/img05.gif) repeat-x;
font: normal x-small Verdana, Arial, Helvetica, sans-serif;
color: #464646;
}

#col-one .boxed .content .tiny {
clear: both;
margin: 0;
font-size: x-small;
}

#col-one .boxed .content .tiny a {
padding: 0 0 0 11px;
background: url(images/img06.gif) no-repeat left bottom;
}

/* Column Two */

#col-two {
float: left;
width: 380px;
}

#col-two .boxed {
margin-bottom: 10px;
}

#col-two .boxed .title {
height: 20px;
padding: 10px 0 0 10px;
background: url(images/img07.gif) no-repeat;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
color: #FFFFFF;
}

#col-two .boxed .content {
padding: 19px 19px 0 19px;
background: #E5ECED url(images/img08.gif) repeat-x;
border: 1px solid #528489;
border-top: none;
}

#col-two .boxed blockquote {
background: #E5ECED url(images/img08.gif) repeat-x;
}

/* Column Three */

#col-three {
float: right;
width: 180px;
margin-right: 10px;
}

#col-three .boxed {
margin-bottom: 10px;
}

#col-three .boxed .title {
height: 20px;
padding: 10px 0 0 10px;
background: url(images/img09.gif) no-repeat;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
color: #FFFFFF;
}

#col-three .boxed .content {
padding: 19px 19px 0 19px;
background: #EFEBE2 url(images/img10.gif) repeat-x;
border: 1px solid #977C44;
border-top: none;
}

#col-three .boxed .content li {
margin-left: -1em;
padding-left: 1em;
background: url(images/img12.gif) no-repeat 0 9px;
letter-spacing: normal;
}

/* Footer */

#footer {
clear: both;
padding: 30px 0 50px 0;
background: #464646 url(images/img13.gif) repeat-x;
}

#footer p {
width: 760px;
margin: 0 auto;
font-size: x-small;
}
 
ja das ist ne css datei, und ohne die gehts nicht, also immer schauen ob die auch passen verlinkt sind und ob evtl noch bilder dabei waren die brauchst du dann natürlich auch
 
okee...mal ein post von dir ohne flame burni respect:)
Also wo soll ich die css-Dat. nun reinpacken?
Wenn sonst jemand Zeit hat es mir ein bissel zu erklären MSN: webmaster-m16@hotmail.com

HTML braucht viel Zeit aber nicht jeder hat die also wenn jemand doch hat..dann bitee melden:)
mfg
 
Zuletzt bearbeitet:
<link href="default.css" rel="stylesheet" type="text/css" />

lass die .css Datei im selben Ordner wie die Index.htm
lass am besten alle Interfaces im gleichen Ordner, damit keine weiteren Probleme auftreten

wie schon gesagt, muss der Stylesheet in der Startseite verknüpft sein,
sonst geht das nicht
 
Hardwareluxx setzt keine externen Werbe- und Tracking-Cookies ein. Auf unserer Webseite finden Sie nur noch Cookies nach berechtigtem Interesse (Art. 6 Abs. 1 Satz 1 lit. f DSGVO) oder eigene funktionelle Cookies. Durch die Nutzung unserer Webseite erklären Sie sich damit einverstanden, dass wir diese Cookies setzen. Mehr Informationen und Möglichkeiten zur Einstellung unserer Cookies finden Sie in unserer Datenschutzerklärung.


Zurück
Oben Unten refresh