Help on STRANGE styles attributes generated by WORD...
Posted on 2006-04-08
I have a form with a large complicated table on it that I decide to try designing in Word 2003, saving as a web page and then modifying in Dreamweaver. I have a couple of questions.
It seems that MS uses some special style attributes that seem to work, yet I can't find an explanation of them anywhere and Dreamweaver signals as being errors (yet they work?)
mso-border-top-alt:solid #EAEAEA .5pt
I figure the mso-thing is just proprietery MS, but the -alt part, I can't find described anywhere. Here is the whole TD in question:
<td width=739 colspan=34 valign=top style='width:7.7in;border-top:none;
border-left:solid #EAEAEA 1.5pt;border-bottom:solid #EAEAEA 1.0pt;border-right:
solid #EAEAEA 1.5pt;mso-border-top-alt:solid #EAEAEA .5pt;mso-border-top-alt:
1.5pt;mso-border-color-alt:#EAEAEA;mso-border-style-alt:solid;padding:0in 0in 0in 0in'>
<p class=MsoNormal style='margin-top:0in;margin-right:2.15pt;margin-bottom:
mso-bidi-font-family:Arial'>WHY DO I NEED TO COMPLETE THIS FORM<span
This cell has thin gray lines on some sides and thick gray lines on other sides. It seems to give values to the typical border attributes, then adds these "-alt" type values. The original border values are incorrect and the -alt ones are correct.
Is this the process necessary if one wants to declare an unusually sized or colored border color?
Also, in the TABLE declaration, they go:
<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0
solid #EAEAEA .5pt;mso-yfti-tbllook:480;mso-padding-alt:0in 0in 0in 0in;
mso-border-insideh:.5pt solid #EAEAEA;mso-border-insidev:.5pt solid #EAEAEA'>
What is the significance of doing BORDERCOLLAPSE;COLLAPSE and then BORDER:NONE, then declaring the "-alt" values?
P.S., It works perfectly so I don't want to mess with it - I just want to understand it :)