Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: Tables problem

  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    Hatfield, England
    Posts
    855
    Member #
    9790
    If someone says "Use CSS... Its so much easier and better." you will look like this :dead: hehe

    Anyway i am making a phpBB 2 skin and using tables to format the data. Why tables? Its part of the default layout. phpbb 3 is coming out soon and as phpBB 2 and 3 skins probably won't be compatible it seems like a waste of time to make a complex CSS skin which will only be used for a couple of months.

    Anyway here is my problem...
    Code:
      <tr> 
    	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
    	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
    	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
    	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
      </tr>
    Is there anyway i can put a background image across all 4 <th> tags without using colspan? I want to keep the structure of the table and stretch an image across all of the rows.

    I tried wrapping it in a div but it just wasn't happening.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Is that in a table on its own? Tried giving the table a background image?

  4. #3
    Senior Member Shani's Avatar
    Join Date
    Nov 2004
    Posts
    1,140
    Member #
    8171
    Could you put it on the <tr>?

    The surefire-but-messy way is to slice your image and put them in each <th>
    Shani

    I have an eye for detail like you'd never believe.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:35 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com