Computers |
|
| | #1 (permalink) |
| Security/Hacking Mod Join Date: Jan 2005 Location: USA
Posts: 25,937
| 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!" |
| | |
| | #2 (permalink) |
| Master Techie | 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> |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |