Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 03-10-2008, 08:47 PM   #1 (permalink)
Security/Hacking Mod
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: USA
Posts: 25,937
Default PHP Issues....

The code below

<div class="button">
<a onmouseover="MM_swapImage('excerpt','','../images/btns/excerpt_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="http://www.conservativeoutcomes.com/../excerpt.php">
<img id="excerpt" alt="Excerpt" src="http://www.waronscience.com/images/btns/excerpt_f2.gif" border="0" name="excerpt" oSrc="<A href="http://www.conservativeoutcomes.com/images/btns/excerpt.gif"></a></div">http://www.conservativeoutcomes.com/images/btns/excerpt.gif"></a></div
<a onmouseover="MM_swapImage('buy','','../images/btns/buy_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="Buy">
<img id="buy" alt="Buy the Book" src="http://www.waronscience.com/../images/btns/buy_f2.gif" border="0" name="buy"></a></div>

What I need are the buttons to be aligned at the top center

When I have it like it is above, they show up like so:

*Excerpt
*Buy

I want it like this
*Exerpt *Buy


Does that make sense?
__________________

www.MasterB365.com
www.Tech-Dump.com


"On 10-3-08 Obama Supporters Vandalized-Tresspassed and STOLE My Palin-McCain Sign Violating My First Amendment Right To Free Speech. Do It Again And You Will Find Out What The 2nd Amendment Is All ABOUT!"
Osiris is offline   Reply With Quote
Old 03-12-2008, 07:38 PM   #2 (permalink)
Master Techie
 
CrazeD's Avatar
 
Join Date: Feb 2006
Location: Maine
Posts: 2,941
Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: PHP Issues....

Well first off, that's HTML not PHP.

Second, that code is really messed up. You have one opening div and three closing div's. Then you have a closed a tag but no opening a tag.

Can you show me an example of the site this is going on? Or, show more functioning code so that I can get an idea? That would help.

At a glance, I'd say try this:

Code:
<div class="button">
<a onmouseover="MM_swapImage('excerpt','','../images/btns/excerpt_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="http://www.conservativeoutcomes.com/../excerpt.php">
<img id="excerpt" alt="Excerpt" src="http://www.waronscience.com/images/btns/excerpt_f2.gif" border="0" name="excerpt" oSrc="<A href="http://www.conservativeoutcomes.com/images/btns/excerpt.gif"></a>

<a onmouseover="MM_swapImage('buy','','../images/btns/buy_f2.gif',1)" onmouseout="MM_swapImgRestore()" href="Buy">
<img id="buy" alt="Buy the Book" src="http://www.waronscience.com/../images/btns/buy_f2.gif" border="0" name="buy" oSrc="<A href="http://www.conservativeoutcomes.com/images/btns/buy.gif"></a>
</div>
But I doubt that will work.
__________________

Need website help? PM me!
CrazeD is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP request not responding Bengal313 Programming Discussions 3 02-13-2008 06:39 PM
Memory issues Eternal46845 Hardware Troubleshooting 1 02-12-2008 08:37 AM
HDD Issues? RadRacer Hardware Troubleshooting 8 01-13-2008 07:17 PM
Gigafast Router - Connectivity Issues When Running Torrents - Advanced Problem throthedice Computer Networking & Internet Access 1 09-27-2007 10:12 PM
Issues with Laptops theopus Everything Laptops 5 07-06-2007 04:29 PM


All times are GMT -5. The time now is 09:55 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0