Welcome to WebmasterWorld Guest from 54.145.136.73

Forum Moderators: not2easy

Underline style applies differrently

   
9:52 am on Apr 2, 2003 (gmt 0)

10+ Year Member



The style:

.bodyunderline {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: x-small;
text-decoration: underline;
color: black;
font-weight: normal;
}

The htm as the above style is applied:

<ol type="i"><li>some text<span class="bodyunderline">some unerlined text</span>
<strong>AGREED:</strong> more text</li>
<li>some text <span class="bodyunderline">some underlined text</span> <strong> AGREED:</strong> No objections
</li>
</ol>

The problem: both the text AND the white space in between the text should be underlined - this is the case with the second item in the list, but not the first. I can't see why - can anyone on here throw any light please?

Thanks, Jools

[edited by: Nick_W at 10:06 am (utc) on April 2, 2003]
[edit reason] no specifics please [/edit]

10:13 am on Apr 2, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Do you have any styles affecting the list items themselves? or the <ol>?

Nick

11:03 pm on Apr 2, 2003 (gmt 0)

10+ Year Member



Not as far as I'm aware.

<td><h3><br>some text</h3>
<h2>a) more text</h2>
yet more text
<h2>b) text</h2>
<ol type="i"><li>more text<span class="bodyunderline">text</span>
<strong>AGREED:</strong> text</li>
<li>text <span class="bodyunderline">more text</span> <strong> AGREED:</strong> text
</li>
<li>more text<span class="bodyunderline">text</span> <strong>AGREED:</strong>
text>
</ol>
<h2>c) Decisions </h2>
<p>None.</p></td>

That's the code for the full td. If it's not shown a style or tag, then it defaults to the style for body which is Verdana xsmall plain justified text.

I've not edited the ol or li tags in dreamweaver MX. H3 is set to bold underline. H2 is bold

Must just be me - but I can't see why.

Jools

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month