Ich habe über die site.php einen Banner eingefügt.
Im Safari sehe ich keinen schwarzen Rahmen darum und so soll es auch sein, im Firefox und IE dagegen ist ein unschöner schwarzer Rahmen zu sehen.
Safari-Ansicht: http://www.pictureupload.de/originals/pict…524_fafafaf.PNG
Firefox und IE Ansicht:
http://www.pictureupload.de/originals/pict…738_fafafaf.PNG
Der Farbcode davon lautet: #353535
Wie kann ich den auch in Firefox und IE ausblenden?
Die Farbe des Rahmens scheint wohl von dem Css-Teil hier abhängig zu sein, aber den kann ich nicht ändern weil die Schriftfabre und die Textlinks auf der Seite ja so bleiben soll.
a {color: #353535;}
a:visited {color: #353535;}
a:hover {color: #353535;}
--------------------
Hier wäre die css-Datei
Teil 1
PHP
/*
/* Various elements */
body {
background-color: #efefef;
margin: 10px 0;
font: 66% Arial, sans-serif;
color: #353535;
}
div {
margin: 0;
padding: 0;
}
p {
font-size: 1.1em;
}
a {color: #353535;}
a:visited {color: #353535;}
a:hover {color: #353535;}
code {
font-size: 1.1em;
display: block;
font-family: "Courier New", Courier, monospace;
background-color: #ffffff;
padding: 5px;
margin: 10px;
border: 1px solid #ffffff;
}
blockquote {
background: url(images/quote.png) left no-repeat;
margin: 0;
padding: 0 40px 0 40px;
text-align: justify;
font-size: 0.9em;
}
/* Main wrapper */
#wrap {
background: url(images/bg_main_withnav.png) repeat-y top left;
width: 900px;
margin: 0 auto;
border: 1px solid #000000;
}
/* Masthead --- top of header */
#masthead {
background: url(images/bg_head_top.png) no-repeat top left;
height: 250px;
margin: 0;
padding: 0;
font-family:"trebuchet ms",arial,sans-serif;
}
/* Site name, description and logo */
#masthead div.left-masthead {
float: left;
width: 820px;
height: 81px;
}
#masthead a.site-logo {
float: left;
background: url(images/bg_head_top_logo.png);
height: 40px;
width: 60px;
margin: 10px 5px 20px 20px;
}
#masthead h1 {
text-transform: uppercase;
padding: 94px 0 0 62px;
margin: 0;
font-size: 3em;
font-weight: none;
}
#masthead h1 a {
color: #ffffff;
text-decoration: none;
}
#masthead h1 a:hover {
color: #ffffff;
}
#masthead p.description {
margin: 50px 0 0 300px;
padding: 0 0 0 35px;
font-weight: bold;
color: #ffffff;
font-size: 1em;
}
/* Left hand side of masthead */
#masthead div.right-masthead {
float: right;
margin: 0;
padding: 0;
}
#masthead div.right-masthead a.rss-logo {
background: url(images/rss.png);
height: 64px;
width: 64px;
margin: 1px 9px 10px 0;
display: block;
}
#masthead div.right-masthead a.rss-logo:hover {
background: url(images/rss-hover.png);
}
/* Middle header image and text */
#header {
background: url(images/bg_head_middle.png) no-repeat top left;
height: 0x;
margin: 0;
padding: 0;
color: #353535;
}
#header #textbox {
float: right;
width: 900px;
text-align: right;
font-weight: bold;
}
#header a {
color: #353535;
text-decoration: none;
}
#header a:hover {
color: #a7bace;
}
#header h2 {
font-family:"trebuchet ms",arial,sans-serif;
padding: 20px 20px 5px 10px;
margin: 0;
font-size: 2em;
}
#header p {
font-family:"trebuchet ms",arial,sans-serif;
margin: 0;
padding: 0 20px 5px 20px;
font-size: 1.3em;
font-weight: bold;
line-height: 18px;
}
/* Horizontal navigation menu */
#navigation {
clear: both;
background: url(images/bg_head_bottom_nav.png) no-repeat top left;
height: 84px;
}
#navigation ul {
margin: 0;
padding: 0;
}
#navigation li {
margin: 0px;
height: 78px;
float: left;
list-style: none;
}
#navigation li a {
font-family:"trebuchet ms",arial,sans-serif;
display: block;
padding: 11px 14px 11px 14px;
color: #353535;
font-size: 0.5em;
text-decoration: none;
}
#navigation li a:hover {
background-color: #ffffff;
color: #353535;
}
/* Breadcrumbs and search bar */
#crumb-search {
background: url(images/bg_head_breadcrumbs.png) top left repeat-y;
height: 40px;
margin: 0;
padding: 0;
}
/* Breadcrumbs */
#breadcrumb {
float: left;
padding: 0 0 0 15px;
margin: 10px 0 0 0;
color: #000000;
font-weight: bold;
font-size: 0.9em;
width:700px;
}
#breadcrumb a {
background: url(images/bg_bullet_arrow.png) left no-repeat;
padding: 0 2px 0 10px;
text-decoration: underline;
color: #353535;
}
#breadcrumb a:hover {
color: #353535;
text-decoration: none;
}
/* Search form */
#searchbar {
float: right;
margin: 0;
padding: 0;
}
#searchbar fieldset {
border: none;
margin: 0;
padding: 0;
}
#searchform {
padding: 10px 15px 0 0;
color: #000000;
}
#searchbox {
border: 1px solid #ffffff;
height: 17px;
width: 120px;
}
#searchbutton {
background-color: #E6E6E6;
border: 1px solid #BEBEBE;
color: #808080;
padding:0;
font-size: 1em;
height: 20px;
width: 35px;
text-align: center;
cursor: pointer;
}
#searchbutton:hover {
background-color: #dcdcdc;
color: #404040;
border: 1px solid #404040;
}
/* Container wrappers */
#container {
clear: both;
margin: 0;
padding: 0;
}
#left-wrap {
width: 810px;
float: left;
margin: 0;
padding: 0;
}
/* Main content area */
#content {
float: right;
width: 750px;
margin: 0 0 240px 0;
padding: 0;
}
#content .post, #content .page {
margin: 0;
padding: 0 15px 10px 15px;
}
#content h2 {
font-size: 1.8em;
font-family:"trebuchet ms",arial,sans-serif;
margin: 0;
padding: 0;
color: #353535;
}
#content h2 a {
color: #353535;
text-decoration: underline;
}
#content h2 a:hover {
color: #353535;
text-decoration: underline;
}
#content h2.pagetitle {
border-bottom: none;
background: #ffffff url(images/bg_corner_topright.png) top right no-repeat;
font-family:"trebuchet ms",arial,sans-serif;
color: #353535;
margin: 0 15px 20px 15px;
padding: 3px 5px;
font-size: 1.3em;
}
#content .entry h1 {
font-size: 2em;
color: #353535;
}
#content .entry h2 {
font-size: 1.8em;
color: #353535;
border-bottom: none;
}
#content .entry h3 {
font-size: 1.5em;
color: #353535;
}
#content .entry h4 {
font-size: 1.1em;
color: #353535;
}
#content a {
text-decoration: underline;
}
#content a:hover {
text-decoration: underline;
}
#content p {
font-size: 1.1em;
}
#content p.prefix {
margin: 0;
padding: 0;
font-size: 1em;
}
#content p.suffix {
font-size: 0.9em;
background: #ffffff url(images/bg_corner_topright.png) top right no-repeat;
color: #353535;
padding: 5px;
font-weight: normal;
line-height: 16px;
clear: both;
}
#content p.suffix a {
color: #353535;
text-decoration: underline;
}
#content p.suffix a:hover {
color: #353535;
text-decoration: underline;
}
#content p.edit {
margin: 0;
padding: 0;
font-size: 0.9em;
}
#content ul, #content ol {
padding: 6px 0 6px 30px;
margin: 0 0 0 30px;
}
#content li {
font-size: 1.05em;
padding: 2px 0 2px 0;
}
#content ul li {
list-style: square url(images/bg_bullet_full_2.png);
}
.navigation, .bottomnavigation {
height: 15px;
}
.navigation .alignleft, .bottomnavigation .alignleft {
float: left
}
.navigation .alignright, .bottomnavigation .alignright {
float: right;
}
.entry {
overflow: hidden;
}
.entry a {
overflow: hidden;
}
.entry img {
overflow: hidden;
}
/* Monsterous hack to get IE6 to cut off an image bigger than the post area */
* html .entry p {
width: 99%;
overflow: hidden;
}
/* Sidebars */
/* Colour of right sidbar menu header */
#right-sidebar h2 {
background-color: none;
}
/* Colour of right sidebar menu body */
#right-sidebar ul ul, #right-sidebar li, #right-sidebar li li, #right-sidebar li li li {
background-color: none;
}
/* Colour of left sidebar menu header */
#sidebar h2.pages, #sidebar li h2 {
background-color: #ffffff;
}
/* Left sidebar */
#sidebar {
width: 160px;
padding: 0 0 10px 0;
margin: 0 0 0 30px;
}
#sidebar ul {
margin: 0;
padding: 0;
}
#sidebar li {
list-style: none;
}
#sidebar h2.pages {
color: #353535;
background-image: url(images/bg_corner_topright.png);
background-position: top right;
background-repeat: no-repeat;
margin: 0 0 10px 0;
padding: 5px 0 5px 20px;
}
#sidebar li h2 {
background-image: none;
color: #353535;
font-size: 1.5em;
margin: 10px 0 5px 0;
padding: 5px 0 5px 20px;
Alles anzeigen