Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table - TR tag background doesnt work?

Status
Not open for further replies.

unborn

Programmer
Jun 26, 2002
362
US
My script i made is more complicated but this basic strign that im trying to get working is -not- working.

Code:
<tr background="[URL unfurl="true"]http://mindchips.com/linkage/tblbglight.gif">[/URL]

I have read everywhere and this "background" property is valid but it is not working for me. heres one of the links..


but i cant get it working for me. Am i doing it right or is there a diffrent method?

Thanks!

in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Here is me testing the tags to see what -does- work...

Code:
 <table>
   <tr bgcolor="#CC3333">
     <td>Email address:</td>
     <td><input type=text name=email size=16 maxlength=100></td></tr>
   <tr [b]background="tblbglight.gif"[/b]>
     <td>First name <i>(max 16)</i>:</td>
     <td valign=top><input type=text name=name
                     size=16 maxlength=16></td></tr>
   <tr [b]style="background-image:tblbglight.gif;"[/b]>
     <td background="tblbglight.gif">Username <i>(max 16)</i>:</td>
     <td valign=top><input type=text name=username
                     size=16 maxlength=16></td></tr>
   <tr [b]style="background {background-image:tblbglight.gif;}"[/b]>
     <td bgcolor="#0033FF">Password <i>(6 - 16)</i>:</td>
     <td valign=top><input type=password name=passwd
                     size=16 maxlength=16></td></tr>
   <tr bgcolor="#00FF66">
     <td>Confirm password:</td>
     <td><input type=password name=passwd2 size=16 maxlength=16></td></tr>
   <tr [b]style="background:tblbglight.gif;"[/b]>
     <td colspan=2 align=center>
     <input type=submit value="Register"></td></tr>
 </table></form>

those dont work here are the variations...
background="image"
style="background:image;"
style="background:url("image");"
style="background-image:url("image");"

bah well anyways ive tried every alternative i can think of and nothing is working inside of the <tr>s on any of my scripts.. is this just impossible?

in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
TD tag has no attribute background (see HTML specification).
Use background-image:url(picture) in CSS.
 
I'm sorry: TR tag has no (too)... - see my post above...
 
you know i fought with that code all night and could not get it working.. but this morning it works.. thank you all for your responces.

in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top