Pagina 1 van 1

Problemen met simple_header.

Geplaatst: 25 jul 2006, 11:57
door gies
Ik ben een mod aan't installeren die prive berichten in een CSS venster zet. de opdracht is:

Code: Selecteer alles

#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/simple_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
 /* General page style. The scroll bar colours only visible in IE5.5+ */
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
/*-- mod : Foxy in a box --------------------------------------------------------------------------*/
/*-- add */
div#private_message{
        font:10px Tahoma;
        padding:2px;
        position:absolute;
        top:10%;
        left:30%;
        width:400px;
        height:140px;
        border:1px solid silver;
        background:#E5E5E5;
}
/*-- end mod : Foxy in a box ----------------------------------------------------------------------*/
#
dit is mijn simple_header:

Code: Selecteer alles

<!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" -->
<!-- <html xmlns="http://www.w3.org/1999/xhtml"> -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">

<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"  />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}

<title>{SITENAME} :: {PAGE_TITLE}</title>

<link rel="stylesheet" href="templates/FSDark/{T_HEAD_STYLESHEET}" type="text/css">

</head>

<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
{MSG_BOX}

<span class="gen"><a name="top"></a></span>
Ik heb 'm overal proberen tussen te zetten maar ik krijg steeds errors.

Kan iemand me vertellen waar ik dat stuk moet zetten?

Thanx!

Geplaatst: 25 jul 2006, 12:01
door svenn

Code: Selecteer alles

div#private_message{ 
        font:10px Tahoma; 
        padding:2px; 
        position:absolute; 
        top:10%; 
        left:30%; 
        width:400px; 
        height:140px; 
        border:1px solid silver; 
        background:#E5E5E5; 
dit moet in templates/jouwtemplates/jouwtemplate.css helemaal bovenaan

Geplaatst: 25 jul 2006, 12:14
door gies

Code: Selecteer alles

#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/subSilver.css
#
#-----[ FIND ]------------------------------------------------
#
 /* General page style. The scroll bar colours only visible in IE5.5+ */
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
/*-- mod : Foxy in a box --------------------------------------------------------------------------*/
/*-- add */
div#private_message{
        font:10px Tahoma;
        padding:2px;
        position:absolute;
        top:10%;
        left:30%;
        width:400px;
        height:140px;
        border:1px solid silver;
        background:#E5E5E5;
}
/*-- end mod : Foxy in a box ----------------------------------------------------------------------*/
#
Dat heb ik al ...

Het probleem zit 'm echt in de simple_header, want bij een andere template heb ik de simple_header wel kunnen veranderen.

Maar de simple_header van deze template is zo anders dat ik niet weet waar ik dat stuk moet zetten....

Geplaatst: 25 jul 2006, 12:27
door Paul
Die kan je overslaan, staat al in je externe css ;)

Geplaatst: 25 jul 2006, 12:27
door svenn
owja
mislezen simpel vergeten :p


tussen <head></head>

Code: Selecteer alles

<style type="text/css">
div#private_message{ 
        font:10px Tahoma; 
        padding:2px; 
        position:absolute; 
        top:10%; 
        left:30%; 
        width:400px; 
        height:140px; 
        border:1px solid silver; 
        background:#E5E5E5; 
</style>

Geplaatst: 25 jul 2006, 12:44
door gies
Inderdaad, het werkt!

Geplaatst: 25 jul 2006, 12:45
door Salomon
Waar is die simple_header eigenlijk voor?

Geplaatst: 25 jul 2006, 12:51
door Paul
svennson schreef:owja
mislezen simpel vergeten :p


tussen <head></head>

Code: Selecteer alles

<style type="text/css">
div#private_message{ 
        font:10px Tahoma; 
        padding:2px; 
        position:absolute; 
        top:10%; 
        left:30%; 
        width:400px; 
        height:140px; 
        border:1px solid silver; 
        background:#E5E5E5; 
</style>
Als die al in de css file staat, is het nog een keer in de simple header zetten onzin...

Geplaatst: 25 jul 2006, 12:58
door svenn
als de mod het voorschrijft :roll: is het niet mij maar de modmaker die fout is. simple_header is voor popups dacht ik.