Click to See Complete Forum and Search --> : Please help a new person - mouseover problem


JohnHenderson
01-29-2003, 11:44 PM
I am inserting a very basic mouseover script.

The top button has no space on the top or bottom. This is what I want - no space between buttons.

The balance of the buttons have space inserted between them with the background showing through.

I am completely new to using a script. Why is the space showing up in all buttons after button 1?

My test page is at http://www.bluechipcamp.com/2.htm

Any help for a new person would be appreciated!

John Henderson

JohnHenderson@inetmarketing.com

khalidali63
01-30-2003, 12:15 AM
Well here is a hack( its not the best option).
instead of putting each emaige in a td,put all of them in 1 td and set the table width accordingly and height that could accommodate all images that way they will be next toeach other..
Images are a bit trickier when it comes to extra white spaces...around them..

cheers

CyCo
01-30-2003, 12:21 AM
Move all of your closing table data tags on the same line (if possible) as your closing </A> tags.

khalidali63
01-30-2003, 12:40 AM
or here is another a bit more professional hack( believe me its all hacks when it comes to images and an extra pixel space around them)
<style>
td img{
display:block
}
</style>

JohnHenderson
01-30-2003, 12:46 AM
Thanks for the suggestions. Taking out the cells would have worked but I wanted to use cells for safety.

CyCo, I went into the html and placed </a></td> together.

It worked great! Test pages:
http://www.bluechipcamp.com/2.htm
http://www.bluechipcamp.com/3.htm

html sees 1 space. I forgot that it would put the space between the 2 tags! I had set the borders to the images at 0 and then left a space.


Thanks

John

CyCo
01-30-2003, 01:11 AM
Good Deal...