/    Sign up×
Community /Pin to ProfileBookmark

alignment is being changed by link coding

So I have a page that I created in Adobe Photoshop, all of my images are lined up perfectly. I put in the Javascript for rollover images to create my links, but when I put the link information in to the section of the table it is messing with my alignment

here is the section

<td colspan=”6″>
<img src=”images/tssaa-violations_04.gif” width=”173″ height=”27″ alt=”” name=”pic2″></td>

then I add

<td colspan=”6″>
<A onmouseover=”lightup(‘pic2’)”
onmouseout=”turnoff(‘pic2’)” href=”http://blog.coachchrisfryer.com”><img src=”images/tssaa-violations_04.gif” width=”173″ height=”27″ alt=”” name=”pic2″></A></td>

and then my alignment goes all out of wack

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@Y_LessMay 19.2009 — Without the code for lightup and turnoff I can't say for certain but I suspect this is a problem with your CSS for images in links, specifically the :hover attribute.
Copy linkTweet thisAlerts:
@adharshapemanauthorMay 19.2009 — here is the site

http://www.mtjulietgirlsbasketball.com/

the home page looked fine until I added the <a> tag to img 3, I can't figure out what is throwing it off
Copy linkTweet thisAlerts:
@Under3May 19.2009 — Create a scenario for me in which it was and quite clearly wasn't what you thought...
Copy linkTweet thisAlerts:
@adharshapemanauthorMay 19.2009 — Here was the page before;

http://www.mtjulietgirlsbasketball.com/home2.html

I went into photoshop and changed some things and now I going back and trying to use the exact same coding for my rollover buttons but it is messing up the way things look;

http://www.mtjulietgirlsbasketball.com
Copy linkTweet thisAlerts:
@Y_LessMay 19.2009 — I was close with my initial assessment, however it's :visited you want to look into, not :hover.
×

Success!

Help @adharshapeman spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...