| | |
PHP help needed - WP footer
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Nov 2008
Posts: 14
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Mar 2008
Posts: 186
Reputation:
Solved Threads: 24
the proper way would be to use CSS text-align: center;
http://www.google.com/search?q=css+t...ient=firefox-a
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".
•
•
Join Date: Nov 2008
Posts: 14
Reputation:
Solved Threads: 0
It's there. That is what I don't understand why this is not centered.
PHP Syntax (Toggle Plain Text)
#footer { width: 907px; height: 83px; background: #000000; color: #ffffff; font: 10px/20px Verdana; text-align: center; }
•
•
Join Date: Mar 2008
Posts: 186
Reputation:
Solved Threads: 24
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".
•
•
Join Date: Nov 2008
Posts: 14
Reputation:
Solved Threads: 0
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:
To:
I tried putting the align="center" in the footer but it didn't work.
In the footer, do you mean do this?
From:
PHP Syntax (Toggle Plain Text)
<!-- Footer --><div id="footer"><p>Copyright © 2009, EC Technology Consulting, LLC. All rights reserved</p> </div>
To:
PHP Syntax (Toggle Plain Text)
<!-- Footer --><div align="center" id="footer"><p>Copyright © 2009, EC Technology Consulting, LLC. All rights reserved</p> </div>
I tried putting the align="center" in the footer but it didn't work.
•
•
Join Date: Mar 2008
Posts: 186
Reputation:
Solved Threads: 24
Why do Daniweb moderators edit CODE tags into CODE=style but don't check "solved".
![]() |
Similar Threads
- Help with database, PHP problem (PHP)
- Google maps php/js help needed. (PHP)
- PHP Help needed badly (PHP)
- XHTML with PHP validation ??? (HTML and CSS)
- Installation of PHP on Windows (PHP)
- php help needed for login (PHP)
Other Threads in the PHP Forum
- Previous Thread: Accessing MS word header and footer
- Next Thread: Firebird and PHP (or help with PHP Generator)
| Thread Tools | Search this Thread |
ajax apache api array arrays beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external file files folder form forms forum function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert integration ip java javascript joomla limit link login loop mail malfunction menu method mlm multiple mysql neutrality oop paypal pdf php phpmysql play problem query question radio random recursion regex remote root script search select server sessions sms soap source space sql syntax system table tutorial update upload url validator variable video web xml youtube





