CD-517Appendix F . Examples from (Web hosting contract) Parts III and
Friday, February 29th, 2008CD-517Appendix F . Examples from Parts III and IV caption NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example The following example, for use with The Evaluator (Chapter 13) in NN6+, demonstrates the sequence of assigning a new CAPTION element object to a table. While the table in The Evaluator already has a CAPTION element, the following statements replace it with an entirely new one. Enter each of the following statements into the top text box, starting with the one that saves a long reference into a variable for multiple use at the end: t = document.getElementById( myTable ) a = document.createElement( CAPTION ) b = document.createTextNode( A Brand New Caption ) a.appendChild(b) t.replaceChild(a, t.caption) A view of the table shows that the new caption has replaced the old one because a table can have only one CAPTION element. cellPadding cellSpacing NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Use The Evaluator (Chapter 13) to adjust the cellPaddingand cellSpacing properties of the demonstrator table. First, adjust the padding (IE5+/NN6 syntax): document.getElementById( myTable ).cellPadding = 50 Now, adjust the cell spacing: document.getElementById( myTable ).cellSpacing = 15 Notice how cellSpacing affected the thickness of inter-cell borders. TABLE.cellPadding
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.