| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: May 2003 Location: On a Farm in Wisconsin
Posts: 484
![]() ![]() | Need Help Getting Image on Top of Page I tried to get an image on top of the page using $top in my config.php Code: ///Header HTML
$top ="img src=images/5dmlogo.jpg"; I am super new to php The site I am working on is www.rizma.com/5dm ????: NamePros.com http://www.namepros.com/programming/195987-need-help-getting-image-top-page.html Thanks For The Help John |
| |
| | THREAD STARTER #3 (permalink) | ||||
| NamePros Regular Join Date: May 2003 Location: On a Farm in Wisconsin
Posts: 484
![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=195987 I need the line in red $top ="img src=images/5dmlogo.jpg"; How do I direct it to my image? Thanks John | ||||
| |
| | #5 (permalink) |
| NamePros Member Join Date: Mar 2006 Location: (US) Missouri
Posts: 70
![]() | I fail to see why: <<?=$top;?>> does not work.. Paste the code you have that is trying to call the picture Here, I will show you an example that works, maybe it will help you. Code: <? $teehee = "img src=/odditysoftware/scripts/us-apartments-script/images/3.gif"; ?> <<?=$teehee;?>> ????: NamePros.com http://www.namepros.com/showthread.php?t=195987 <p align="center">img src=images/5dmlogo.jpg</p> change the <p align="center"> and the </p> to just < and >
Last edited by Hobnob; 05-10-2006 at 05:29 PM.
|
| |
| | #6 (permalink) |
| Senior Member Join Date: Sep 2005 Location: San Diego, California
Posts: 1,078
![]() ![]() ![]() ![]() ![]() | What if you did this: <div style="position: absolute; top: 0;">$top</div>
__________________ Ipzy.com - Free Proxy to visit Myspace/Facebook, Tech News, and more! Onlineness.com - Free Proxy FOR SALE: support.im | tradepile.com |
| |
| | #8 (permalink) | ||||
| NamePros Member Join Date: Mar 2006 Location: (US) Missouri
Posts: 70
![]() |
| ||||
| |