Hi,

when i link a image in my page, the background becomes thick navy colour and takes little space from up, bottom, left and right sides. I can change background colur but i cant remove those spaces that come out when i made image a link.

Any idea?

Thanks

Recommended Answers

All 2 Replies

Those are the edges of the button the image is placed on. They are like the edges of the buttons at the ends of the scrollbar. Watch what happens when you press one.

The navy color indicates the button is selected. Selecting something else moves the selection there. Note that the first link on the page (in html code order) is always selected when a page loads. This tells you what link will be followed if you press ENTER.

Hi,
This CSS code solved my problem.

#divRigh img{
	margin: 0px 0px 0px 0px;
	border: 0px;
	}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.