Embedding a text file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Samir Talwar

    Embedding a text file

    Hi there. I'm writing a web site for my dad and I'm trying to embed
    text from an external file into the document - I need a frames section
    and a non-frames section and when one is changed it would be so much
    easier if I didn't have to go through the code to change the content
    every time my dad changed something. Any way to embed text?

    Thanks,
    Samir Talwar
  • Brian

    #2
    Re: Embedding a text file

    Samir Talwar wrote:[color=blue]
    > I'm writing a web site for my dad and I'm trying to embed
    > text from an external file into the document - I need a frames section
    > and a non-frames section and when one is changed it would be so much
    > easier if I didn't have to go through the code to change the content
    > every time my dad changed something. Any way to embed text?[/color]




    The Web Design Group's Web Authoring FAQ addresses frequently asked questions related to HTML, images, style sheets, and other Web authoring issues.


    --
    Brian
    follow the directions in my address to email me

    Comment

    • Stanimir Stamenkov

      #3
      Re: Embedding a text file

      Samir Talwar wrote:
      [color=blue]
      > Hi there. I'm writing a web site for my dad and I'm trying to embed
      > text from an external file into the document - I need a frames section
      > and a non-frames section and when one is changed it would be so much
      > easier if I didn't have to go through the code to change the content
      > every time my dad changed something. Any way to embed text?[/color]

      The way it is meant to be:

      <div>
      <object data="plain.txt " type="text/plain"
      width="100%" style="height: 10em">
      <a href="plain.txt ">Embedded Text Document</a>
      </object>
      </div>

      Set width and height accordingly (I've used CSS to specify the height).

      --
      Stanimir

      Comment

      • Samir Talwar

        #4
        Re: Embedding a text file

        So there is no real way to embed text into a web page. Thanks anyway!
        Samir Talwar

        Stanimir Stamenkov <s7an10@netscap e.net> wrote in message news:<bmhdvj$mp dib$1@ID-207379.news.uni-berlin.de>...[color=blue]
        > Samir Talwar wrote:
        >[color=green]
        > > Hi there. I'm writing a web site for my dad and I'm trying to embed
        > > text from an external file into the document - I need a frames section
        > > and a non-frames section and when one is changed it would be so much
        > > easier if I didn't have to go through the code to change the content
        > > every time my dad changed something. Any way to embed text?[/color]
        >
        > The way it is meant to be:
        >
        > <div>
        > <object data="plain.txt " type="text/plain"
        > width="100%" style="height: 10em">
        > <a href="plain.txt ">Embedded Text Document</a>
        > </object>
        > </div>
        >
        > Set width and height accordingly (I've used CSS to specify the height).[/color]

        Comment

        • William Tasso

          #5
          Re: Embedding a text file

          Samir Talwar wrote:[color=blue]
          > So there is no real way to embed text into a web page.[/color]

          no - the 'way' is virtual as explained in replies to you o/p

          for 'real' embedding you need an axe
          --
          William Tasso - http://WilliamTasso.com


          Comment

          Working...