Hallo miteinander:razz:,
da ich die Nadel im Heuhaufen nicht finde, wäre es mir eine große Hilfe (da ich sonst den PC zum Fenster rauswerfen muss) wenn mir jemand einen Tipp geben könnte. Wenn ich in meinem Blog nach einem Stichwort suche, erscheinen Artikel und Seiten als Ergebnisse. Die Artikel-Ergebnisse werden richtig dargestellt, allerdings sind die Seiten-Ergebnisse stark nach links verschoben. Da ich nicht mehr weiterweiß, wo der Fehler liegt bin ich schon jetzt um jeden Hinweis dankbar. Da der css Code für eine Nachricht zu lang ist, ist meine gleich folgende Antwort auf diesen Artikel die zweite CSS Datei:smile:
Vielen Dank und beste Grüße,
Frank
style.css
*****
PHP
@import url("css/suckerfishoriginal.css");
@import url("css/tabs.css");
Theme Name: Webbutveckling
/* ************** GENERAL RESET ************** */
* {
margin: 0;
padding: 0;
}
/* CLEARFIX */
.clearfix {
clear:both;
}
body {
color:#000000;
font-family:Verdana;
font-size:12px;
text-align:center;
background: url(img/bg_1.png) center top no-repeat;
line-height:1.5;
}
a {
text-decoration:none;
color: #000069;
}
a:hover {
text-decoration: underline;
}
/* Headings
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
color: #111;
font-family: Verdana;
font-weight: normal;
}
h1 {
font-size: 0em;
line-height: 1;
margin-bottom: 0.5em;
}
h2 {
font-size: 2em;
margin-bottom: 0.75em;
color:#000000;
}
h3 {
font-size: 15px;
color:#000000;
font-weight:bold;
line-height: 1;
margin-bottom: 1em;
margin-left: 17px;
}
h4 {
font-size: 16px;
font-weight:bold;
text-decoration:none;
line-height: 3.0;
margin:0px 0px 0px 12px;
text-align: center;
border-bottom: 1px dotted #000;
}
h5 {
font-size: 1em;
font-weight: bold;
margin-bottom: 1.5em;
}
h6 {
font-size: 1em;
font-weight: bold;
}
/* Text elements
-------------------------------------------------------------- */
p {
margin: 0 0 1.5em;
}
ul, ol {
margin: 0 0 1em 1em;
}
li {
margin-left: 1.5em;
line-height: 1.5em;
}
dt {
font-weight: bold;
}
dd {
margin: 0 0 1em 2em;
}
blockquote {
margin: 1em 0 1em 1.5em;
padding: 0 0 0 1.5em;
font-style: italic;
color: #666;
}
abbr, acronym {
border-bottom: 1px dotted #666;
}
pre {
font: 1em 'Courier New', Courier, monospace;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
background-color:#E8F2FB;
border: solid 1px #CADFEF;
color:#333333;
padding:10px;
margin: 0 0 1em 0;
}
/* Tables
-------------------------------------------------------------- */
table {
margin: 1.4em auto;
}
th {
border-bottom: 2px solid #ccc;
font-weight: bold;
}
td {
border-bottom: 1px solid #ddd;
}
th, td {
padding: 4px 10px 4px 0;
}
tfoot {
font-style: italic;
}
caption {
background: #000069;
color:#ffffff;
}
/* Use this if you use span-x classes on th/td. */
table .last {
padding-right: 0;
}
/* **************** CONTAINER *************** */
#container {
margin:0 auto;
padding:0;
width:1000px;
text-align: justify;
}
/* **************** HEADER *************** */
#header {
height:280px;
background: transparent url(images/header.png) no-repeat left top;
margin:0;
padding:0;
width:1000px;
}
#logo {
float:left;
width: 470px;
margin:24px 0 0;
}
#header a img {
border: none;
margin: 0;
padding: 0;
}
#header h1 a {
text-decoration:none;
color:#fff;
margin: 0 0 0 24px;
}
#header #desc {
margin: 0 0 0 24px;
color:#fff;
clear:both;
}
/* **************** Content *************** */
#content {
width:1000px;
text-align: justify;
clear: both;
background:url(images/bg_content.png) repeat-y center top;
}
#main {
float:left;
width:680px;
margin-left:10px;
}
/* Search */
#searchbox {
float: left;
width: 250px;
margin: 0px;
padding: 0px;
height: 43px;
}
#searchform {
margin: 0px;
padding: 0 0 6px;
float: left;
height: 37px;
width: 97%;
overflow: hidden;
}
#searchform #sbox {
margin: 0px;
padding: 0px;
float: left;
height: 26px;
width: 100%;
}
#sbox input {
width: 96%;
border-width: 1px;
float: left;
margin: 0 0 6px;
padding: 4px;
color: #333333;
font-family: Verdana;
font-size: 11px;
}
#sbutton {
margin: 0px;
padding: 0px;
float: right;
}
select {
border:1px solid #1D1BA5;
width:100%;
margin: 6px 0 0 0;
}
/* SIDEBAR */
#sidebar {
width: 300px;
float:right;
padding-top: 0px;
}
.widget {
margin: 0 0 15px 0;
padding: 0 30px 0 0;
list-style-type: none;
}
.widget ul, ul.sidebartabs {
list-style-type: none;
padding: 0;
margin: 0 0 10px ;
}
.sidebartabs li {
background-image: url(images/ullibullet.png);
background-repeat: no-repeat;
background-position: 0 50%;
padding: 3px 0 3px 20px;
margin: .4em 0;
font-size:11px;
}
.widget li {
list-style-type: none;
padding: 0;
margin: 0 ;
}
#sidebar h3 {
margin:10px 30px 0 0;
padding: 6px 6px;
}
#sidebar .widget ul li a {
display: block;
background: transparent url(images/sidebar_grey.jpg) no-repeat left top;
padding: 8px 8px;
text-decoration: none;
border-bottom: 1px dotted #000;
font-family: Verdana;
color:#000000;
font-size:12px;
}
#sidebar .widget a:hover {
background: transparent url(images/sidebar_blue.jpg) no-repeat left top;
color: #000000;
}
#sidebar .widget ul li ul {
padding: 0;
text-decoration: none;
border-bottom: 1px dotted #000;
margin: 0 0 8px;
}
#sidebar .widget ul li ul li a {
padding: 6px 0 6px 24px ;
text-decoration: none;
border: none;
}
#sidebar .widget ul li ul li ul {
padding: 0;
text-decoration: none;
border: none;
margin: 0 ;
}
#sidebar .widget ul li ul li ul li a {
padding: 6px 0 6px 36px ;
text-decoration: none;
border: none;
}
#sidebar .widget li.current_page_parent a {
background: transparent url(images/sidebar_blue.jpg) no-repeat left top;
color: #000000;
}
#sidebar .widget li.current_page_item a {
background: transparent url(images/sidebar_blue.jpg) no-repeat left top;
color: #000000;
}
/* POST */
.post {
padding: 12px 8px 12px 30px;
margin: 0 0 8px;
}
.post h2 {
margin: 20px 8px 12px 6px;
padding: 0;
height: 60px;
background: transparent url(images/headline.jpg) no-repeat left top;
width: 650px;
}
.post h2 a {
padding: 0 12px;
line-height: 60px;
color: #000000;
margin-left:45px;
text-decoration: none;
}
.sticky h2 {
margin: 0;
padding: 0;
height: 40px;
background: #970f00;
width: 100%;
}
.post h2.pagetitle {
text-align: left;
padding: 0px 0px 0px 60px;
line-height: 60px;
color: #000000;
}
.post .entry, .post .entrytext {
padding:5px 12px 5px;
}
.postmetadata {
padding: 5px 12px 0;
clear: left;
}
.time, .category, .tags, .commenter, .author, .edit {
padding: 0 10px 0 20px;
}
.time {
background: url(images/calendar.gif) no-repeat 0 0;
}
.category {
background: url(images/folder.gif) no-repeat 0 .1em;
}
.tags {
background: url(images/tags.gif) no-repeat 0 .2em;
}
.commenter, .author {
background: url(images/commenter.gif) no-repeat 0 .1em;
}
.edit {
background: url(images/edit.gif) no-repeat 0 0;
}
/* .more-link {
padding: 0 20px 0 0;
background: url(images/comment.gif) no-repeat right .2em;
}*/
.post p {
}
.post img {
max-width: 500px;
height: auto;
}
code {
font-family: Verdana;
}
.post ul, .post ol {
list-style-type: none;
padding: 0;
margin: 0 0 0 1em;
}
.post ul li, .post ol li {
background-image: url(images/ullibullet.png);
background-repeat: no-repeat;
background-position: 0 50%;
padding: 3px 0 3px 20px;
margin: .4em 0;
}
Alles anzeigen