columnRuleStyle का प्रयोग करें संपत्ति नियम की शैली निर्धारित करने के लिए। आप जावास्क्रिप्ट के साथ कॉलम के बीच नियम की शैली सेट करने के लिए निम्न कोड चलाने का प्रयास कर सकते हैं -
उदाहरण
<!DOCTYPE html> <html> <head> <style> #myID { column-count: 4; column-rule: 4px dotted yellow; } </style> </head> <body> <p>Click below to change style</p> <button onclick="display()">Change Style between Columns</button> <div id="myID"> This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. </div> <script> function display() { document.getElementById("myID").style.columnRuleStyle = "inset"; } </script> </body> </html>