PHP help needed - WP footer

Thread Solved

Join Date: Nov 2008
Posts: 14
Reputation: EdTheUniqueGeek is an unknown quantity at this point 
Solved Threads: 0
EdTheUniqueGeek EdTheUniqueGeek is offline Offline
Newbie Poster

PHP help needed - WP footer

 
0
  #1
Jul 13th, 2009
I was hoping someone could help me with this.
Here is my web site:
http://ectech.info/

The footer of this site that shows my copyright moves around, depending on your monitor resolution, and does not stay centered with the page itself. The footer information is show in the page source.
Can someone please assist me with getting this to stay centered?
I am not an PHP expert, nor a novice. So any assistance would be greatly appreciated.
Thanks in advance.
-----------------------------------
http://www.edwardcrosby.com
http://www.theuniquegeek.com
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 186
Reputation: kireol is an unknown quantity at this point 
Solved Threads: 24
kireol kireol is offline Offline
Junior Poster

Re: PHP help needed - WP footer

 
0
  #2
Jul 13th, 2009
the proper way would be to use CSS text-align: center;

http://www.google.com/search?q=css+t...ient=firefox-a
Why do Daniweb moderators edit CODE tags into CODE=style but don't check "solved".
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 14
Reputation: EdTheUniqueGeek is an unknown quantity at this point 
Solved Threads: 0
EdTheUniqueGeek EdTheUniqueGeek is offline Offline
Newbie Poster

Re: PHP help needed - WP footer

 
0
  #3
Jul 13th, 2009
It's there. That is what I don't understand why this is not centered.

  1. #footer {
  2. width: 907px;
  3. height: 83px;
  4. background: #000000;
  5. color: #ffffff;
  6. font: 10px/20px Verdana;
  7. text-align: center;
  8. }
-----------------------------------
http://www.edwardcrosby.com
http://www.theuniquegeek.com
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 186
Reputation: kireol is an unknown quantity at this point 
Solved Threads: 24
kireol kireol is offline Offline
Junior Poster

Re: PHP help needed - WP footer

 
0
  #4
Jul 13th, 2009
shoot. you are right. I missed that. Hrmmm. I use "web developer" plugin for firefox. that footer doesnt have a style attached to it for some reason. it's not seeing the css for that ID. But the rest of the elements on the page seem fine.
Why do Daniweb moderators edit CODE tags into CODE=style but don't check "solved".
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 186
Reputation: kireol is an unknown quantity at this point 
Solved Threads: 24
kireol kireol is offline Offline
Junior Poster

Re: PHP help needed - WP footer

 
0
  #5
Jul 13th, 2009
actually the text is centered in the tag, just the tag isnt centered.

either center that div or move the footer div within the page ID
Why do Daniweb moderators edit CODE tags into CODE=style but don't check "solved".
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 14
Reputation: EdTheUniqueGeek is an unknown quantity at this point 
Solved Threads: 0
EdTheUniqueGeek EdTheUniqueGeek is offline Offline
Newbie Poster

Re: PHP help needed - WP footer

 
0
  #6
Jul 13th, 2009
I am a total n00b on this so you may need to elaborate, if you please.
In the footer, do you mean do this?
From:
  1. <!-- Footer --><div id="footer"><p>Copyright &copy; 2009, EC Technology Consulting, LLC. All rights reserved</p>
  2.  
  3. </div>

To:
  1. <!-- Footer --><div align="center" id="footer"><p>Copyright &copy; 2009, EC Technology Consulting, LLC. All rights reserved</p>
  2.  
  3. </div>

I tried putting the align="center" in the footer but it didn't work.
-----------------------------------
http://www.edwardcrosby.com
http://www.theuniquegeek.com
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 186
Reputation: kireol is an unknown quantity at this point 
Solved Threads: 24
kireol kireol is offline Offline
Junior Poster

Re: PHP help needed - WP footer

 
0
  #7
Jul 13th, 2009
in your footer class add these

  1. margin-left:auto;
  2. margin-right:auto;
Why do Daniweb moderators edit CODE tags into CODE=style but don't check "solved".
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 14
Reputation: EdTheUniqueGeek is an unknown quantity at this point 
Solved Threads: 0
EdTheUniqueGeek EdTheUniqueGeek is offline Offline
Newbie Poster

Re: PHP help needed - WP footer

 
0
  #8
Jul 13th, 2009
Awesome. Just awesome.
Thank you so much. That worked perfectly.
You ROCK!
-----------------------------------
http://www.edwardcrosby.com
http://www.theuniquegeek.com
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC