Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable line-heights in one div? 1

Status
Not open for further replies.

Baldwin238

Technical User
Feb 23, 2005
68
US
In my div "right-links"...in IE (i havent checked yet in other browsers) the line hieght seems to vary in between each of the links. Is this only on my computer, or can you see this as well? Take a look and let me know. I would appreciate any advice to repair this issue if possible. Thanks again in advance.


Jeff Baldwin
sig2.gif
 
There are no problems in Gecko based browsers on Win as well. There is an occasional flop in IE6 but I can't really see what could be the culprit. Since it is not that apparent, I would simply live with it. As an alternative, you could transform all links in that block to block level elements and control the margins. That might give you a more uniform look.
 
looking through the code for that section, it would seem that some of your links have an IMG tag with height/width/border set to zero, whereas other links have no IMG tag.

I don't know why some of the text links are coded this way, but it certainly looks like this is the cause of the unequal spacing.

Obviously, removing the (useless?) IMG tags and related code should sort the issue.

Andy.

Regards, Andy.
**************************************
My pathetic attempts at learning HTML can be laughed at here:
 
Ahhh, I'm glad you noticed that. I had forgotten about that. Those are referral links and while some of the referral codes use no images, certain ones had them in the code (which was copy/pasted). If I remove the image code, my referral (if someone clicks on that link) should not be affected in any way, correct? I don't see how the image should make any difference or that if the company can tell whether I edited the code and excluded the image if someone does click on it.

Jeff Baldwin
sig2.gif
 
I can't see it would make any difference at all; All that will be noticed as a referral is a click to the web page URL, as far as I know.
Andy.

Regards, Andy.
**************************************
My pathetic attempts at learning HTML can be laughed at here:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top