Results 1 to 2 of 2

Thread: simple text doc htm?

  1. #1
    Join Date
    Apr 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default simple text doc htm?

    I've got a script I'm running that loads an iframe and I've got it set up so that it will load a plain text doc.htm however I need to make the doc.htm with a white background and I'm having trouble getting it to work (since I'm using a grey theme) the background is grey. So I've tried putting the text in openoffice & throwing:
    <body bgcolor="#ffffff">
    on top of the text then save as an htm doc but so far all I've gotten is the text including the <body bgcolor="#ffffff">
    text blah blah
    show up with a grey background not white.

    Can anyone tell me how to make a simple htm doc for text with a white background.....no titles, nothing so that it will load with a white background in my scrollable iframe?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Copy the below and paste it into a plain text editor such as notepad, edit "Your Text Goes Here" for content and save as doc.htm -

    HTML Code:
    <html>
    <body text="black" bgcolor="white">
    Your Text Goes Here
    </body>
    </html>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •