/    Sign up×
Community /Pin to ProfileBookmark

Text over background image issues

My site uses table cells to place images as the background to allow text to be written over it. My problem is that this has worked for one cell in my site and not others. The text either doesn’t show up or is halfway down the cell/image, no matter what I write for alignment or colour.

I have gotten my copyright text to show up using this code:
<td colspan=”12″ background=”images/copyright.gif” width=”539″ height=”26″ alt=””><font face=”verdana” size=”2″>Copyright (c) 2007 Peta Byrne. All Rights Reserved.</font></td>

but when I have tried this code or that from the tutorial on this website (complete with valign, color etc) on other areas of my site I have the above problems and I have no idea what is different. In 007iHost.com I can get the text but halfway down the image, and on Freehostia.com I get nothing (maybe I’m not waiting long enough for the server to process it?).

Any advice?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Feb 16.2007 — #copyright {
width:539px;
height:26px;
font-family:verdana,sans-serif;
font-size:2;
background: url(images/copyright.gif);
}

and
[code=html]<p id="copyright">Copyright (c) 2007 Peta Byrne. All Rights Reserved.</p>[/code]
Copy linkTweet thisAlerts:
@fuzzygherkinauthorFeb 16.2007 — So is the code I was using wrong? Cos like I said the copyright bit worked, but if I tried to change

<td colspan="10">

<img src="images/introtext.gif" width="520" height="262" alt=""></td>

the same way to

<td colspan="10" background="images/introtext.gif" width="520" height="262" alt=""><font face="verdana" size="2">Intro Text Here</font></td>

or to

<td colspan="10" background="images/introtext.gif" width="520" height="262" alt="" valign="top"><FONT SIZE="+1" COLOR="blue">Intro text here</FONT></td>

I get no success. I'm afraid I'm a real beginner so a bit of extra help understanding this or how to use the code you provided would really be appreciated.
Copy linkTweet thisAlerts:
@fuzzygherkinauthorFeb 16.2007 — Sorry, never mind, I worked it out. Ta.
×

Success!

Help @fuzzygherkin 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...