| | |
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: 167
Reputation:
Solved Threads: 22
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: 167
Reputation:
Solved Threads: 22
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: 167
Reputation:
Solved Threads: 22
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 |
apache api array beginner beneath binary broadband broken button cakephp checkbox class cms code countingeverycharactersfromastring crack cron curl database date display dynamic echo email error fcc file files folder form forms freelancing function functions google href htaccess html image include incode insert integration ip javascript joomla limit link login mail match menu method mlm mod_rewrite multiple mysql oop pageing pagerank paypal pdf php problem query radio random recursion recursiveloop remote script search server sessions sms smtp soap source space sql strip_tags subversion support! survey syntax system table template tutorial undefined update upload url validator variable video virus web window.onbeforeunload=closeme; youtube





