Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
Xstream
PostPosted: Fri May 28, 2004 11:09 pm Reply with quote

PROfessional Member
 
 


Joined: 14 Mar 2002
Posts: 12728
Location: USA
using dreamweaver, my buttons aren't acting independently. what am I doing wrong?
http://www.kevincastleberry.com/testingnewindex.html

they are both getting big at the same time. they shouldn't.
 
Back to top
dlt
PostPosted: Fri May 28, 2004 11:17 pm Reply with quote

PROfessional Member
 
 


Joined: 11 Mar 2002
Posts: 8127
Location: New England, USA
They are alternating in size for me smilenod
 
Back to top
Weaver
PostPosted: Fri May 28, 2004 11:25 pm Reply with quote

PROfessional Member
 
 


Joined: 18 Jun 2002
Posts: 2587
Location: /home/weaver/
xstream wrote:
using dreamweaver, my buttons aren't acting independently. what am I doing wrong?
http://www.kevincastleberry.com/testingnewindex.html

they are both getting big at the same time. they shouldn't.


They are actually both not getting "big" at the same time. When you hover over one of the images, it swaps, thus changing the size of the paragraph "box." Since both images are in the same <p> tag, the other image's position is being adjusted as well.

I don't have much experience with image swapping, but I have a few suggestions. First try removing the <p> tag from around the images. See if that at least temporarily fixes it. You could also try doing an align='top' or something similar in a stylesheet (preferably a stylesheet since align is very much deprecated).

Lastly, again I am no expert, but should the onmouseover and onmouseout attributes be in the < img > tag itself and not the < a > tag? Try moving them into the < img > tag.

-Weaver

EDIT: Added spaces to some tags to prevent phpBB parsing them as real HTML.
 
Back to top
shougan
Sid Upadhyay
PostPosted: Sat May 29, 2004 2:41 am Reply with quote

PRO GOLD
 
 


Joined: 26 Apr 2004
Posts: 5290
Location: Western Hemisphere
The both get big but one is smaller and it works visa versa...I think there mite be a problem int he body onload....or the < a > is covering both inmages...look cool though.. thumbsup
 
Back to top
Xstream
PostPosted: Sun May 30, 2004 8:07 pm Reply with quote

PROfessional Member
 
 


Joined: 14 Mar 2002
Posts: 12728
Location: USA
couldnt fix it most ways. What I ended up doing was putting each button in its on layer. then it works fine. Decided not to use it in the end though, everyone I showed it to liked the original page better. oh well. thanks guys!
 
Back to top
Back to top
Index >> Webmaster Domain & Code Room >> whats wrong with my buttons?

Page 1 of 1

 


Tired of the Ads? Registered users have 80% less adverts.