I have written a couple pages in PHP and I am having a difficult time getting everything displayed correctly. I have it all displaying but I believe there is a border issue. I have a sidebar on all the pages. When the home page comes up its on the top right, which is where I designated for it to be in the .css . The .php pages however show the information bar down at the bottom as well as making the footer much smaller than normal.
correct page : roanekarate.com
incorrect page: above with /press/press.php
all that is wrong in the sidebar to the right and footer at the bottom.
Code:
/* Sidebar */
#sidebar {
float: right;
width: 280px;
}
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}
#sidebar li {
margin-bottom: 20px;
background: #1A1A1A;
border: 5px solid #050505;
}
#sidebar li ul {
padding: 20px;
}
#sidebar li li {
margin: 0;
background: none;
border: none;
}
#sidebar li li a {
padding-left: 15px;
background: url() no-repeat left center;
text-decoration: none;
}
#sidebar li li a:hover {
text-decoration: underline;
}
#sidebar h2 {
height: 40px;
margin: 0;
padding: 10px 0 0 10px;
background: #1A1A1A url() repeat-x;
letter-spacing: -1px;
font-size: 1.8em;
color:#FFFFFF;
}
/* Footer */
#footer {
clear: both;
height: 100px;
padding: 20px;
background: #1A1A1A;
border-top: 10px solid #050505;
}
#footer p {
margin: 0;
text-align: center;
color: #444444;
}
#footer a {
color: #444444;
}
If anyone thinks it could be in the PHP then let me know and I will put it up.