Results 1 to 3 of 3

Thread: CSS, a little off topic...

  1. #1

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    CSS, a little off topic...

    Hi

    does anybody know why IE 6 and 7 (havent tested others) will not show the effects of this table header style (<th>table header here</th>), and if not, what about a work around.
    Code:
    th { background-image: url('images/stripe.gif'); background-repeat:repeat ; height: 50px }
    It works fine with firefox.

    I have concluded that Mozilla need a FAQ page for IE developers, they f*** things up...

    Signatures suck

  2. #2
    Addicted Member
    Join Date
    Aug 2007
    Location
    India
    Posts
    141

    Re: CSS, a little off topic...

    I have tested this with IE 6 its working

    Code:
    <TABLE border="1" width="100%">
    <TH style="background-image: url('lor39a.jpg'); background-repeat:repeat; height:50px">TABLE HEADING 
    
    HERE</TH>
    <TR>
    <TD>HELLO</TD>
    </TABLE>
    Last edited by vksingh24; Sep 10th, 2007 at 04:23 AM.
    Do Good. Be Good. The World is yours.

  3. #3
    Hyperactive Member kayos's Avatar
    Join Date
    Apr 2004
    Location
    Largo, Florida
    Posts
    306

    Re: CSS, a little off topic...

    try nesting the selector th with the table tag and see what happens, like so:

    table th {/*my style code*/}


    If this post helps, please RATE MY POST!

    Using Visual Studio 2005 SE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width