Shivanand
Shivanand

Reputation: 11909

Empty white space between the 2 images

I have placed 2 images side by side in a div besides input box "Search by Contact". In the browser I find there is a gap between the 2nd image(Button T) and the one on its left. I am unable to remove the gap. Any help is highly appreciated. Here is the link to the html page:
Space between button T and the one on its left.

Upvotes: 1

Views: 1158

Answers (2)

brahn
brahn

Reputation: 12406

Trying setting the style on your links to have margin-right:0px, e.g.

<a href="#" style="margin-right: 0px"><img ... ></a>

(It would of course be preferable to do this using a CSS class...)

Upvotes: 0

RoToRa
RoToRa

Reputation: 38441

There is white space between the images in the HTML code and since images are in-line elements (similar to text), there will be white space on the rendered page.

Upvotes: 4

Related Questions