Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-10-2008, 08:47 PM   #1 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,097

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
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?
__________________
Osiris is offline  
Old 03-12-2008, 07:38 PM   #2 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,684

CrazeD will become famous soon enough

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  
 
Closed Thread

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