Forum Moderators: open

Message Too Old, No Replies

Background images - again

xhtml w3c valid tiled background images

         

stickygoblin

2:28 pm on Nov 24, 2004 (gmt 0)

10+ Year Member



Ok after trying to work out how to be accessable i am now attempting to validate with w3c at the very least so i'm working my way through a website line by line in the validator but i've got a bit stuck.

I'm trying to replicate a backround image in a table cell - the attribute background dosn't exist any more for table cells so i'm trying to use

<div style="background-image: url();"> at the end of the block i have </div>

now thats fine but what i want it to do is repeat for the entire cell?

any suggestions - its only a shadow border about 5 pixels wide to lift the page out a little but its annoying how simple it was and hard it is!

help me please

ronin

5:52 pm on Nov 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Try this:

<td style="background:#fff url(/yourbackground.gif) repeat;">

stickygoblin

11:10 am on Nov 25, 2004 (gmt 0)

10+ Year Member



awsome works like a dream.

just come accross another problem with bullet points - <li> is not permitted as i'm new to bullet points not sure what to do with them.

i have created a css stylsheet to deal with the bullet text and the bullet points using

< span class="bullet_text")>
&bull; Cable laying<br>
</span>

again stumped as to what to do with this.

thanks again

mrobinson

3:23 pm on Nov 25, 2004 (gmt 0)

10+ Year Member



<li> is not permitted?

Try this:

<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ul>

Eighteen

7:42 pm on Nov 26, 2004 (gmt 0)

10+ Year Member



< span class="bullet_text")>

Is the single ")" causing a problem?