tables, rows and backgrounds (background image repeating every cell)

M

Marianne

Hi, I have a slight problem, I have a background image that should span my
entire page in the fiorst row of my table
..
<table width="100%" background="../vormgeving/forumbalk.gif">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<table width="100%">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>

Works great but would something like this be possible wihtout the background
image repeating every cell ?

<table width="100%">
<tr background="../vormgeving/forumbalk.gif">
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>

Cause that would make it more easy to coninue my table without the
background.

Marianne
 
?

=?ISO-8859-1?Q?L=FCpher_Cypher?=

Marianne said:
Hi, I have a slight problem, I have a background image that should span my
entire page in the fiorst row of my table
.
<table width="100%" background="../vormgeving/forumbalk.gif">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<table width="100%">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>

Works great but would something like this be possible wihtout the background
image repeating every cell ?

<table width="100%">
<tr background="../vormgeving/forumbalk.gif">
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>

Cause that would make it more easy to coninue my table without the
background.

Marianne

I'm not quite sure I got the question, but if you need a background
image that is not repeated, you can use:

<tr style="background:url(../vormgeving/forumbalk.gif) no-repeat">
 
B

brucie

In alt.html Marianne said:
I have a background image that should span my entire page in the
fiorst row of my table

<table width="100%" background="../vormgeving/forumbalk.gif">

the 'background' attribute is only valid on the <body> element.
 
M

Marianne

I'm not quite sure I got the question, but if you need a background
image that is not repeated, you can use:

<tr style="background:url(../vormgeving/forumbalk.gif) no-repeat">

Thsi stil repeats the background image every cell. Lets say the background
image is a gif containing the words "does this fit". This will appear like
cell1 "does thi"
cell2 "does thi" etc

what I need is
cell1 "does thi"
cell2 "s fitt"

:)

Floortje
 
M

Marianne

using css position a <div> with the background behind the <tr> however:

Hmm out of my league. Do u mean someting like this ?

<tr>
<div style="background">
<td>&nbsp;</td>
<td>&nbsp;</td>
</div>

This is great stuff. Im allready using more and more stylsheets but it's
hard to completely rewrite my old pages and still have enoug time to finish
my education :)
the 'background' attribute is only valid on the <body> element.

Hmm .. im blaming this one on macromedia :)
 
B

brucie

In alt.html Marianne said:
Hmm out of my league.

post a url of what you've got. makes it much easier for people to help
you.
Do u mean someting like this ?

<tr>
<div style="background">
<td>&nbsp;</td>
<td>&nbsp;</td>
</div>
</tr>
invalid

Hmm .. im blaming this one on macromedia :)

don't you feel a little silly paying a fortune for it and it cant even
generate valid html?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top