Skip to navigation, Skip to content

General project discussion. NOT for help questions.
Post Reply
aguevara
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 21, 2008 11:58 am

Skip to navigation, Skip to content

Post by aguevara »

All,

I have just created a new site and am using the content from another box where I have installed and run CMS made simple for a long time.

The site works fine when I access it from the server itself, but it does not when I access from other machines. It displays a white background and things out of place, the text "Skip to navigation", "Skip to content" shows up on the top left.

can you please help? I think it has something to do with the stylesheet because when I use one of the out-of-the-box stylesheets, it works well.

I am using "CMS Made Simple version 1.5.3", please send me an email at anye@caripito.com if you have any suggestions. Thanks!.

The template and stylesheet I am trying to use is as follows; notice that I have been using it on other servers without any problems,

TEMPLATE











    {sitename} - {title}
   
    {metadata}
   
    {stylesheet}
   
    {cms_selflink dir="start" rellink=1} {cms_selflink dir="prev" rellink=1} {cms_selflink
    dir="next" rellink=1}
   
    {literal}

   
=b){nw=b+"px";}if(w
   

   

#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}


    {/literal}
   
   


   


   

   
   
      {anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
      {anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
   
   

   
   


   
         

           
           

     
     
        Navigation
        {menu template='cssmenu.tpl'}
     
     
     


                {global_content name='sidebar'}

                {content block='right-col-content'}
                {content}

        {* Start relational links *}

       
            {cms_selflink dir="previous" label="Previous page: "}

            {cms_selflink dir="next"}
       
        {* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}




 
           
           
       
  {search}





STYLESHEET

/* *** Generated by www.csscreator.com *** */
/* *** modified by miss monorom www.intensivstation.ch *** */
/* css released under Creative Commons License -  http://creativecommons.org/licenses/by/2.0/deed.en  */


#right img
{
    border-top:1px solid white;
    border-left:1px solid white;
    border-bottom:1px solid white;
}

body
{
    font-size: 11px;
    font-family: Verdana, Arial, SunSans-Regular, Sans-Serif;
    color: black;
    padding: 0px;
    margin: 0px;
    background:#999999;
}
a
{
    color: black;
}
a:visited
{
    color: black;
}
a:hover
{
    color: yellow;
}
a:active
{
    color: #000000;
}

h1
{
    font-size: 11px;
    text-transform: uppercase;
    border-top: 1px solid #564b47;
    border-bottom: 1px solid #564b47;
    padding: 5px 15px;
    margin: 0px;
}
h2
{
    font-size: 20px;
    font-weight: normal;
    padding: 5px 10px;
    margin: 0px;
}

img.download
{
    vertical-align: middle;
}

/* ----------container to center the layout-------- */
#container
{
    border:1px solid black;
    width: 1000px;
    padding: 0px;
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
    background-image: url( "/caripito/images/background.jpg" );
    background-repeat: no-repeat;
}
#menu
{

    height: 60px;
    padding-top:5px;
    padding-left:10px;
    position:relative;
    z-index:100;
}

/* ----------banner for logo-------------- */
#banner
{
    text-align: right;
    padding: 0px;
    margin: 0px;
    height: 125px;
}

#banner img
{
    padding: 10px 0px;
}

/* ----------outer and inner----------------- */

#outer
{
}

#inner
{
    margin: 0;
    width: 100%;
}
/* The ie/pc pecularity */

/* --------------left and right navi------------- */
#left
{
    width: 170px;
    float: left;
    position: relative;
    margin-right:20px;
    color:white;

}

#right
{   
    float: right;
    position: relative;
    margin-left: 1px;
    width:328px;
    color:white;
}

#right a{
  color:white;
}

/* -----------------content--------------------- */
#content
{
    position: relative;
    margin: 0px;
    overflow-y: auto;
    width: 470px;
    height:500px;
}
p
{
    padding: 5px 10px;
    margin: 0px;
}

pre
{
    font-size: 12px;
    padding: 5px 10px;
    margin: 0px;
}

/*  ----------------footer---------------------- */
#footer
{
   
    padding: 10px;
    margin: 0px;
    text-align: center;
}
aguevara
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 21, 2008 11:58 am

Re: Skip to navigation, Skip to content

Post by aguevara »

You can take a look at the problem by hitting www.caripito.com.

Thanks,
Angelo
anye@caripito.com
nuno

Re: Skip to navigation, Skip to content

Post by nuno »

is your server online  named  http://localhost/caripito/index.php?page=geografia   

;)

Change your config.php!
aguevara
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 21, 2008 11:58 am

Re: Skip to navigation, Skip to content

Post by aguevara »

Thanks Nuno, I appreciate it.

Obrigado
Angelo
Post Reply

Return to “General Discussion”