This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > January 2005 > link to display text from text doc in CSS
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
link to display text from text doc in CSS
|
|
| meierk 2005-01-15, 11:14 pm |
| I am trying to set up a text document (just with notepad) which I can put onto
my website (behind the scenes) which will contain the contents of a page like
"announcements" or something.
This way, whoever has access to the document can edit it and change the site
info without having to change the actual page. I then hope to use CSS to dress
it up.
Any help out there or do you need more of an idea? Thanks in advance.
| |
| Donna Casey *TMM* 2005-01-15, 11:16 pm |
| meierk wrote:
> I am trying to set up a text document (just with notepad) which I can put onto
> my website (behind the scenes) which will contain the contents of a page like
> "announcements" or something.
>
> This way, whoever has access to the document can edit it and change the site
> info without having to change the actual page. I then hope to use CSS to dress
> it up.
>
> Any help out there or do you need more of an idea? Thanks in advance.
>
REad up on using includes (SSI or Server-side includes). The page with
the include must use .shtm or .shtml extension (to prompt the server to
parse the page) and the include may not have html, head or body tags.
I use this method a lot for client edited items and for items like
menus, which appear on all pages. (shared by the site)
There are tricky issues but in general, this is a good method. THe DW
help discusses ssi.
as a side note, there's lots of discussion about what extension to use
for the actual included file--ssi, inc, etc. I stick with .htm because
it allows DW to edit the page, even though it doesn't have a head or
body tag set.
HTH
--
Donna Casey | Web Designer/Developer/Instructor
Team Macromedia Dreamweaver & Fireworks | www.macromedia.com/go/team
--------------------------------------------------------------------------
Co-Author | Macromedia Studio MX Bible
Contributor | Dreamweaver MX Magic
Contributor | Fireworks MX Magic
| |
| meierk 2005-01-18, 4:16 am |
| Thank you.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|