PHP formatting problem.

Intel / Opteron 2356/4gb
May 9, 2009 at 20:44:41
Specs: Window XP Home, ??/256
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.


See More: PHP formatting problem.

Report •


#1
May 9, 2009 at 21:01:08
Course I could give you my sidebar and footer CSS 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;
}


Report •

#2
May 10, 2009 at 20:11:59
Or can this error be in the PHP? if anyone thinks so let me know and I will post the PHP code.

Report •

Related Solutions


Ask Question