John Davidson

php - Dashes between cells that act as "connectors"?

0 comments
Message:


I have a table which requires dashes over cell borders, something like this:


-|-


given that "|" is a vertical border, and a dashed line should be in one piece, going over the cell border. Couldn't find the css property anywhere, sorry if it's too easy :D



My Answer:
a separator in a table can be added using the following code:

php
echo "";
echo "";
echo "";
echo "";
echo "
Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6
Cell 7Cell 8Cell 9
";


This code will create a simple table with dashes between each cell. You can customize the table further by adding CSS styles or additional HTML elements as needed.

Rate this post

5 of 5 based on 2719 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us