943,587 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1215
  • PHP RSS
Jul 13th, 2009
0

PHP help needed - WP footer

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
EdTheUniqueGeek is offline Offline
20 posts
since Nov 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

the proper way would be to use CSS text-align: center;

http://www.google.com/search?q=css+t...ient=firefox-a
Reputation Points: 34
Solved Threads: 51
Posting Whiz
kireol is offline Offline
305 posts
since Mar 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

It's there. That is what I don't understand why this is not centered.

PHP Syntax (Toggle Plain Text)
  1. #footer {
  2. width: 907px;
  3. height: 83px;
  4. background: #000000;
  5. color: #ffffff;
  6. font: 10px/20px Verdana;
  7. text-align: center;
  8. }
Reputation Points: 10
Solved Threads: 0
Newbie Poster
EdTheUniqueGeek is offline Offline
20 posts
since Nov 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

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.
Reputation Points: 34
Solved Threads: 51
Posting Whiz
kireol is offline Offline
305 posts
since Mar 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

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
Reputation Points: 34
Solved Threads: 51
Posting Whiz
kireol is offline Offline
305 posts
since Mar 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

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:
PHP Syntax (Toggle Plain Text)
  1. <!-- Footer --><div id="footer"><p>Copyright &copy; 2009, EC Technology Consulting, LLC. All rights reserved</p>
  2.  
  3. </div>

To:
PHP Syntax (Toggle Plain Text)
  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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
EdTheUniqueGeek is offline Offline
20 posts
since Nov 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

in your footer class add these

php Syntax (Toggle Plain Text)
  1. margin-left:auto;
  2. margin-right:auto;
Reputation Points: 34
Solved Threads: 51
Posting Whiz
kireol is offline Offline
305 posts
since Mar 2008
Jul 13th, 2009
0

Re: PHP help needed - WP footer

Awesome. Just awesome.
Thank you so much. That worked perfectly.
You ROCK!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
EdTheUniqueGeek is offline Offline
20 posts
since Nov 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Accessing MS word header and footer
Next Thread in PHP Forum Timeline: Firebird and PHP (or help with PHP Generator)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC