You are here: Re: Specific 3 column div issue « HTML « IT news, forums, messages
Re: Specific 3 column div issue

Posted by Beauregard T. Shagnasty on 06/07/06 19:28

Stuart Palmer wrote:

> Appriciate all your comments, however, the question wasn't 'was it right to
> do it' but 'how to do it'.

Well, this isn't a help desk, it's a discussion group. Besides, I
already told you how to do it:

"look into setting a <div> for content, and setting its width,
with left and right margins set to auto, using CSS."

I'll write it out for you.

#content { width: 760px; margin-left: auto; margin-right:auto; }

<div id="content">
<h1>This is the title.</h1>
<p>This is the content.</p>
</div>

About those with wide screens, why not set a max-width if you have a
sparse amount of content?

--
-bts
-Warning: I brake for lawn deer

 

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

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