|
Posted by Dan on 03/14/07 18:02
On Mar 14, 1:24 pm, charles cashion <charle...@dunjas.com> wrote:
> I want to use css to change font size in the middle of a sentence.
> What I have tried thus far, has added a line feed.
> (sort of like plain vanilla <p>)
You probably tried using a <div> element which is a block-level
element that defaults to adding a line break (and can't be nested
within a paragraph anyway). What you really want is the <span>
element, which is character-level and can be nested inside a paragraph
and does not imply a line break.
--
Dan
Navigation:
[Reply to this message]
|