Re: underline in a different color
- From: "Beauregard T. Shagnasty" <a.nony.mous@xxxxxxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 17:59:52 GMT
John F wrote:
I want to <u>underline in red</u> but leave the original text color
unchanged. This is for "redlining" text that's been changed between
drafts.
Wouldn't <del>...</del> be the proper code for marking text that has
changed?
The best googling solution I found was of the form
<span style="display:inline; border-bottom:thin solid red;">
stuff to be underlined </span>
which has various and sundry problems, e.g.,
o if there's a <ul>...</ul> inside the span,
the border goes all the way across the window,
like an <hr>. I want it to just underline the text.
You can't place a block-level element inside an inline element. That
would not validate.
o Accidentally using those two <span>'s with an incorrectly
balanced construction like
<span><span> <p>... </span></span> ...</p>
Same as above: no block inside an inline.
.. Or is there some standard html procedure
for redlining changed text? Thanks,
Here is how I would do it:
del { color: red; }
<p>Someone wants to <del>mark this text</del> in red, as "changed
text."</p>
--
-bts
-Friends don't let friends drive Vista
.
- Follow-Ups:
- Re: underline in a different color
- From: Jukka K. Korpela
- Re: underline in a different color
- From: Jonathan N. Little
- Re: underline in a different color
- References:
- underline in a different color
- From: John F
- underline in a different color
- Prev by Date: Re: What is the recomended method for Laying out HTML forms?
- Next by Date: Re: underline in a different color
- Previous by thread: underline in a different color
- Next by thread: Re: underline in a different color
- Index(es):