Double Underline on a word

liunx

Guest
Hi All<br />
<br />
I'm trying to double underline a word in a document we are doing yet have no clue how to do this. <br />
<br />
Can anyone who knows the way to write this in HTML please lend a hand? Thanks !<!--content-->HTML stands for HyperText Markup Language - it defines the structure of the document, not the way its particular elements are presented. <br />
Presentation of HTML is defined by CSS (Cascading Style Sheet). Look up the border property.<!--content-->.zog {<br />
border-bottom : medium double #00ff00;<br />
}<!--content-->I'm only trying to underline 1 word in a sentence with double underlines. Those borders go around the word.<!--content-->Without seeing your styles and the way you applied them to the content it's still guessing, but the style Robert supplied should ony set the bottom border. To be sure no other border properties are set, append his example like so:<br />
.zog { <br />
border: 0 none inherit;<br />
border-bottom : medium double #00ff00; <br />
}<br />
The border shorthand property will first clear every border setting; next, the border-bottom shorthand property should only set the bottom border.<br />
<br />
Apply these styles in the following manner (just a simple example):<br />
<p>This sentence contains a <span class="zog">double-underlined</span> word.</p><!--content-->
 
Back
Top