1
THCowboy
HTML tables in php
  • 2005/7/19 2:18

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


I am trying to put some html tables in my php pages but the cells/rows end up having no borders. Is there a way to fix this?

Here is an example
http://tablehockeyheaven.com/findplayers/belarus.php

The code for the page is below.

Thanks, Warren


include("../mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>





Find Other Players











 
   
   Belarus 
   To add your name to this list you must fill out the Find other Players Form
 




    
     Vitebsk Region
    
  
 
  Prov
   City
    Name/Email
    I play
   I would like to play
  Additional Info
 

 
  Vitebsk Region
   Novopolotsk
    Andrei Kniaziuk knz@tut.by
    STIGA
   STIGA
  
 


 







include(XOOPS_ROOT_PATH.'/footer.php');
?>

2
JMorris
Re: HTML tables in php
  • 2005/7/19 4:56

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Looks like you've defined the border for the table, but not the cells, try adding the border attribute to the cells using CSS.

Example:
<td style="border:1px solid #333333;">Your contenttd>


Hope this helps.

JMorris
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
THCowboy
Re: HTML tables in php
  • 2005/7/19 12:20

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


Thanks JMorris!

It works but I would have to add it to about 500 lines of
code. It seems that maybe the style.css over rides my table's code as shown in my first post? Meaning, normally all I need is to state the border size for the table and it makes the borders for the cells too.

Anybody else know why the cells don't have borders?

Thanks, Warren

Login

Who's Online

292 user(s) are online (179 user(s) are browsing Support Forums)


Members: 1


Guests: 291


heyula,

more...

Donat-O-Meter

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

Latest GitHub Commits