How to set the default border width of table to 1 ?

Last post 10-19-2009, 5:26 PM by rtekula. 3 replies.
Sort Posts: Previous Next
  •  10-18-2009, 4:42 PM 56468

    How to set the default border width of table to 1 ?


    Hi,
         When we insert table using Toolbar's Insert Table command button, the border of the table is set to "0" in all browsers.  How can we make the border to "1" by default. Thanks
          
    cellcellcell
    cellcellcell
    cellcellcell
     
  •  10-19-2009, 12:12 PM 56489 in reply to 56468

    Re: How to set the default border width of table to 1 ?

    If I insert a table...
     
    cellcellcell
    cellcellcell
    cellcellcell
     
    there is no point in having border defaulto to "0". It will not be shown 
  •  10-19-2009, 12:26 PM 56490 in reply to 56468

    Re: How to set the default border width of table to 1 ?

    Hi,
     
    Please open the Constant.js , and modify this line :
     
    editorconstant._CreateEditingTableStyle = "<table border='0' cellspacing='2' cellpadding='2' width='500'>";
     
    Regards,
    Terry
     
  •  10-19-2009, 5:26 PM 56499 in reply to 56490

    Re: How to set the default border width of table to 1 ?

    Thankyou Terry
View as RSS news feed in XML