1
shaxs
adding a graphic as a background to the theme.html file
  • 2004/6/6 2:22

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


alright, Im a little besides myself now. Im trying to add a gif file as the background of a <td>. This is the code I am using:
<td background="<{$xoops_imageurl}>images/index_06.gif"></td>. How do you properly do this because this is not working. Thanks!

2
JMorris
Re: adding a graphic as a background to the theme.html file
  • 2004/6/6 2:40

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


-> Open the theme file you are trying to edit
-> If the <td> tag has a class i.e.:

<td class="classname">

....just open the style sheet(s) for the theme you are using (style.css, styleNN.css, styleMac.css) and add the following code to the section that defines the cell class class between the two squigly brackets {...} i.e.:

td.classname {
[
color=FF0000]background url(index_06.gifno-repeat fixed center center;[/color]
)

-> If there is no class defined for the cell, create one by adding class="pickaname" to the <td> tag, then add the appropriate code to your style sheets.

Login

Who's Online

181 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits