You are here: Re: WIDTH attribute for peformatted text « HTML « IT news, forums, messages
Re: WIDTH attribute for peformatted text

Posted by Rincewind on 10/02/05 12:28

On Sat, 01 Oct 2005 20:28:51 -0400, Jud McCranie wrote:

> On Sat, 01 Oct 2005 09:16:16 GMT, Rincewind
> <the_rincewind@hotmail.com> wrote:
>
>>If I understand correctly, I think what you need to do is put the text
>>inside a <div></div> with a width set to 95%(nearly full screen) this way
>>when the browser window is resized or with lower resolution screens the
>>text will flow within the <div></div>.
>
> That sounds exactly like what I need, but I'm looking at a reference
> (the one recommended earlier) and I don't see how to set the 95%.
> ---
> Replace you know what by j to email

In your html:
<div id="content"><p>Your text goes here</p></div>

In your CSS:
#content{width:95%;}

or:
<div style="width:95%;"><p>our text goes here</p></div>

 

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

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