homepage Welcome to WebmasterWorld Guest from 54.225.1.70
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
Underline style applies differrently
joolsm




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

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]

 

Nick_W




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

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

Nick

joolsm




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved