Hi,
I'm trying to do three things with the template for my
site.
1. Center the banner in the header area
This is probably really simple to fix but everything I seem to do causes something to breakout of the template. I've attatched the css files but they are pretty much identical to the ones from
http://www.compassdesigns.netCode:
body {
text-align:center; /*center hack*/
}
#wrap {
width:80%; /*center hack*/
margin:0 auto; /*center hack*/
text-align:left;
}
#header {
text-align:left;
}
#footer {
clear:both;
}
#main-body {
float:left;
width:80%;
}
#sidebar-2 {
float:right;
width:20%;
overflow:hidden;
margin-left:-3px;
}
#content {
float:right;
width:80%;
overflow:hidden;
}
#sidebar {
float:left;
width:20%;
overflow:hidden;
margin-right:-3px;
}
.inside {
padding:10px;
}
.floatleft
{
float: left;
margin: 0px 10px 10px 0px;
}
Code:
* {
margin:0;
padding:0;
}
h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address{
margin:0.5em 0;
}
ul{
margin-left:2em;
}
fieldset{
padding:.5em;
}
body{
background: url(../images/bg.gif);
font-size:76.1%;
font-family:Verdana,Arial,Helvetica,sans-serif;
line-height:1.3em;
margin:1em 0;
}
#wrap{
border:1px solid #999;
background: #FFFFFF;
height:100% !Important;height:1%;
}
#wrap-inner {
background: none;
height:100% !Important;height:1%;
}
#header{
padding:10px;
background:#FFFFFF;
border-bottom: 1px solid #999;
}
#footer{
padding:5px;
background:#FFFFFF;
border-top: 1px solid #999;
}
a{
text-decoration:underline;
color: #000000;
}
a:hover{
text-decoration:none;
color: #000000;
}
.componentheading{
font-size:1.3em;
line-height:1.3em;
font-weight:bold;
}
.contentheading{
font-size:1.2em;
line-height:1.2em;
font-weight:bold;
}
h1{
font-size:1.7em;
line-height:1.7em;
}
h2{
font-size:1.5em;
line-height:1.5em;
}
h3{
font-size:1.3em;
line-height:1.3em;
}
h4{
font-size:1.2em;
line-height:1.2em;
}
h5{
font-size:1.1em;
line-height:1.1em;
}
h6{
font-size:1em;
line-height:1em;
font-weight:bold;
}
form {
margin: 0px;
padding: 0px;
}
.inputbox{
margin: 0px;
padding: 0px;
}
#footer,.small,.createdate,.modifydate,.mosimage_caption{
font:0.8em Arial,Helvetica,sans-serif;
color:#000000;
}
.moduletable{
margin-bottom:1em;
padding:0 10px;/*padding for inside text*/
}
.moduletable h3{
/*Module Headers*/
background:#000000;
color:#fff;
padding:0.25em 0;
text-align:center;
font-size:1.1em;
margin:0 -10px 0.5em -10px;/*negative padding to pull h3 back out from .moduletable padding*/
}
#navcontainer{
padding:0;
color: #333;
}
#navcontainer ul{
list-style: none;
margin: 0;
padding: 0;
}
#navcontainer li{
margin: 0;
}
#navcontainer li a{
display: block;
padding: 3px 5px;
background:#FFFFFF;
color: #000000;
text-decoration: none;
}
html>body #navcontainer li a { width: auto; }
#navcontainer li a:hover,a#active_menu:link,a#active_menu:visited{
text-decoration:none;
color: #000000;
}
2. Validate the site 100%
At the moment there are only 19 errors with my site as can be seen
http://validator.w3.org/check?uri=http% ... ype=Inline these mostly seem to be caused by '&' characters used n the urls created by the phpBB component I'm using (component found here
http://extensions.joomla.org/component/ ... Itemid,35/). The most likely culprit seems to be the login module I'm using.
3. I'm using Letterman to add users to the newsletter, but I wanted to add a checkbox to the register page so that users could agree or disagree to join the newsletter. I don't even know if this is possible but some advice would be great.
I don't know where to start fixing these problems and am asking more experienced members for there help. I;m assuming I need to modify the files in the login module and overwrite them on the server.
Thanks in advnace