Problems to show correctly flags from a {lang} tag in the menu

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
ottyscom
Forum Members
Forum Members
Posts: 154
Joined: Tue Nov 13, 2007 12:01 am

Problems to show correctly flags from a {lang} tag in the menu

Post by ottyscom »

Hello

I have a Problem on mi webpage

www.megatopradio.com/_newpage

the flags generated from the {lang} Tag will not showen correctly. The flags will show not horizontal.

At my other page www.ottyscomputerservice.com/_newpage the flaggs will show correctly.

I have used the same code only the flaggs on megatopradio.com are bigger.

this is my code at the template:


 

{* Start lang *}               
                   
          {lang}
       
{menu template='simple_navigation.tpl' collapse='1'}



 


this is my code at the stylesheet:

div#lang {
    position: absolute;
    right:  200px;
    top:  110px;


Can anywhere help me? Where is the problem?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by Dr.CSS »

I think it may be coming from these not being written correctly...













Should be...







It's showing a bunch of errors in the other parts of the page that I know are not errors...
ottyscom
Forum Members
Forum Members
Posts: 154
Joined: Tue Nov 13, 2007 12:01 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by ottyscom »

Hi Mark!

Many many thanks to give me the solution of my errors. i was searched them many time. So now the errors are eliminated. thanks for your help.

at another web www.otschuster.com i have one error too but i don't can eliminate it. i can not find the problem.

can you help me here?

thank you

ottyscom
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by Dr.CSS »

The if IE7 call for a script is written wrong...









Should be...






ottyscom
Forum Members
Forum Members
Posts: 154
Joined: Tue Nov 13, 2007 12:01 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by ottyscom »

Ok Great! many thanks! The error is solucioned with your help :-)

Now i have another 2 Questions.

The First: How can i integrate the smf Forum in my cmsmadesimple site?

The Second: I will place the server time (ticker) at my page header at right. So i was found a code but i don't know how tu put in on the cmsmadesimple correctly for funcioning:

This is the code:





);

function UhrzeitAnzeigen()
{
    if(!document.all && !document.getElementById)
    {
        return;
    }

    var Stunden = Serverzeit.getHours();
    var Minuten = Serverzeit.getMinutes();
    var Sekunden = Serverzeit.getSeconds();
    Serverzeit.setSeconds(Sekunden+1);

    if(Stunden

Uhrzeit des Webservers mit Javascript und PHP dynamisch anzeigen


Uhrzeit:



HAve you an solution of my two questions?

Thank You

Ottyscom
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by Dr.CSS »

I've made smf look like it was part of a site by adding the site menu to the top of it's html/template but it was hard coded not dynamic, you have to render a page on your site then look at the source and copy the menu ul li and paste it into the smf template and then use your CSS for the menu adding it to the CSS for your forum...

There is a tag for the date time in Tags, the help for it explains how to format it...
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by cubix »

http://forum.cmsmadesimple.org/index.ph ... 785.0.html

regarding the code pasted.

you can use {literal} and {/literal} tags around the js. and UDT for the one line of php.
ottyscom
Forum Members
Forum Members
Posts: 154
Joined: Tue Nov 13, 2007 12:01 am

Re: Problems to show correctly flags from a {lang} tag in the menu

Post by ottyscom »

This i have do but how do i put the body onload ?

The body onload in cmsmms not works :-(
Post Reply

Return to “Layout and Design (CSS & HTML)”