Computing.Net > Forums > Programming > PHP formatting problem.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

PHP formatting problem.

Reply to Message Icon

Name: jus71n742
Date: May 9, 2009 at 20:44:41 Pacific
OS: Window XP Home
CPU/Ram: ??/256
Product: Intel / Opteron 2356/4gb
Subcategory: General
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: jus71n742
Date: May 9, 2009 at 21:01:08 Pacific
Reply:

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;
}


0

Response Number 2
Name: jus71n742
Date: May 10, 2009 at 20:11:59 Pacific
Reply:

Or can this error be in the PHP? if anyone thinks so let me know and I will post the PHP code.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Selection and looping Oracle SQL



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: PHP formatting problem.

PHP Upload Problem. www.computing.net/answers/programming/php-upload-problem/11156.html

MySQL/PHP query problem www.computing.net/answers/programming/mysqlphp-query-problem/12603.html

PHP function problem www.computing.net/answers/programming/php-function-problem/17184.html