Reply to Re: modular code

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 06/16/07 12:59

Adrienne Boswell wrote:

> Hans-Peter Diettrich wrote:
>> Ed Seedhouse wrote:
>> [cbnewman@gmail.com wrote:]
>>>> if I have a footer that I want to be displayed on every page but I
>>>> only want to update it in one place (perhaps a single HTML file)
>>>> how can I get it to display on every page on my site?
>>>
>>> Not with CSS.
>>
>> Why not? Can a CSS file not contain visible text?
>
> No, an external style sheet is just that, a Style Sheet, only
> affecting presentation of the document's markup. The only time you
> would see text from a stylesheet is in the case of the Content
> property, used in conjunction with :before and :after
> pseudo-elements.

...with the caveat that it will not work in the oft-used browser-like
operating system component.

#contentbox:after {
content: "Copyright 2007. All rights reserved.";
}

Note you can't place any HTML in this content.

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original 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

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