English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have got two images next to each other on my site and there is a gap between them. I want to get rid off this gap, ideally with css.

2007-03-21 07:45:14 · 5 answers · asked by thenameless05 2 in Computers & Internet Programming & Design

5 answers

Your doctype may be causing this. You may have something like this:




Change it to this:


Having a return in your code may cause it to be treated like a space.

2007-03-21 07:51:26 · answer #1 · answered by Clinton G 2 · 0 0

Your internet site has to lots extraneous stuff for human beings to prefer to sift by using it for an nameless talk board like this. In addiiton to physique, attempt margin and padding. additionally, make beneficial the form of tables or in spite of isn't becoming the gap.

2016-12-15 05:34:42 · answer #2 · answered by keetan 4 · 0 0

Don't forget border=0 on the img tag if you have any of them hyperlinked.

2007-03-21 09:01:44 · answer #3 · answered by Anonymous · 0 0

always i use tables. and set cellpadding="0" and cellspacing="0" example:








there is no gap between image1 and image2

2007-03-21 08:14:25 · answer #4 · answered by Maysam 4 · 1 0

Try here for info

http://www.good-tutorials.com/
http://www.digitaljuice.com/
http://www.tutorialkit.com/
http://www.codestyles.com/
http://www.sitecube.com/website/promo_bw.asp?pid=sitetarget

2007-03-21 08:05:52 · answer #5 · answered by george r. n. 5 · 0 0

fedest.com, questions and answers