Help - Search - Members - Calendar
Full Version: my layout and NLPHPMail
Codegrrl.com Forums > Script Help > CodeGrrl.com Scripts > NL-Scripts
Emmita
Hi. The script is working smooth and it's easy to customise, but I have a little problem. The sidebar on the form page doesn't look as my others do. I recoded my css, and the header but the problem is now lighter but it's still there.
Here my form
Here my css
CODE

body{
    background-color:#E9DA87;
    margin: 0px;
    font-family: trebuchet ms,verdana, tahoma, arial;
    font-size: 11px;
    color: #948D7B;
    }    
#header {
    border-top: 6px solid #e6ddad;
    border-right: 6px solid #e6ddad;
    border-left: 6px solid #e6ddad;
    }
#content {
    background-color:#e6ddad;
    overflow: visible;
    }
#sidebar {
    text-align: right;
    left: 500;
    background-color:#e6ddad;
    width: 112px;
    overflow: visible;
    }    
#sidebar a{
    font-family: trebuchet ms, verdana, tahoma, arial;
    font-size: 11px;
    line-height: 12px;
    text-decoration:none;
    letter-spacing: 1px;
    color: #6D8963;
    border-right:0px;
    font-weight: bolder;
        }

#sidebar  a:hover {
    color:#186F90;
    border-left:0px;
    border-right:5px solid #6D8963;
    font-weight: bolder;
    }
    
table{
padding:5px;
}

h1 {
    FONT-WEIGHT: bold;
    FONT-SIZE: 16px;
    COLOR: #d3be49;
    FONT-FAMILY: trebuchet ms,verdana, tahoma, arial;
    border-bottom: 2px solid #d3be49;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 20px;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 0px;
    width: 225px;
    text-align: center;
    }
h2 {
    font-family: trebuchet ms, verdana, tahoma, arial;
    font-weight:bolder;
    font-style: italic;
    font-size: 16px;
    color: #186F90;
    margin-left:10px;  
    }  
p {
    margin-left: 25px;
    font-family: trebuchet ms,verdana, tahoma, arial;
    font-size: 11px;
    color: #948D7B;
    text-align: left;
    padding-left: 0px;
    width: 400px
    }
b{
   font-variant: small-caps;
   font-size: 12px;
   color: #186F90;
   }
  
  em{
  font-size: 12px;
  font-family: trebuchet ms, verdana, tahoma, arial;
  }
  
.fl {
    background-color: #E5DDB5;
    border: 1px dotted #d3be49;
    padding: 5px;
    width:400px;
    }
.datos{
    padding-left:10px;
    font-family: trebuchet ms,verdana, tahoma, arial;
    font-size: 11px;
    color: #6D8963;
    font-variant: small-caps;
    text-align: center;
    letter-spacing: 2px;
    }    
.date{
    font-family: trebuchet ms,verdana, tahoma, arial;
    font-size: 12px;
    margin-left: 25px;
    color: #6D8963;
    font-variant: small-caps;
    text-align: center;
    }
.cute{
    font-family: trebuchet ms, verdana, tahoma, arial;
    font-weight:bolder;
    font-style: italic;
    font-size: 16px;
    color: #6D8963;
    margin-left:25px;
    }
.nalua{
    font-family: trebuchet ms,verdana, tahoma, arial;
    font-size: 11px;
    color: #948D7B;
    font-variant: small-caps;
    text-align: center;
    border-top: 1px solid #948D7B;
    letter-spacing: 2px;
    margin-left: 100px;
    margin-right: 100px;
    }    
    
.info{
    font-family: trebuchet ms, verdana, tahoma, arial;
    font-size: 9px;
    padding-right: 10px;
    padding-left: 10px;
    color: #948D7B;
    font-weight: normal;
    text-align: left;
    font-variant: small-caps;
    letter-spacing: 1px;
    }
a:link, a:active, a:visited
{
    font-weight: bold;
    text-decoration: none;
    color: #C3A500;
    }
a:hover{
    font-weight: bold;
    text-decoration: none;
    color: #6D8963;
      }

textarea {
    background-color: #E5DDB5;
    font: 12px trebuchet ms,verdana, tahoma, arial;
    color: #948D7B;
    letter-spacing: 1px;
    border: 1px dotted #d3be49;
    padding:2px;
    }    
select,input {
    background-color: #E5DDB5;
    font: 12px trebuchet ms,verdana, tahoma, arial;
    color: #948D7B;
    letter-spacing: 1px;
    border: 1px dotted #d3be49;
    padding:2px;
    }    

The nlphpmail.php is not modified in the slightest (only where it's due). Tell me if you need more codes or whatever. Thanks
Amelie
What I do is I include my sidebar into my header and footer, that way I need only type in the path to said headers and footers and my layout appears as it should...
Neuriel
QUOTE(Amelie @ Jul 20 2006, 08:05 AM) *
What I do is I include my sidebar into my header and footer, that way I need only type in the path to said headers and footers and my layout appears as it should...


I do the same as Amelie smile.gif
Emmita
So the sidebar ought to be repeated into the header and footer? If it is thank you. I'll try it smile.gif
Amelie
No, not necessarily; say you have your sidebar code in sidebar.php, just put an include to that in your header or footer file. No need to repeat the coding, but you can do that too, if you like.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.