You are here: Re: change font size « HTML « IT news, forums, messages
Re: change font size

Posted by Ed Seedhouse on 03/15/07 01:28

On 14 Mar 2007 11:02:36 -0700, "Dan" <dan@tobias.name> wrote:

>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.

Actually you probably need some other inline element such as <em>
depending on the meaning of the content. <span> should be used only
when some other semantic and appropriate tag is unavailable.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация