|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
 |
Re: Can CSS handle Include Files? |
 |
|
 |
|
|
|
 |
 |
Re: Can CSS handle Include Files? |
 |
|
 |
|
|
|
  06-27-04 - 09:14 AM
|
mlanza@lycos.com (Mario T. Lanza) wrote:
> If you're a web designer, you have undoubtedly used cascading style
> sheets in order to improve your sites separation of form and content.
This would be what politicians call a "motherhood statement"? Why do
some new posters feel the need to do this? Is this one of those
unfriendly newsgroups that doesn't tolerate dissent? Getting to the
point...
> You probably also use Server-side include files to include snippets of
> content-building code.
You didn't mean to imply that the typical website includes only
"snippets of content" buried in a wasteful bloatemplate, I know.
> I was thinking, how about adding a reference to an ASP or PHP include
> file directly in the style sheet. The new INCLUDE attribute I'm
> suggesting would be similar to the BEHAVIOR attribute except that it
> would allow reference to a server-side script.
Since few people understand the wackiness of "behavio(u)r", that's
probably not the best analogy, but yeah.
> CSS:
>
> .datebox {behaviour:url('getdatepopup.htc')} /* possible */
Only in Microsoftland, but yeah.
> #sidebar {include:url('myfavoriteblogs.asp')} /* impossible? */
>
> OLD MARKUP:
>
> <div id=sidebar>
> <!-- #include file="myfavoriteblogs.asp" -->
> </div>
>
> NEW MARKUP:
>
> <div id=sidebar />
>
> Can you imagine how clean your markup would be if this were possible?
Yes. Please update your browser.
> Is it possible? Any good techniques?
The property to include content is called "content", not "include".
Doesn't work in Microsoftland, though.
Download Opera: http://www.opera.com
Read about CSS: http://www.w3.org
--
"I'm sorry, Miss Grant, but you're
going to be sacrificed to a noble end."
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
 |
Re: Can CSS handle Include Files? |
 |
|
 |
|
|
|
 |
| All times are GMT. The time now is 04:32 AM. |
 |
|
|
|
|
|  |
|