Announcement

Collapse
No announcement yet.

background images in table cells

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    background images in table cells

    hello,

    Im trying to use a background image rather than a colour for a table cell, which I have 'simplesearch' and another actinic tag also in. However for some reason I am unable to make it display. Any ideas ?

    Darren
    Web design Bradford

    #2
    what is the html you are using to try and achieve this? pure html or css?

    Comment


      #3
      If you look at the generated HTML in a text editor then you should be able to see what's going on. E.g perhaps there's another table with a blank background being generated within your cell.

      Norman
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks, the looks like the problem. How do I identify the html page that loads this table. For instance I am loading NETQUOTEVAR:SIMPLESEARCH into a cell with a background.

        Thanks

        Darren
        Web design Bradford

        Comment


          #5
          ok...found the correct page ..(stupid me). I have taken out the table from the html and the background displays in the cell in all browsers apart from IE. Heres some of the resulting html:

          <table width="700" height="500" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

          <tr align="right" valign="bottom" background="top.gif">
          <td height="100" colspan="3">
          <form name=simplesearch action="http://www.domainname.com/cgi-bin/ss000001.pl" METHOD="GET"><input type="TEXT" name="SS" size="11" maxsize="125" value="Quick search" onFocus="this.value='';this.style.background='#FFFFFF'"> &nbsp; <input type="image" border="0" name="ACTION" src="quicksearch.gif" alt="Go!">
          <input TYPE=HIDDEN NAME="PR" VALUE="-1"><input TYPE=HIDDEN NAME="TB" VALUE="A">
          <input TYPE=HIDDEN NAME="SHOP" VALUE=""></form></td></tr><tr align="right" valign="bottom"><td height="10" colspan="3">&nbsp;</td></tr><tr><td width="250" valign="top">


          regards

          Darren
          Web design Bradford

          Comment


            #6
            If you move the background="top.gif" to the appropriate <td...> rather than <tr..> that seems to be correct.

            Also I'm not sure why you have colspan=3.

            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              cheers moving it sorted things.

              Darren
              Web design Bradford

              Comment

              Working...
              X