Border Text

liunx

Guest
Is it possible to put text on a border using css?Define "text on a border."Define "text on a border."

Hi ray,

Did you notice the date on top of every post say your previous reply's date was <td class="thead" colspan="2">Yesterday 12:47 PM</td> but this is on table from the source code I get.
Can I simple do this in css without the help of tables?Just put it in a paragraph, header, or other element -- whatever makes semantic sense for your document -- then style that element as desired with CSS to get the desired visual appearance.I'd go with Nog's header suggestion as the most likely semantic thing. That's probably how this forum should be coded. Something like

<div style="border: 1px solid #5F2A00">
<h3 style="background: #5F2A00; color:#fff; font-size:1em; font-weight:bold">
Some Heading</h3>
<p>Some text that goes along with the heading above it.</p>
</div>

That's stream of conciousness so it prolly buggy.thank you guys just what I need, I'll post some help soon. thanks once again!
 
Back
Top