/    Sign up×
Community /Pin to ProfileBookmark

Gaps in background images

I asked this question in a different post, but I am repeating it here in a simpler form hoping for an answer.

I am creating a table cell with a backround image that is supposed to be repeated horizontally and vertically until the whole cell is covered, like:

<table><tr>
<td width=’100′ height=’100′ background=’eclipse.net/~karayan/top.gif’>
</td></tr></table>

Image top.gif is a small image that I expect to be repeated in the background and cover the whole cell seamlessly. But IE shows seams (gaps) between the repetitions. How do I avoid that?

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@FangAug 21.2003 — Some of your images are 18x19 others 19x19.

Use the images on the background:

[COLOR=green]

<TD style="background-image: url(file:test_files/top.gif); background-position: left; background-repeat: repeat-x;"></TD>

[/COLOR]


See [URL=http://devedge.netscape.com/viewsource/2002/img-table/]this[/URL] page to deal with "gaps".
×

Success!

Help @karayan spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...