Mein Theme stellt Zeilenumbrüche falsch/nicht dar.
Beispiel:
aus
wird
Mein CSS:
Code
* {
margin: 0;
padding: 0;
}
body {
background: #313131 url() repeat scroll;
color: black;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 0;
padding: 0;
}
p {
font-size: 100%;
padding: 0;
}
h2 {
font-size: 140%;
}
h3 {
font-size: 120%;
}
h4, h5, h6 {
font-size: 110%;
}
h1, h2, h3, h4 {
font-family: verdana, arial, helvetica, geneva, sans-serif;
clear: both;
margin-top: 0px;
padding: 2px 0;
}
blockquote p:before {
content:open-quote;
font-size: 1.5em;
}
blockquote p:after {
content:close-quote;
font-size: 1.5em;
}
/* ALL */
#wrap {
width: 900px;
background-color: #FFFFFF;
margin: auto;
padding: 8px;
padding-top: 0px;
border: 4px solid #414141;
border-top-width: 0px;
border-bottom-width: 0px;
}
/* HEADER */
#header {
display: none;
}
/* CONTENT */
#content {
float: left;
width: 660px;
margin-top: 10px;
padding: 5px;
border: 1px solid #AFAFAF;
background-color: #f8faf8;
}
/* LOGO */
#logo{
margin-top: 20px;
margin-bottom: 30px;
}
img {
border: none;
}
.post {
margin-bottom: 10px;
}
.post p{
}
/* SIDEBAR */
#sidebar {
float: right;
width: 220px;
margin-top: 10px;
border: 1px solid #AFAFAF;
background-color: #f8faf8;
}
/* FOOTER */
#footer {
padding-top: 10px;
}
/* LINKS */
a:link, a:visited {
font-weight: 400;
color: #154268;
text-decoration: none;
}
a:hover, a:active {
color: #000000;
text-decoration: underline;
border: none;
}
/* TOPBAR */
#topbar {
padding: 5px;
background-color: #FFFFFF;
font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
font-weight: bold;
}
/* INFO */
.info {
margin-top: 20px;
}
/* LISTS */
ul {
list-style: none;
}
/* Float Properties */
.clearfloat:after {
display:block;
visibility:hidden;
clear:both;
height:0;
content:".";
}
.clearfloat {
display:inline-block;
}
.clearfloat {
display:block;
}
/* Main or page navigation styles */
/*Main Navbar */
#nav {
background:#2D5B82;
font-size:1em;
}
#nav, #nav ul {
list-style:none;
line-height:1;
}
#nav a, #nav a:hover {
display: block;
text-decoration: none;
border:none;
}
#nav li {
float: left;
list-style:none;
border-right:1px solid #fff;
}
#nav a, #nav a:visited {
display:block;
font-weight:bold;
color: #eee;
padding:6px 10px;
}
#nav a:hover, #nav a:active {
background:#333;
text-decoration:underline;
}
.current_page_item a, #home .on {background:#000000;}
.current_page_item li a {background:#FFFFFF;}
li li.current_page_item a {background:#FFFFFF;}
.current_page_ancestor a {background:#000000;}
li.current_page_ancestor li a {background:#FFFFFF;}
/* Dropdown Menus for child pages */
#nav li ul {/*first level dropdown*/
position: absolute;
z-index: 10;
left: -999em;
height: auto;
width: 174px;
border-bottom: 1px solid #CCC;
}
#nav li ul ul {/*second level dropdown*/
margin: -2em 0 0 172px;
}
#nav li:hover ul ul, #nav li.sfhover ul ul {
left: -999em;
}
#nav li li {
width: 172px;
border-top: 1px solid #CCC;
border-right: 1px solid #CCC;
border-left: 1px solid #CCC;
background:#F4F4F4;
}
#nav li li a, #nav li li a:visited {
font-weight:normal;
font-size:0.9em;
color:#000000;
}
#nav li li a:hover, #nav li li a:active {background:#FAFAFA;}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {left: auto;}
a.main:hover {background:none;}
Alles anzeigen