Centering my header.php and footer.php files.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Centering my header.php and footer.php files.
vehnsolo
CZ Newbie
vehnsolo has been a member for over 10 year's 10 Year Member
Status: Offline
Joined: Jan 20, 2008
0.00 posts per day
Posts: 2
Points: 0
   
Hello,

This is my problem,

I am currently using phpnuke platinum 7.6.0 and using the theme T-Platinum. I didn't like how the theme was so wide, i reduced the lenght to 75% from 100% by editing the theme.php, header,php, and footer.php files.

My problem is that my header and footer are not aligned to the center, i've tried experimenting with a couple of commands but doesn't seem to work. What do i do?

I've attached my header and footer.php file so maybe ppl could have a look at them.

I hope someone could fix it for me, by aligning the header and footer to the center, or tell me how.

Thanks

vehn



Attached Files
headerandfooter.zip (3.8 KB, Downloaded: 5059 Time(s))


Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 15 year's 15 Year Member
Occupation: Self Employed
Age: 40
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
1.44 posts per day
Posts: 8090
Points: 494,345
   
In the header.php where you changed the width to 75% add this to the tables:


align=\"center\"


So it will look like this:


echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\" align=\"center\">\n";




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
vehnsolo
CZ Newbie
vehnsolo has been a member for over 10 year's 10 Year Member
Status: Offline
Joined: Jan 20, 2008
0.00 posts per day
Posts: 2
Points: 0
   
ahh fantastic, you are a savior.

It worked like a charm.

Thanks a lot. icon_biggrin.gif



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 15 year's 15 Year Member
Occupation: Self Employed
Age: 40
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
1.44 posts per day
Posts: 8090
Points: 494,345
   
You are welcome. icon_smile.gif




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum