die meisten kennen es - im firefox alles i.o. im ie siehts aus wie schrott:
als grundlage habe ich ein vorgefertigtes template verwendet - dieses wird natürlich in beiden browsern korrekt angezeigt
danach habe ich dann beide codes komplett verglichen und keinen unterschied festgestellt (also da wo so ein fehler entstehen könnte)
bin mit meinem latein am ende - wäre klasse wenn mir jemand helfen könnte.
ich kopiere nun moch mal den quelltext von der vorlage hier rein - vielleicht kann ja da jemand was entdecken - css und html von meiner seite ist ja zu finden -->
url: Bet-experts_Startseite
Soooo nun html Vorlage:
und CSS:
irgendwo muss ja der fehler sein
als grundlage habe ich ein vorgefertigtes template verwendet - dieses wird natürlich in beiden browsern korrekt angezeigt
danach habe ich dann beide codes komplett verglichen und keinen unterschied festgestellt (also da wo so ein fehler entstehen könnte)
bin mit meinem latein am ende - wäre klasse wenn mir jemand helfen könnte.
ich kopiere nun moch mal den quelltext von der vorlage hier rein - vielleicht kann ja da jemand was entdecken - css und html von meiner seite ist ja zu finden -->
url: Bet-experts_Startseite
Soooo nun html Vorlage:
PHP:
<!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
[url=http://www.freecsstemplates.org]Download free CSS templates - Free CSS Templates[/url]
Released for free under a Creative Commons Attribution 2.5 License
Title : Newfangled
Version : 1.0
Released : 20070331
Description: A three-column fixed-width template ideal for 1024x768 pixel resolution. Suitable for blogs and small business websites.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Newfangled 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="header">
<div id="logo">
<h1><a href="#">Newfangled</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="">Clients</a></li>
<li><a href="#" title="">Support</a></li>
</ul>
</div>
</div>
<div id="content">
<div id="sidebar">
<div id="login" class="boxed">
<div class="title">
<h2>Client Account</h2>
</div>
<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="" />
<label for="inputtext2">Password:</label>
<input id="inputtext2" type="password" name="inputtext2" value="" />
<input id="inputsubmit1" type="submit" name="inputsubmit1" value="Sign In" />
<p><a href="#">Forgot your password?</a></p>
</fieldset>
</form>
</div>
</div>
<!-- end #login -->
<div id="updates" class="boxed">
<div class="title">
<h2>Recent Updates</h2>
</div>
<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>
<!-- end #updates -->
</div>
<!-- end #sidebar -->
<div id="main">
<div id="welcome" class="post">
<h2 class="title"><span>Welcome to Newfangled!</span></h2>
<h3 class="date"><span class="month">Mar.</span> <span class="day">8</span><span class="year">, 2007</span></h3>
<div class="story"><img src="images/img09.jpg" alt="" width="120" height="120" class="left" />
<p><strong>Newfangled</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 class="meta">
<p>Posted by Jane Anderson under <a href="#">Uncategorized</a>, <a href="#">Daily Journal</a><br />
<a href="#">Trackback URI</a> | <a href="#">No Comments</a> | <a href="#">Permalink</a></p>
</div>
</div>
<!-- end #welcome -->
<div id="example" class="post">
<h2 class="title"><span>Examples of Common Tags</span></h2>
<h3 class="date"><span class="month">Feb.</span> <span class="day">24</span><span class="year">, 2007</span></h3>
<div class="story">
<p>This is an example of a paragraph followed by a blockquote:</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:</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 class="meta">
<p>Posted by Jane Anderson under <a href="#">Samples</a><br />
<a href="#">Trackback URI</a> | <a href="#">No Comments</a> | <a href="#">Permalink</a></p>
</div>
</div>
<!-- end #example -->
</div>
<!-- end #main -->
<div id="sidebar2">
<div id="sponsors" class="boxed">
<div class="title">
<h2>Sponsors</h2>
</div>
<div class="content">
<ul>
<li> <a href="#">In posuere eleifend</a></li>
<li> <a href="#">Quisque dictum </a></li>
<li> <a href="#">Donec leo, vivamus </a></li>
<li> <a href="#">Nam pede erat porta </a></li>
<li> <a href="#">Vivamus fermentum </a></li>
</ul>
</div>
</div>
<!-- end #sponsors -->
<div id="ad120x600"><a href="#"><img src="images/ad_120x600.jpg" alt="" width="120" height="600" /></a></div>
</div>
<div style="clear: both;"> </div>
</div>
<!-- end #sidebar2 -->
<!-- end #content -->
<div id="footer">
<p id="legal">Copyright © 2007 Newfangled. All Rights Reserved. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
<p id="links"><a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a></p>
</div>
</body>
</html>
und CSS:
PHP:
/*
Design by Free CSS Templates
[url=http://www.freecsstemplates.org]Download free CSS templates - Free CSS Templates[/url]
Released for free under a Creative Commons Attribution 2.5 License
*/
* {
margin: 0;
padding: 0;
}
body {
margin: 20px 0;
background: #FFFFFF;
font: normal small "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666666;
}
h1, h2, h3 {
color: #333333;
}
h2 {
}
h3 {
font-size: 1em;
}
p, blockquote, ul, ol {
margin-bottom: 1.5em;
line-height: 1.65em;
text-align: justify;
}
p {
}
blockquote {
margin-left: 2em;
margin-right: 2em;
font-style: italic;
}
ul {
margin-left: 3em;
}
ul li {
}
ol {
margin-left: 3em;
}
ol li {
}
a {
text-decoration: underline;
color: #3E9722;
}
a:hover {
text-decoration: none;
color: #E58C24;
}
img {
border: none;
}
img.left {
float: left;
margin: 5px 20px 0 0;
}
img.right {
float: right;
margin: 5px 0 0 20px;
}
/* Boxed Style */
.boxed {
}
.boxed .title {
background: #3C74E6 url(images/img06.gif) repeat-x;
}
.boxed .title h2 {
height: 28px;
padding: 12px 0 0 20px;
text-transform: uppercase;
font-size: 1em;
color: #FFFFFF;
}
.boxed .content {
padding: 20px;
border-top: 1px solid #FFFFFF;
background: url(images/img07.gif) repeat-x;
}
/* Post */
.post {
}
.post .title {
background: #3C74E6 url(images/img06.gif) repeat-x;
font-size: 1em;
text-transform: uppercase;
color: #FFFFFF;
}
.post .title span {
display: block;
height: 28px;
padding: 12px 0 0 20px;
}
.post .date {
margin-top: -25px;
padding-bottom: 10px;
padding-right: 20px;
text-align: right;
font-size: x-small;
color: #FFFFFF;
}
.post .date .month {
}
.post .date .day {
}
.post .date .year {
}
.post .meta {
clear: both;
}
.post .meta p {
margin: 0;
padding: 10px 20px 40px 20px;
border-top: 1px dotted #CCCCCC;
line-height: normal;
font-size: x-small;
}
.post .story {
padding: 20px;
border-top: 1px solid #FFFFFF;
background: url(images/img07.gif) repeat-x;
}
/* Header */
#header {
width: 920px;
height: 120px;
margin: 0 auto;
padding: 20px 20px 0 20px;
background: #CAE646 url(images/img01.jpg) no-repeat;
}
/* Header > Logo */
#logo {
float: left;
width: 240px;
height: 50px;
}
#logo h1 {
float: left;
margin: 0;
padding: 50px 0 0 0;
font-size: 2.6em;
}
#logo h2 {
float: left;
margin-top: -5px;
font-size: 1em;
}
#logo a {
text-decoration: none;
color: #000000;
}
/* Header > Menu */
#menu {
float: right;
}
#menu ul {
margin: 0;
padding-top: 79px;
list-style: none;
}
#menu li {
display: inline;
}
#menu a {
display: block;
float: left;
width: 120px;
height: 30px;
margin-left: 2px;
padding-top: 10px;
background: url(images/img03.gif) no-repeat;
text-decoration: none;
text-align: center;
font-weight: bold;
color: #000000;
}
#menu a:hover {
background-image: url(images/img04.gif);
}
#menu .active a {
background-image: url(images/img05.gif);
}
/* Content */
#content {
width: 920px;
margin: 0 auto;
padding: 20px;
background: url(images/img02.jpg) no-repeat;
border-top: 1px solid #FFFFFF;
}
/* Content > Main */
#main {
float: left;
width: 480px;
padding-left: 20px;
}
/* Content > Main > Welcome */
#welcome {
}
/* Content > Main > Example */
#example {
}
/* Content > Sidebar */
#sidebar {
float: left;
width: 220px;
}
#sidebar .boxed .title h2 {
background: url(images/img08.gif) no-repeat;
}
/* Content > Sidebar > Login */
#login {
}
#login form {
}
#login fieldset {
border: none;
}
#login legend {
display: none;
}
#login label {
display: block;
}
#login input {
margin-bottom: 10px;
padding: 2px 5px;
font: normal small "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666666;
}
#inputtext1, #inputtext2 {
width: 160px;
}
#inputsubmit1 {
margin: 0;
padding: 0;
}
/* Content > Sidebar > Updates*/
#updates {
}
#updates ul {
margin: 0;
list-style: none;
}
#updates h3 {
font-size: .8em;
}
#updates p {
line-height: normal;
font-size: .8em;
}
#updates a {
text-decoration: none;
}
/* Content > Sidebar2 */
#sidebar2 {
float: left;
width: 180px;
padding-left: 20px;
}
#sidebar2 .boxed .title h2 {
background: url(images/img10.gif) no-repeat right top;
}
/* Content > Sidebar2 > Sponsors */
#sponsors {
}
#sponsors ul {
margin-left: 0;
padding-left: 0;
list-style: inside;
}
/* Content > Sidebar2 > ad120x600 */
#ad120x600 {
text-align: center;
}
/* Footer */
#footer {
clear: both;
width: 960px;
height: 80px;
margin: 0 auto;
padding: 20px 0;
background: url(images/img02.jpg) no-repeat;
}
#footer p {
margin: 0;
text-align: center;
line-height: normal;
font-size: x-small;
}
#footer a {
text-decoration: underline;
color: #666666;
}
#footer a:hover {
text-decoration: none;
}
/* Footer > Legal */
#legal {
}
/* Footer > Links */
#links {
}
irgendwo muss ja der fehler sein
Zuletzt bearbeitet von einem Moderator: