Разметка: [cce lang=»html»] CAPTION [/cce] Стили: [cce lang=»css»] .wrapper { width: 500px; } h2 { height: 33px; text-align: center; width: 100%; display: table-row; } h2:BEFORE, h2:AFTER { position: relative; display: table-cell; content: » «; width: 50%; height: 33px; background: #ff00ff; } h2 span { margin:0 20px; } [/cce] ДЕМКА