Code: Select all
$tsw750='<table frame="void" bgcolor="#878787" border="0" cellpadding="0" cellspacing="0" text="#ffffff" width="750">';Code: Select all
$tsw750='<table frame="void" border="0" cellpadding="0" cellspacing="0" class="reg" width="750">';Code: Select all
/* tables */
table.reg {
background-color:#878787;
color:#ffffff;
}
table.req {
background-color:#FF0000;
color:#ffffff;
}i've looked at w3cschools.com's CSS stuff, but am not sure how to get cell spacing and cell padding into CSS if that's possible. I made the site to conform to html 4.0 since i don't have extensive CSS experience. i'm now trying to move anything that can be moved to CSS to gain experience with that, and to make this more forward compatible since i noticed things like <s></s> and <u></u> are deprecated in html4.01 and unsupported in xhtml 1.0.. i figure by 2.0 <i></i><b></b><sup></sup><sub></sub> aill go the way of align and <center></center> and join the rest in deprecation if not outright removal from valid tag/options. i'm currently moving bolding, italics, etc to <span class="whatever"></span> in the pages.