|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div::before { content: "Test"; }
|
|
div { display: table; }
|
|
p { display: table-row; }
|
|
span { display: table-cell; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<p>
|
|
<span>Col 1</span>
|
|
<span>Col 2</span>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|