[opgelost]Logo bovenaan de pagina plaatsen in CMSMS 1.6
Posted: Tue Jul 21, 2009 10:46 am
Beste CMSMS,
ik dacht het een beetje onder de knie te hebben, maar de nieuwe versie test mijn echte kennis weer :-[ Het lukt me niet een logo bovenaan de site te plaatsen, het moet toch in de volgende code geplaatst worden? In de stylesheet 'Layout: Left sidebar + 1 column' In het vetgedrukte heb ik mijn afbeelding geplaatst, verschijnt echter niet.....iemand een tip??
div#header h1 a {
/* you can set your own image here */
background: url(images/cms/Logo.jpg) no-repeat 0 0px;
/* this will make the "a" link a solid shape */
display: block;
/* adjust according your image size */
height: 130px;
/* this hides the text */
text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
text-decoration: none;
}
div#header h1 {
margin: 0;
padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
line-height: 0;
font-size: 0;
/* this will keep IE6 from flickering on hover */
background: url(images/cms/Logo.jpg) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
float: right;
line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
font-size: 1.5em;
/* keeps the size uniform */
margin: 35px 65px 0px 0px;
/* adjust according your text size */
color: #f4f4f4;
}
ik dacht het een beetje onder de knie te hebben, maar de nieuwe versie test mijn echte kennis weer :-[ Het lukt me niet een logo bovenaan de site te plaatsen, het moet toch in de volgende code geplaatst worden? In de stylesheet 'Layout: Left sidebar + 1 column' In het vetgedrukte heb ik mijn afbeelding geplaatst, verschijnt echter niet.....iemand een tip??
div#header h1 a {
/* you can set your own image here */
background: url(images/cms/Logo.jpg) no-repeat 0 0px;
/* this will make the "a" link a solid shape */
display: block;
/* adjust according your image size */
height: 130px;
/* this hides the text */
text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
text-decoration: none;
}
div#header h1 {
margin: 0;
padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
line-height: 0;
font-size: 0;
/* this will keep IE6 from flickering on hover */
background: url(images/cms/Logo.jpg) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
float: right;
line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
font-size: 1.5em;
/* keeps the size uniform */
margin: 35px 65px 0px 0px;
/* adjust according your text size */
color: #f4f4f4;
}