So that's what you're doing
![[lol] [lol] [lol]](/data/assets/smilies/lol.gif)
well you can't do that. at least like that
first you can only set styles for one element like this
TABLE {
vertical-align: middle;
}
although I would not sugget doing this due it it doing this effect to every table in the page. so do something as this
TABLE.main {
vertical-align: middle;
}
then in the table that is the main table set the class to call upon the style
<table class="main">
although this is really redundent and I would simply align the table in the table tag as
<table align="center" valign="middle">
then set other styles to it
Then is you want to format the cells <TD> do that seperately
TD {
vertical-align: middle;
}
etc...
aligning tables with css can get fairly tricky and confusing when the nests get exstensive. I at least think it's a good practice to align the main table in the tag itself. I can make for ease of getting things to look the way you want them
set the styles then to the nested tables. ---------------------------------------
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee"

;alert(Nstr); }