You are here: Re: Basic CSS Content Placement Question « HTML « IT news, forums, messages
Re: Basic CSS Content Placement Question

Posted by Adrienne Boswell on 03/08/07 18:52

Rangy wote:
> Hi,
>
> Say you have a simple layout as follows (all DIVs):
>
> Header
> Content Column
> Footer
>
> What is the best way to align and position the content WITHIN the
> "Column" div? In the past I would have used nested tables but I'm not
> sure of how "the pros" out there do it.
>
> I saw some suggestions about creating a child element (e.g. <p>) and
> then using absolute positioning with a parent (h1) element that is set
> for relative positioning.
>
> Any advice is greatly appreciated. There must be a better way than
> <br>!
>
> Thanks!
> Rangy

I don't have my crystal ball with me today, but I'll bet that Column
is for navigation, isn't it? How about
<ul id="nav">
<li><a href="somewhere.html"></li>
<li><a href="thispage.html" id="thispage"></li>
</ul>

Depending on how you are generating the page (by hand static) or
server side, you can use the id="thispage" to make that link different
from the others so people will know that they are on that page.

--
Adrienne Boswell at work
Administrator nextBlock.com
http://atlas.nextblock.com/files/
Please respond to the group so others can share

 

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

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