Author Topic: Copyright Hinweis plötzlich oben rechts?  (Read 3346 times)

0 Members and 1 Guest are viewing this topic.

Offline Moses

  • Pre-Newbie
  • Posts: 2
    • View Profile
Copyright Hinweis plötzlich oben rechts?
« on: November 30, 2006, 03:09:39 PM »
Hallo zusammen,

erstmal ein riesen Kompliment an alle welche dieses Script ins Leben gerufen haben und daran mitarbeiten - ist echt  das beste was ich bis jetzt gesehen habe - da kommt so schnell nichts ran!

Nun zu meinem Problem:

Ich habe in der "home.html" mein Template (default!) zentriert ausgerichtet. Hat auch alles geklappt Doch seit dem steht der Copyright Hinweis oben rechts und nicht mehr unten mittig. In der \includes\header.php steht beim Copyright Hinweis "<center>.

Ich konnte bisher hier im Forum keine Hilfe finden - es hat zwar schonmal jemand dieselbe Frage gestellt aber auch noch keine Antwort bekommen.

Würde mich freuen wenn mir jemand helfen kann.

DANKESCHÖN!

Gruß
Matthias

manurom

  • Guest
Re: Copyright Hinweis plötzlich oben rechts?
« Reply #1 on: November 30, 2006, 03:38:36 PM »
Hello;
try this: in your "home.html", at the end, find:
[qcode]</table>
{footer}[/qcode]

and replace by:
[qcode]<tr><td><br />{footer}</td></tr>
</table>
[/qcode]

I tried, it works.

Offline Moses

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Copyright Hinweis plötzlich oben rechts?
« Reply #2 on: November 30, 2006, 07:43:21 PM »
Hey,

that works great! Thanks a lot!!

 :?: But please explain me what you did with this html code  - thanx.


manurom

  • Guest
Re: Copyright Hinweis plötzlich oben rechts?
« Reply #3 on: November 30, 2006, 08:38:45 PM »
Hello;
you began your code with a table aligned to left.
This table ends before the {footer} tag. This tag calls your footer.html file, which contains a paragraph aligned center. So the tag had to be centered in the page.
To avoid that, I thought it was better to embed it in the table, to keep the left alignment of the table, and to have {footer} centered at the middle of this table.
You will have to do the same thing with all the html files in your template.


EDITED
: I've found an annoying issue in IE, because the </body> and </html> tags are before the </table> tag.

To solve it, and stay HTML compliant, your "home.html" should finish like this:
Original:(I mean the original provided with the script)
[qcode]    </td>
  </tr>
</table>
{footer}[/qcode]

Modified:
[qcode]    </td>
  </tr>
{footer}[/qcode]

And the code of the file "footer.html" should be like this:
[qcode] <tr>
    <td><br />{if has_rss}
<p align="center">
  <a href="{rss_url}"><img src="{template_url}/images/rss.gif" border="0" width="15" height="15" alt="{rss_title}" /></a>
</p>
{endif has_rss}

{cp_link}
<!--
    Bitte beachten Sie, dass der folgende Copyrighthinweis
    auf JEDER Seite die von 4images ausgegeben wird sichtbar
    sein MUSS. Schriftart, Farbe etc. dürfen an die eigene
    Website angepasst werden, der Hinweis darf aber unter
    KEINEN Umständen entfernt oder unsichtbar gemacht werden.
    Auch muss der Hyperlink zu http://www.4homepages.de intakt
    bleiben. Diese Bedingung ist Bestandteil der Lizenz dieser
    Software. Lesen Sie die Lizenz.txt Datei für weitere
    Informationen.
   
    Please note that the following copyright notice
    MUST be displayed on each and every page output
    by 4images. You may alter the font, colour etc. but
    you CANNOT remove it, nor change it so that it be,
    to all intents and purposes, invisible. The hyperlink
    http://www.4homepages.de must also remain intact.
    These conditions are part of the licence this software
    is released under. See the Licence.txt file for
    more information.
// -->
{copyright}
   </td>
  </tr>
</table>
</body>
</html>[/qcode]

By this the ending code of the table appears before the ending codes of the BODY and HTML tags.