OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GI-YO on 18 Dec 2004, 17:14:55

Title: underline
Post by: GI-YO on 18 Dec 2004, 17:14:55
If i'm not mistaken to underline stuff in HTML is [ u ]  text here [ / u ],(with out spaces) and if this is right do you know if this will work in the notes section of my breifing?Im using using chopse editor thing.Cheers

GI-YO
Title: Re:underline
Post by: AK-Chester on 18 Dec 2004, 19:04:14
Quote
U - underlined text

Description:
The U tag underlines the text it encloses. Gaps between words in the enclosed text are also underlined.

Syntax:
<U>This will all be underlined</U>

Attributes:
No Attributes.
Taken from http://www.html4newbies.com/

But... nope, that doesn't seem to work in OFP briefings, while <B>This will all be bold</B> does.
Title: Re:underline
Post by: GI-YO on 18 Dec 2004, 19:33:02
Thanks for the quick reply, glad its not just me then ;D

GI-YO
Title: Re:underline
Post by: macguba on 20 Dec 2004, 00:48:21
OFP Briefings are NOT, repeat NOT html.   They are a law unto themselves based loosely on html.    ALL html codes DO NOT work in Briefings and Overviews, except those that do.

Knowledge of html is a significant disadvantage when working with Briefings and Overviews.
Title: Re:underline
Post by: AK-Chester on 20 Dec 2004, 01:12:54
Knowledge of html is a significant disadvantage when working with Briefings and Overviews.
Well, I found my knowledge of html to be VERY helpful when I started working with OFP briefing.html and overview.html files (even though not all html tags are recognized by OFP).
 :P
Title: Re:underline
Post by: macguba on 20 Dec 2004, 12:54:13
Quote
(even though not all html tags are recognized by OFP).
That's my point, you don't know which tags work and which don't.

Fortunately, I didn't know any html before, and I don't know any now, so I'm in the clear.   ;D
Title: Re:underline
Post by: Sophion on 20 Dec 2004, 15:19:10
...thats confusing  ???

I never seen an underlined text in briefing from BIS, so my guess that it's not possible.
Title: Re:underline
Post by: AK-Chester on 20 Dec 2004, 16:02:20
I never seen an underlined text in briefing from BIS, so my guess that it's not possible.
I guess you are right.  :-\
Title: Re:underline
Post by: void_false on 20 Dec 2004, 16:14:34
Once I've tried to embed flash and midi into briefing... But no success.  :-\
OFP uses very limited amount of tags i'd say.
<html> </html>
<head> </head>
<body> </body>
<p> </p>
<a> </a>
<hr>
<br>
<b> </b>

Sorry if i missed something.  ;D
Title: Re:underline
Post by: MachoMan on 20 Dec 2004, 16:34:26
It's not HTML u dummies it's XML  :P
Title: Re:underline
Post by: AK-Chester on 20 Dec 2004, 18:07:31
It's not HTML u dummies it's XML  :P
I don't think so. Not at all. XML is case sensitive, HTML isn't.
If it was XML it should make a difference if you'd write...
Code: [Select]
<p>...</p>...or...
Code: [Select]
<P>...</P>In OFP briefings and overviews this makes no difference at all.

From an official BIS briefing.html (not briefing.xml or briefing.xsl) file:
Code: [Select]
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">

<title>Titulek</title>
</head>
...
Any doubt about what type of document that is? I do not think so.

Also, the initialization of an XML file would look something quiet like this...
Code: [Select]
<?xml version="1.0" standalone="yes/no" encoding="UTF-8"?>...or at least...
Code: [Select]
<?xml version="1.0" encoding="iso-8859-1"?>...wouldn't it? I never saw an OFP briefing or overview file that had something like that in it. To be honest, I dunno sh*t about XML files, but... anyway.
 ;)
Title: Re:underline
Post by: Lean Bear on 20 Dec 2004, 19:38:24
Its definately an .html file type; why would you need to save it as an .html file extension if its not?