Zum Inhalt springen

..einen kurzen blick auf dieses Fenster!

Erstellt am 6. Oktober 2005 · 2 Antworten · letzte Antwort am 7. Oktober 2005

Tags: HTML & CSS, Frage

berlinrider ·

#angry# wer kann mir kurz sagen, wo das problem in diesem template steckt? :o
der weiße balken am rechten bildrand muss weg! 😉
betroffene seite: http://www.chancensucher.de

antwort:bagaricante@yahoo.de

fileadmin/template/tmpl/template.tmpl:

<html>
<head>
<title>template</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<link href="./css/style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<!--###DOCUMENT_BODY###-->
<div class="page">
###PAGE_TITLE###
<div class="content_main">###CONTENT_MAIN###</div>
<div class="content_right">###CONTENT_RIGHT###</div>
<div class="footer">###FOOTER###</div>
</div>
<div class="navigation">###NAVIGATION###</div>
<div class="header">###HEADER###</div>
<!--###DOCUMENT_BODY###-->
</body>
</html>

tt_content.stdWrap.dataWrap = <div class="contentbox"><div
class="br"><img src="clear.gif" height="1" alt=""></div>|</div>
------------------------------------------
content = PAGE
content.typeNum = 0
content.includeCSS {
basic = fileadmin/template/css/basics.css
#menu = fileadmin/template/css/menu.css
}
content.bodyTag = <body bgcolor="#ffffff" topmargin="0" leftmargin="0"
marginwidth="0" marginheight="0">
content.meta.AUTHOR < temp.AUTHOR
content.meta.PUBLISHER < temp.PUBLISHER
content.meta.COPYRIGHT < temp.COPYRIGHT
content.meta.KEYWORDS < temp.KEYWORDS
content.meta.DESCRIPTION < temp.DESCRIPTION
content.meta.PAGE-TOPIC < temp.PAGE-TOPIC
content.meta.AUDIENCE < temp.AUDIENCE
content.meta.CONTENT_LANGUAGE < temp.CONTENT_LANGUAGE
content.meta.PAGE-TYPE < temp.PAGE-TYPE

content.10 = TEMPLATE
content.10 {
template = FILE
template.file = fileadmin/template/tmpl/template.tmpl
workOnSubpart = DOCUMENT_BODY
marks.PAGE_TITLE < temp.pagetitle
marks.NAVIGATION < temp.mainmenu
#marks.CONTENT_LEFT < styles.content.getLeft
marks.CONTENT_MAIN < styles.content.get
marks.CONTENT_RIGHT < temp.contentright
marks.HEADER < temp.header
marks.FOOTER < temp.footer
}

--------------------
#content.includeLibs.myLibs = fileadmin/scripts/overview.inc

temp.content.getright < styles.content.getRight

temp.content.getoverview = CONTENT
temp.content.getoverview {

table = pages
select {
#wird vom nächsten punkt übernommen
pidInList.cObject = USER
pidInList.cObject {
userFunc = user_functions->getPidListFromTree
startPid < startPointID
treeDepth = 5
}

#unterseiten der aktuellen seite
#pidInList.field = pid
#übersichtsseiten nicht mit anzeigen
begin = 0
#3 reihen mit 4 bildern, also maximal 12
#max = 12
#entfällt, da alle angezeigt werden sollen
#where = subtitle LIKE '%{$overview.product_attribute}%'
where = doktype<3
andWhere = nav_hide=0
orderBy = sorting
}
renderObj = COA
renderObj {

10 = HTML
10.value = <div class="headline">

11 = TEXT
11.field = title
/*
11.typolink {
parameter.field = uid
target = _top
}
*/

12 = HTML
12.value = </div>

20 = HTML
20.value = <div class="fliesstext">

21 = CONTENT
21.field = bodytext
21 {
table = tt_content
select {
#debug = 1
pidInList.field = uid
max = 1
where = CType='text'
andWhere = colPos=3
orderBy = colPos DESC
}
renderObj = TEXT
renderObj.field = bodytext

#stdWrap.debug = 1
stdWrap.required = true
stdWrap.crop = 400|...
stdWrap.typolink.parameter.field = uid
stdWrap.typolink.target = _top
}

22 = HTML
22.value = </div>
}
#und jetzt das ganze gestalten anhand der userfunction
#stdWrap.postUserFunc = user_functions->content2Column
}

temp.contentright = COA
temp.contentright.10 < temp.content.getright
temp.contentright.20 < temp.content.getoverview

--------------------------

temp.header = HTML
temp.header.value = <img src={$imgsource} border=0>

-----------------------------
content.includeCSS {
pagewidth = fileadmin/template/css/indexpagewidth.css
}

humpun ·

Hi,

in der CSS File :

body{
background-image: url(../img/hg.gif);
background-repeat: repeat-y;
background-color: #999999;
}

Bei der Background-Color: # Muss die gewünschte Farbe rein (grau wohl).

humpun

demeter ·

hi
würde sagen im template, da im Quelltext folgendes ausgegeben wird:

<body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

würde alle body eigenschaften über css definieren. für die anzeige zählt,
dass die letzte gelesene formatierung angezeigt wird.
ausserdem aufgefallen:

<link href="./css/style.css" rel="stylesheet" type="text/css" />

fehlt ein punkt. korrekt:

<link href="../css/style.css" rel="stylesheet" type="text/css" />