OFB Community Mailing Lists

The following archives are provided as a public service to the community. Opinions archived here do not necessarily represent the opinions of Open for Business or its contributors.

[CS-FSLUG] html/css question - <table>

Brian Derr bderr at myrealbox.com
Fri May 7 18:03:45 EDT 2004


On Fri, May 07, 2004 at 02:55:14PM -0400, Frank Bax wrote:
> <table border="1" width="80%" align="center" cellspacing="2" 
> cellpadding="4">
> 
> I'm trying to learn css the hard way - by myself - with help from this site:
> 	http://www.blooberry.com/indexdot/css/index.html
> 
> cellpadding can now be controlled by row or by cell:
> 	  tr { padding: 4px; }
> 	  th { padding: 4px; }
> 	  td { padding: 4px; }
> 
> A border around the entire table like border="1" can be done with table { 
> border-width: 1pt }, but the css code does not affect spacing between 
> rows/cells in table.  Also, I cannot seem to find css coding for the other 
> properties in above "table" tag.  Can anyone help? 

You actually don't need to touch <table>'s with CSS.  You can setup
<div>'s that have borders, etc and they can look exactly like a table.
Check out http://www.w3.org/Style/CSS/learning (jump down to the "CSS
Online Resources").  You'll find tons of examples of how to do just
about anything you want with CSS.

Brian

-- 
The just man walketh in his integrity:
his children are blessed after him.  -- Proverbs 20:7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://cedar.serverforest.com/pipermail/christiansource_ofb.biz/attachments/20040507/bb364291/attachment.bin


More information about the Christiansource mailing list
Home About Connect: Twitter Facebook RSS
© 2001-2011 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. Powered by ServerForest and SAFARI. Learn about our privacy policy here.