Kathirvel K

Background Image on Table Rows Repeating

Posted on: July 9, 2009


tr.traGraph {
background-image: url(departments/mis/web/trafficStats/images/traBkg.gif);
background-repeat: no-repeat;
background-position: left;
height: 400px;
}

td.traPgGraph {
background-position: 20% 0%;
}

Simply give the TR a “position: relative” attribute and then give the TD a “background-image: none” attribute.

http://snook.ca/archives/html_and_css/applying_a_back/

http://www.mynameisal.com/wordpress/?p=82

Advertisements
Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: