G
Guest
Is there a way to specify a background-image for a html table cell in a
theme's css file. I know a lot of things I can't do... can't figure out one
that I can do:
1) ~/ Images/logo.gif doesn't work since it isn't a server side control.
2) /Images/logo.gif doesn't work, not sure why.
3) Images/logo.gif doesn't work - This can work specify the style of the
td element instead of the CSS class but then it isn't part of the theme.
4) http://<server>/<app>/Images/header_background.gif doesn't seem to work
either. This I thought would and would have used even though it has
maintenance issues.
Here is a more specific description of the problem I am trying to solve:
I have a master page that has a background image to be displayed in a row of
a html table. I have a theme that has a Main.css where I have defined:
TD.master-header
{
background-image: url(Images/header_background.gif);
background: #eeffee;
height: 33px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
}
Setting the td class to master-header does not show the background image.
It does show the horrible #eeffee background that I put in to test that the
style was working.
Open to suggestions.... Thanks.
theme's css file. I know a lot of things I can't do... can't figure out one
that I can do:
1) ~/ Images/logo.gif doesn't work since it isn't a server side control.
2) /Images/logo.gif doesn't work, not sure why.
3) Images/logo.gif doesn't work - This can work specify the style of the
td element instead of the CSS class but then it isn't part of the theme.
4) http://<server>/<app>/Images/header_background.gif doesn't seem to work
either. This I thought would and would have used even though it has
maintenance issues.
Here is a more specific description of the problem I am trying to solve:
I have a master page that has a background image to be displayed in a row of
a html table. I have a theme that has a Main.css where I have defined:
TD.master-header
{
background-image: url(Images/header_background.gif);
background: #eeffee;
height: 33px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
}
Setting the td class to master-header does not show the background image.
It does show the horrible #eeffee background that I put in to test that the
style was working.
Open to suggestions.... Thanks.