Ich hab da ein kleines Problem mit IE6 und meinem Template, wobei ich gestehen muss das ich am Template rumgerissen habe ;-(
Vielleicht kann mir trotzdem jemand helfen, bsp. in der Seite: http://www.pokerfaq.ch/index.php?action ... artlang=de wird der Content unten aliniert, find ich den entsprechenden "Hebel" im Template nicht, eine Idee?
Datei index.tbl
Code: Select all
<!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" xml:lang="{metaLanguage}" lang="{metaLanguage}">
<head>
<title>{title}</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset={metaCharset}" />
<meta name="title" content="{title}" />
<meta name="description" content="{metaDescription}" />
<meta name="keywords" content="{metaKeywords}" />
<meta name="author" content="{metaPublisher}" />
<meta name="publisher" content="{metaPublisher}" />
<meta name="copyright" content="(c) 2006 pokerfaq.ch" />
<meta name="Content-Language" content="{metaCharset}" />
<meta name="robots" content="INDEX, FOLLOW" />
<meta name="revisit-after" content="7 days" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<META name="verify-v1" content="jfjtteYZk3Dj6ZwH6tzYtfj+fV8UowRAFRJhGpgpOHc=" />
<style type="text/css" media="screen">
/*<![CDATA[*/
<!--
@import url(template/style.css);
@import url(template/colors.css);
-->
/*]]>*/
</style>
<style type="text/css" media="print">
/*<![CDATA[*/
<!--
@import "template/print.css";
-->
/*]]>*/
</style>
<script type="text/javascript" src="inc/functions.js"></script>
<link rel="icon" href="template/animated_favicon1.gif" type="image/gif" />
<link rel="icon" href="template/favicon.ico" type="image/x-icon" />
<link rel="alternate" title="News RSS Feed" type="application/rss+xml" href="feed/news/rss.php" />
<link rel="alternate" title="TopTen RSS Feed" type="application/rss+xml" href="feed/topten/rss.php" />
<link rel="alternate" title="Latest FAQ Records RSS Feed" type="application/rss+xml" href="feed/latest/rss.php" />
<link rel="alternate" title="Open Questions RSS Feed" type="application/rss+xml" href="feed/openquestions/rss.php" />
</head>
<body dir="{dir}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/bg.gif">
<tr>
<td valign="top">
<div id="wrapper1">
<div id="wrapper2">
<!-- start headers -->
<div class="header" id="header">
<h1><a title="{header}" href="{faqHome}">{header}</a></h1>
<ul>
<li>{msgContact}</li>
<li>{msgHelp}</li>
<li>{msgOpenQuestions}</li>
<li>{msgQuestion}</li>
<li>{msgAddContent}</li>
<li><a href="index.php?action=tour">Online-Turniere</a></li>
<li><a href="index.php?action=sitemap">Sitemap</a></li>
</ul>
</div>
<!-- end headers -->
<!-- start columns -->
<div class="columns">
<!-- start left sidebar -->
<div class="leftcolumn sidebar" id="sidebar-left">
<div class="leftpadding">
<!-- start search box -->
<div class="content">
<div id="search">
<form action="{writeSendAdress}" method="get">
<label for="suchbegriff">{searchBox}</label><br>
<input alt="search..." class="inputfield" type="text" name="search" id="suchbegriff" size="18" />
<input type="submit" name="submit" value="Go" class="submit" />
<input type="hidden" name="action" value="search" />
</form>
</div>
</div>
<!-- end search box -->
<h2 class="invisible">Navigation</h2>
<!-- start categories -->
<div class="content">
<div id="categories">
<hr size="1" noshade><br>
<ul>
<li class="home">{backToHome}</li>
<li>{allCategories}</li>
{showCategories}
<li>{showSitemap}</li>
</ul>
<br><hr size="1" noshade>
</div>
</div>
<!-- end categories -->
<!-- start language selection box -->
<div class="content">
<div id="langform">
<form action="{writeLangAdress}" method="post">
<label for="language">{languageBox}</label><br>
{switchLanguages}
<input type="submit" name="submit" value="Go" class="submit" />
</form>
</div>
</div>
<!-- end -->
<!-- start werbung -->
<div class="content">
<div id="adform">
<br />
<a href="http://www.pokerroom.com/?ref=33296" target="_blank"><img src="images/werbung/pokerroom.gif" alt="Pokerroom Online Poker" width="185" height="47" border="0" /></a>
<a href="http://www.everestpoker.com/S1507V/" target="_blank"><img src="images/werbung/everest_poker.gif" alt="Everest Online Poker" width="185" height="47" border="0" /></a>
</div>
</div>
<!-- end -->
<br /><br />
<br /><br /><br />
</div>
</div>
<!-- end left sidebar -->
<!-- start right sidebar -->
<div class="rightcolumn sidebar" id="sidebar-right">
<div class="rightpadding">
<div class="content">
<div id="topten">
<h3>{writeTopTenHeader} <a href="feed/topten/rss.php" target="_blank"><img src="images/rss.png" width="28" height="16" alt="RSS" /></a></h3>
{writeTopTenRow}
</div>
</div>
<div class="content">
<div id="latest">
<h3>{writeNewestHeader} <a href="feed/latest/rss.php" target="_blank"><img src="images/rss.png" width="28" height="16" alt="RSS" /></a></h3>
{writeNewestRow}
</div>
</div>
</div>
</div>
<!-- end right sidebar -->
<!-- start main content -->
<div class="centercolumn">
<div class="centerpadding">
<div class="main-content" id="main">
{writeContent}
</div>
</div>
</div>
<!-- end main content -->
</div>
<!-- end columns -->
<div class="clearing"></div>
<!-- start footer --><br /><br /><br /><br/>
<!-- end footer -->
<!-- start debug messages -->
{debugMessages}
<!-- end debug messages -->
</div>
</div>
</td>
</tr>
</table>
</body>
</html>
Code: Select all
/**
* $Id: style.css,v 1.4.2.8 2006/01/02 12:47:16 thorstenr Exp $
*
* This is the main style sheet file for phpMyFAQ 1.5
* If you want to change only the colours, use colors.css
*
* @author Jens Grochtdreis <jens@grochtdreis.de>
* @author Thorsten Rinne <thorsten@rinne.info>
* @since 2004-06-02
* @copyright (c) 2004-2006 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*/
/**
* main definitions
*
* NOTE: You may remove them because they are global
*/
.fixcenter {
width: 900px;
border: solid; border-width: 1px;
background: #ffffff;
color: #000000;
margin: auto;
margin-top: 20px;
text-align: left;
}
TR.headerNavigation {
background: #006BB4;
}
TD.headerNavigation {
font-family: Verdana, Arial, sans-serif;
font-size: 9.5px;
background: #006BB4;
color: #ffffff;
font-weight : bold;
}
A.headerNavigation {
color: #FFFFFF;
}
A.headerNavigation:hover {
color: #ffffff;
}
body, td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
body, h1, h2, h3, h4, h5, h6, div, p, table, td, ul, ol, li, dd, dt, dl, blockquote, address, hr, pre {
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: normal;
font-size: 100%;
}
a {
text-decoration: none;
color: #006F2F;
}
a:hover {
text-decoration: underline;
}
h1 {
font-size: 28px;
font-weight: bold;
}
h2 {
font-size: 16px;
font-weight: bold;
}
h3 {
font-size: 14px;
font-weight: bold;
}
form {
margin: 0;
padding: 0;
}
fieldset {
margin-bottom: 1em;
padding: .5em;
}
img {
border: 0;
}
pre, code {
font-size: 11px;
}
hr {
height: 1px;
border: 1px solid;
color: #D4D2D2;
}
p {
padding: 0;
margin: 0;
margin-bottom: 0.8em;
}
code {
white-space: pre;
}
.invisible {
display: none;
}
/**
* Header definitions
*/
#header {
position: relative;
min-height: 54px;
height: 5em;
padding: 0;
margin: 0;
margin-bottom: 1em;
height: 3em;
padding: 15px 0;
}
.header {
margin : 0px;
padding : 0px;
}
/* phpMyFAQ title */
#header h1 {
padding-left: 10px;
}
#header h1 a {
text-decoration: none;
}
/**
* Main navigation
*/
#header ul {
width: auto;
position: absolute;
bottom: 0;
right: 0;
margin: 0;
padding: 0 15px 0 0;
list-style: none;
}
#header li {
float: right;
padding: 0 6px 0 0;
margin: 0 1px 0 0;
display: inline;
white-space: nowrap;
}
#header ul a {
float: left;
display: block;
padding: 10px 4px 4px 10px;
font-weight: bold;
font-size: 10px;
text-decoration: none;
}
#header ul a:hover {
text-decoration: underline;
}
/**
* Categories
*/
#categories {
width: 185px;
padding: 0;
font-size: 10px;
border: 0px solid;
}
#categories ul {
list-style: none;
margin: 0;
padding: 0;
border: none;
}
#categories li {
margin: 0;
border-left: 10px solid;
}
#categories li a {
display: block;
padding: 3px 5px 5px 0.5em;
border-bottom: 0px solid;
text-decoration: none;
height: 100%; /* stupid IE fix */
}
html>body #categories li a {
width: auto;
}
#categories li ul li {
margin: 0;
border-left: 0px
}
#categories li ul a {
padding-left: 15px;
}
#categories ul ul ul a {
padding-left: 25px;
}
#categories ul ul ul ul a {
padding-left: 35px;
}
#categories .active {
}
#categories .subcat a {
}
#categories .subcat .active {
}
/**
* Search box and language selection box
*/
#search, #langform {
margin-top: 0px;
border: 0px solid;
padding: 5px;
}
#search fieldset, #langform fieldset {
display: inline;
font-size:8pt; font-family:verdana, arial, helvetica
border: 0;
}
#search input[type=text], #search .inputfield, #langform .inputfield {
border: 1px solid;
width: 140px;
}
#search input[type=submit], #langform input[type=submit] {
margin-top: 3px;
padding: 0;
border: 1px solid;
margin-left: 5;
}
CHECKBOX, RADIO,INPUT, SELECT, TEXTAREA {
font-size:8.5pt; font-family:verdana, arial, helvetica
}
/**
* Number of current users
*/
#useronline {
margin-top: 10px;
text-align: center;
}
/**
* Top 10 and Latest areticles
*/
#topten, #latest {
margin-bottom: 20px;
}
#topten h3, #latest h3 {
font-size: 12px;
border-bottom: 1px solid;
margin-bottom: 5px;
padding-bottom: 2px;
}
#topten ol, #latest ol {
list-style-type: decimal;
}
#topten li, #latest li {
list-style-type: decimal;
}
/**
* Main content
*/
.main-content {
padding: 0;
margin: 0;
line-height: 1.3;
}
.main-content h2, .main-content h3 {
border-bottom: 1px solid;
margin-bottom: 7Px;
}
.main-content h2#article_category {
font-size: 11px;
font-style: italic;
margin: 5px 0 5px 0;
border-bottom: none;
}
.main-content ul, ol {
padding-left: 1em;
}
.main-content li {
margin-left: 20px;
}
/**
* Main content - news section
*/
.main-content #news h3 {
font-size: 14px;
border: 0;
margin-bottom: 7px;
}
.main-content #news .block {
margin-top: 7px;
margin-bottom: 7px;
}
.main-content #news .date {
font-size: 80%;
margin-bottom: 12px;
}
/**
* Table definitions in the main content column
*/
.main-content table {
overflow: scroll;
padding: 0;
margin: 0;
}
td, th, .main-content td {
padding: 0px;
margin: 0;
}
.main-content th {
border: 0;
padding: 2px;
text-align: center;
vertical-align: middle;
}
/**
* Form and Fieldset definitions in the main content column
*/
.main-content form {
float: left;
display: block;
width: 99%;
}
.main-content fieldset {
border: 1px solid;
}
.main-content textarea.inputarea, .main-content form .inputfield, .main-content select {
margin: 2px;
border-width: 1px;
border-style: solid;
}
.main-content form input[type=radio], .main-content form input[type=checkbox] {
border: 0;
}
.main-content label.left {
float: left;
text-align: right;
width: 150px;
margin-right: .3em;
}
.main-content form br {
clear: both;
}
.main-content #article_categories {
float: right;
width: 220px;
margin: 0 0 10px 20px;
}
.main-content #article_categories fieldset {
}
.main-content #article_categories legend {
}
.main-content #article_categories ul {
list-style: none outside;
margin-left: 0px;
}
.main-content #article_categories ul li {
margin: 0;
padding: 0;
}
/**
* Submit button definitions
*/
input[type=submit] {
border: 2px solid;
padding: 2px 4px;
margin-left: 0;
}
/**
* Comments
*/
.comment {
padding: 1.0em;
margin: 0.5em 0;
}
/**
* Left and right sidebar definitions
*/
.sidebar {
padding: 0;
margin: 0;
}
body {
margin: 0px;
padding-top: 4px;
padding-left: 4px;
padding-right: 4px;
}
* html>body {
margin-right: -3px; /* IE hack */
}
div {
border: 0;
margin: 0px;
padding: 0px;
}
/**
* Main wrapper around the div containers
*/
#wrapper1 {
min-width: 710px;
max-width: 1200px;
}
#wrapper1, #wrapper2 {
margin: 0px;
padding: 0px;
}
/**
* Main columns definitions
*/
.columns {
border: none;
margin-top: 0px;
}
.leftcolumn {
float: left;
left: 0px;
width: 185px;
margin: 0px;
padding: 0px;
}
.rightcolumn {
position: static;
float: right;
width: 185px;
margin: 0px;
padding: 0px;
padding-right: 6px;
}
.centercolumn {
margin: 0px;
padding: 0px;
margin-right: 205px;
margin-left: 205px;
}
/**
* Padding definitions for the columns
*/
.centerpadding, .leftpadding, .rightpadding {
margin: 0px;
padding: 0px;
}
.rightpadding {
padding-left: 0;
}
.centerpadding {
padding-left: 12px;
padding-right: 12px;
}
.clearing {
height: 0;
margin: 10px;
clear: both;
display: none;
}
/**
* Definitions for version info and copyright on contact page
*/
#version {
margin-top: 20px;
text-align: center;
}
#copyright {
margin-top: 12px;
font-size: 10px;
text-align: center;
}
/**
* Footer definitions
*/
#footer {
margin-top: 10px;
clear: both;
border-top: 1px solid;
padding-top: 10px;
text-align: right;
}
#footer p#copyrightnote {
text-align: center;
}
Code: Select all
/**
* $Id: colors.css,v 1.1.2.3 2006/01/02 12:47:16 thorstenr Exp $
*
* In this CSS file you'll find all color defintions for phpMyFAQ
*
* @author Jens Grochtdreis <jens@grochtdreis.de>
* @author Thorsten Rinne <thorsten@rinne.info>
* @since 2005-03-12
* @copyright (c) 2005-2006 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*/
/**
* Main body
*/
html, body {
background: #D2D2D2;
color: #000000;
}
/**
* the header with the title
*/
#header {
background: #008427;
color: #ffffff;
}
#header h1 a {
color: #E48428;
}
#header ul a {
color: #ffffff;
}
/**
* Categories
*/
#categories {
background-color: #EDF2F2;
border-color: #999999;
}
#categories li {
border-color: #008427;
}
#categories li a {
border-color: #D0D9D9;
background-color: #EDF2F2;
color: #000000;
}
#categories li a:hover {
background-color: #DCE0E0;
color: #000000;
}
#categories .active {
background-color: #6DC96D;
}
#categories .subcat a {
background-color: #D5F0D5;
}
#categories .subcat .active {
background-color: #6DC96D;
}
/**
* Search box and language selection box
*/
#search, #langform {
border-color: #999999;
background-color: #EDF2F2;
}
#search input, input[type=text] {
background: #ffffff;
border-color: #999999;
}
#search input[type=text]:focus {
background: #f5f5f5;
}
/**
* Top 10 and Latest areticles
*/
#topten h3, #latest h3 {
border-color: #C2BEBE;
}
#topten ol, #latest ol {
}
#topten li, #latest li {
}
/**
* Main content
*/
.main-content h2, .main-content h3 {
color: #000000;
border-color: #C2BEBE;
}
/**
* Table definitions in the main content column
*/
.main-content table {
border-color: #a9a9a9;
}
td, th, .main-content td {
border-color: #a9a9a9;
}
.main-content th {
border-bottom-color: transparent;
}
/**
* Fieldset definitions in the main content column
*/
.main-content fieldset {
border-color: #C2BEBE;
}
/**
* Form definitions in the main content column
*/
.main-content form textarea, .main-content form .inputfield {
color: #333333;
background-color: #ffffff;
border-color: #e7e7e7;
border-top-color: #999999;
border-left-color: #999999;
}
.main-content form textarea:focus, .main-content form input[type=text]:focus {
background: #f5f5f5;
}
.main-content form input[type=radio], .main-content form input[type=checkbox] {
background-color: transparent;
}
select {
background-color: #ffffff;
color: inherit;
}
/**
* Submit button definitions
*/
input[type=submit] {
color: Black;
background: #EDF2F2;
border-color: #ffffff;
border-bottom-color: #dddddd;
border-right-color: #dddddd;
}
/**
* Highlighted search result
*/
.highlight {
background-color: #EDF2F2;
font-weight: bold;
border: 1px dotted #008427;
}
/**
* Footer definitions
*/
#footer {
color: #999999;
border-color: #C2BEBE;
}
#footer, #footer a, #footer a:visited {
color: #999999;
}