/    Sign up×
Community /Pin to ProfileBookmark

Very pesky table problem / browser issue

Greetings,

This is my first post… I’m a novice web developer and pro drummer running [url]www.ProMusicTeachers.com[/url].

The site is php/mysql, we have a search function smack in the middle of the index page that is set up as a <table>.

The table should have a background image… this is the code I’m using is

<table border=”0″ bgcolor=”#FF9900″ background=”/images/searchgraphic.jpg” align=”center” cellspacing=”3″ cellpadding=”0″ width=”617″>

to create the table, then comes the form. However, the background image shows up only in Safari, but not IE or Firefox. This seems like a very simple tag… and I swear last night it showed up in Firefox too but this morning will not.

Any suggestions?

Much thanks,
Brian

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@The_Little_GuyOct 30.2006 — I don't think it is working in Safari either, but I don't think that you can have [B]background[/B] in a table tag, so instead, move it to a [B]td[/B] tag
Copy linkTweet thisAlerts:
@WebJoelOct 31.2006 — I tend to agree. Haven't used TABLE much in recent years, but bgcolor="" is for TABLE, and background="image.url" is for <TD>. It was always kind of a fluky, flaky thing that Netscape 4 would, if background="image.url" was applied to [I]TABLE[/I], would apply the image to every <[B]TD[/B]> too, instead of just the <TABLE>... made for very disparsent effects...

bgcolor="color" and background="image.url" apply nicely to <TD>s however, -color first and it will 'show thru' any transparent parts of the image.url
Copy linkTweet thisAlerts:
@ErikTheSickOct 31.2006 — If I may add a suggestion: Do not use hard coded styling information (as you did in the table tag), use CSS instead.

cheers
×

Success!

Help @levorion 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.19,
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,
)...