Het is nu do 9 mei 2024 - 23:32
1 resultaat gevonden
Waar zit het zwart vlak?
Hieronder zie je mijn header, alleen de zwarte headerachtergrond moet grijs worden zoals me forum achtergrond. Maar ik heb al even gezocht en kon het niet in het CSS gedeelte vinden, ziet miss 1 van jullie het?- Spoiler:
- * {
margin: 0;
padding: 0;
}
/*TGF ClearfixTony Aslett from http://www.csscreator.com*/
.clearfix:after,.ipbform2 dl:after,.maintitle:after {
content: ".";
display: block;
height: 0;
clear: both !important;
visibility: hidden;
}
*+ html .clearfix {
min-height: 1px;
clear: both;
}
* html .clearfix {
height: 1%;
clear: both;
}
*+ html .empty-clear {
line-height: 1px;
height: 1px;
}
* html .empty-clear {
line-height: 1px;
height: 1px;
}
.clear {
clear: both;
}
/*Defaults*/
body {
margin: 0 auto;
background-color: #dedede;
background-image: url('https://i.servimg.com/u/f78/13/28/05/02/bg13.png');
background-attachment: scroll;
color: #2C2C2C;
font-family: Arial,Verdana,Tahoma,sans-serif;
font-size: 12px;
line-height: 135%;
}
* html {
/* CSS properties only recognized by IE */
scrollbar-face-color: #;
scrollbar-highlight-color: #;
scrollbar-shadow-color: #;
scrollbar-3dlight-color: #;
scrollbar-arrow-color: #;
scrollbar-track-color: #;
scrollbar-darkshadow-color: #;
}
*+ html {
/* CSS properties only recognized by IE */
scrollbar-face-color: #;
scrollbar-highlight-color: #;
scrollbar-shadow-color: #;
scrollbar-3dlight-color: #;
scrollbar-arrow-color: #;
scrollbar-track-color: #;
scrollbar-darkshadow-color: #;
}
img {
border: none;
vertical-align: middle;
}
a:link {
color: #000000;
text-decoration:underline;
}
a:visited {
color: #3b3b3b;
text-decoration:underline;
}
a:hover {
color: #6a8422;
}
a:active {
color: #3b3b3b;
text-decoration:underline;
}
a:focus {
color: #000000;
}
*+ html body {
min-width: 800px;
overflow-x: hidden !important;
}
* html .minwidth_IE {
/* Hack IE min-width */
padding-left: 900px;
}
* html .container_IE {
/* Hack IE min-width */
margin-left: -900px;
position: relative;
}
* html .minwidth_IE, * html .layout_IE, * html .container_IE {
/* Hack IE min-width */
height: 1px;
}
/* ***************************Header*************************** */
div#logostrip {
min-height: 68px;
background-image: url('https://2img.net/i/fa/empty.gif');
background-repeat: #DEDEDE;
text-align: center;
}
*+ html div#logostrip {
min-height: 70px;
}
div#logostrip #logo {
display: block;
margin: 0 10px;
float: center;
}
div#logostrip #main-title,div#logostrip #main-title h1 {
padding-top: 25px;
font-size: 24px;
font-weight: bold;
font-family: Arial,Verdana,Tahoma,sans-serif;
}
div#logostrip #main-title h1 {
padding-top: 0;
}
#site-desc {
margin: 8px;
}
/* Submenu */
#submenu {
padding: 0.5em 0 0.65em;
text-align: right;
}
*+ html #submenu {
padding: 0;
}
* html #submenu {
padding: 0;
}
#submenu ul {
list-style: none;
text-align: center;
}
#submenu ul li {
/*line-height: 2em;
*/
}
#submenu ul li a {
padding: 0.5em 1em 0.65em 0;
margin: 0.5em 1em 0.65em 0;
text-decoration: none;
}
*+ html #submenu ul li a {
display: inline-block;
}
* html #submenu ul li a {
display: inline-block;
}
/*#submenu ul li a img {
display: none;
}
*/
#userlinks {
padding: 0.5em;
font-size: 0.9em;
}
#userlinks.not-connected {
text-align: center;
}
#userlinks.not-connected span {
margin: 0 0.25em;
}
#userlinks.not-connected .guest {
font-weight: bold;
}
#userlinks p.home {
float: left;
margin-left: 0.5em;
}
#userlinks p.home a {
font-weight: bold;
}
}
EDIT: Ik heb een stuk van de css code eraf gehaalt omdat het anders een tegrote post werd ^^
- op vr 5 jun 2009 - 16:58
- Zoek in: Script- en codeproblemen Archief
- Onderwerp: Waar zit het zwart vlak?
- Antwoorden: 2
- Bekeken: 1772