You are not logged in.

Controlpanel

At the moment there aren´t any members active..

Statistic

  • Members: 13113
  • Threads: 18186
  • Postings: 119693 (ø 46.07/day)
  • Greetings to our newest member: mislonly

w2d Premium-Support

Die Experten für web to date / shop to date

Facebook

  • "Paulemann" started this thread

Posts: 5,057

web/shop to date Version: 5-8.0

  • Send private message

1

Thursday, October 29th 2009, 3:49pm

[Er.-Nachbearbeitung]Validierungsproblem Kappa

Habe mich mal an die Zentrierung von Kappa gewagt, was auch gut klappte.
Ebenfalls bei den Validierungsfehlern bin ich gut voran gekommen. Aber bei einem Fehler beiße ich mir einfach die Zähne aus.

Dieser Bereich in der navi entspricht nicht den "Anforderunegn".

Source code

1
2
3
4
5
<body style="background : url(<cc:print value="&pic.backdrop.url">) repeat-y top center;">
</body>
<cc:else>
<body style="background : url(<cc:print value="&pic.backdrop.nosidebar.url">) repeat-y top center;">
</body>


Zu sehen ist das Ganze hier:
<!-- m --><a class="postlink" href="http://www.win-zeit.de/test3/">http://www.win-zeit.de/test3/</a><!-- m -->

Hat vielleicht jemand eine Tipp für mich? Hoffe nur, das ich den ganzen Bereich nicht extra zu weisen muss.

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

2

Thursday, October 29th 2009, 4:07pm

<body> bzw. </body> gehört nur 1x in die Webseite...
Gruß Conny

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

3

Thursday, October 29th 2009, 4:10pm

die news-Seite sieht auch ein bisschen komisch aus:http://www.win-zeit.de/test3/news/index.php
Gruß Conny

  • "Paulemann" started this thread

Posts: 5,057

web/shop to date Version: 5-8.0

  • Send private message

4

Thursday, October 29th 2009, 4:16pm

Bin erst mal am Start Conny.
Wenn ich das </body> entferne bin ich wieder bei drei Fehlern.

Auweiha. Bei dem zweiten Link muß ich noch mal schauen.

Sabine

Intermediate

Posts: 382

Location: Heide/Holstein

Occupation: shop owner

  • Send private message

5

Thursday, October 29th 2009, 4:21pm

Moin Bernd!
Du hast Styleanweisungen in den Body integriert und außerdem das <body> tag zweimal verwendet.
Beides geht nicht. Ich würde die Styleanweisungen in der entsprechenden CSS-Datei definieren.

LG Sabine

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

6

Thursday, October 29th 2009, 4:22pm

wenn ich das richtig verstehe jetzt willst Du unterschiedliche body-Grafiken einsetzen je nachdem ob Sidebar oder nicht?
Gruß Conny

  • "Paulemann" started this thread

Posts: 5,057

web/shop to date Version: 5-8.0

  • Send private message

7

Thursday, October 29th 2009, 5:58pm

Ist Standard unter Kappa.

Werde erst mal noch fummeln. Melde mich wieder.

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

8

Thursday, October 29th 2009, 6:06pm

statt

Source code

1
2
3
4
5
6
<cc:if cond="&sidebar.count gt 0">
<body style="background : url(<cc:print value="&pic.backdrop.url">) repeat-y top left;">
<cc:else>
<body style="background : url(<cc:print value="&pic.backdrop.nosidebar.url">) repeat-y top left;">
<body>
</cc:if>
muss ja auch heißen

Source code

1
2
3
4
5
<cc:if cond="&sidebar.count gt 0">
<body style="background : url(<cc:print value="&pic.backdrop.url">) repeat-y top left;">
<cc:else>
<body style="background : url(<cc:print value="&pic.backdrop.nosidebar.url">) repeat-y top left;">
</cc:if>

dann passt es.
Gruß Conny

  • "Paulemann" started this thread

Posts: 5,057

web/shop to date Version: 5-8.0

  • Send private message

9

Thursday, October 29th 2009, 7:30pm

Ich lasse das erst mal bis zum ersten Schneesturm liegen.
Danke Conny.

Mit der üblichen Methode komme ich erst einmal nicht weiter.

norbertE

Professional

Posts: 1,734

Location: München

Occupation: IT-Beratung

  • Send private message

10

Thursday, October 29th 2009, 10:52pm

Hallo Bernd:

Dein generierte Code der Seite ist (Auszug):

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<link rel="stylesheet" type="text/css" href="./assets/sf.css" />
<link rel="stylesheet" type="text/css" href="./assets/sd.css" />
<link rel="stylesheet" type="text/css" href="./assets/sc.css" />
</head>

<body>
<div id="zentrieren">


<body style="background : url(./images/pback.gif) repeat-y top center;"></body>

<div id="nav">

<form class="search" action="./fts.php" method="get">
<input class="search" type="text" name="criteria" maxlength="30" />
<input type="image" src="./images/psearch.gif" />
</form>

Da sieht man, dass Du einemal Body vor "zentrieren" hast und dann kommt es in nochmals. Das zweite Auftauchen ist mit deinem Code oben verbunden. Das erste Mal ist weiter vorne in der navigation.ccml

Klar: Es darf nur einmal BODY in einer HTML Seite vorkommen. Es ist noch nicht mal das </body> also der Ende Befehl es ist der <body... also der Einleitungs Befehl, der schon falsch ist.

Norbert
Hier finden Sie weitere Lösungen.