×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

I'm inserting a text file into a we

I'm inserting a text file into a we

I'm inserting a text file into a we

(OP)
I'm inserting a text file into a web page with the <object> tag.
It works, but I can't figure out how to format the linked text file.
Would like to change font size, color, etc.

Tried a bunch of things but no success.
Can someone point me in the right direction? I already researched this on google and
w3schools, but can't find answers.
Thanks in advance, people.

RE: I'm inserting a text file into a we

You can't. The contents of the object tag are displayed as is. While you can affect the object element itself, such as its background and border, the actual data content of the "object" element cannot be formatted outside of any format it itself contains.

If its a straight text file, then it will just be raw text.

If you need to give it format, then you'll need to turn the file into something that can hold format information. A .txt file is by definition formatless raw text.



----------------------------------
Phil AKA Vacunita
----------------------------------
OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual Machine on Mac OSx.

Web & Tech

RE: I'm inserting a text file into a we

(OP)
thanks Vacunita
I tried an rtf file but didn't work.
I guess I'll try to put html tags in the embedded file and see what happens.
Have a good one.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close