IDMIntranet eXchange 
[ Home | Post | Register/Awards | Find | F A Q | Archive ]

 Home/Articles
  •  Recent Tutorials
  •  Recent Features
  •  Top Twenty Articles
  •  Oldies But Goodies
 ITAdvisor
  •  News & Analysis
  •  Security
  •  Intranet Buzz!
  •  Intranet Talk
  •  Intranet Corner
  •  CaseStudies/ Departments
 Intranet Development
  •  WirelessEnterprise
  •  Getting Started
  •  JavaScript
  •  VBScript
  •  HTML/DHTML
  •  XML
  •  ASP/IIS
  •  Perl
  •  PHP
  •  CascadingStyleSheets
  •  Dreamweaver
  •  FrontPage
 Information Management
  •  Content Management
  •  Collaboration
  •  Portals
  •  ASPs
 Intranet Resources
  •  Intranet FAQ
  •  Discussion Board
  •  Jobs Board
  •  Events Calendar
  •  Intranet Books
  •  Tools of the Trade
  •  Glossary
 Archive
 Site Map

Modern Daze: Comics Page

New

Free Newsletter!
 
Privacy Policy

Search IDM:


Hot Intranet eXchange discussion board Threads
º  masking in javascript
º  Can pseudo-url in image maps work? -
º  How do I make these into a real type?
º  Access and Intranet
º  Help with a plan for an Intranet
º  Frames problem
º  Opening Word and Excel Documents from Intranet
º  asp file not running in local intranet environment
º  Best Document Management / Collaboration software
º  readonly text entry
º  Small company intranets
º  Forcing IE to open Excel Workbooks in a New Instance
º  Criteria for content management systems/products
º  Best Document Management / Collaboration software
º  How to have How to have an image follow the mouse cursor
º  Creating Hyperlinks - Database driven
º  Table background..
º  MS Access returning multiple rows

More Intranet eXchange Highlights

*  Articles Elswhere on Internet.com

Re: Table background..


[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]


Posted by Mark Wray on August 10, 2000 at 5:16:47:

In Reply to: Re: Table background.. posted by C.Davies on August 10, 2000 at 5:1:27:

Chris -

Ok it looks like a couple of things are going on. Whether an oversight or if you just choose not to show it here, you are missing an opening table tag that defines the bgcolor in the above example. I see you defined a bgcolor for the first row, but not for the actual table.

Also, I'm not too familiar w/ PHP, but it looks like that using the above code as is, you are closing the table with each call to the while statement (ie; after each rendered row). Shouldnt you be closing (exiting) the while loop before rendering the closing table tag?

Using your example code, I would open a table tag (w/ bgcolor defined), then begin my loop, exit the loop and then close the table.

Take a look at the rendered source code in NS (not the code your writing, but the code that results from a "view source" on the page and check that for syntax and well-formedness. It may show where the error is.

btw: its nice to see your double quoting your attributes!

hth
Mark





Follow Ups:



Post a Followup

Name:     
E-Mail:   
Subject:  
Message:

Optional Link URL: 
Link Title:        

      



[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]