Multiple image replacment

suz
Tue, 24 Apr 2007 12:00:33 +0000

I am trying to replace all the tags on a website I am making,

the h2 tag is to display a header on each page so each image needs to be different for each h2 tag.

I tried to do this by assigning an class to the h2 tag as follows…



.h2_one {    background-image:url(images/about.png);
            background-repeat:no-repeat;
        }

.h2_two {    background-image:url(images/contactus1.png);
            background-repeat:no-repeat;
        }

.h2_three { background-image:url(images/news.png);
            background-repeat:no-repeat;
            }

.h2_four { background-image:url(images/news.png);
            background-repeat:no-repeat;
            }













Class 1-3 work (they display in dreamweaver)but 4 doesn’t and when I test it in the browser it doesnt display anything??

anyone have any ideas how I can get this working?

Thanks :sigh:

Read full topic