We knocked 'em deader!

Willow ,'Lies My Parents Told Me'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


§ ita § - Nov 19, 2002 9:45:00 am PST #1619 of 10000
Well not canonically, no, but this is transformative fiction.

Not using quotes is, IIRC, deprecated. Quotes are recommended (and hopefully soon mandated for the forgetful among us == me) for all attributes. They are currently mandatory for any attribute with a space or other special thingy in them.

t font face="Arial Rounded MT Bold" for instance, although one should say t font face="Arial" and not t font face=Arial .


Jessica - Nov 19, 2002 9:47:35 am PST #1620 of 10000
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

Ah -- I thought they were mandatory for all attributes already.


Typo Boy - Nov 19, 2002 9:58:35 am PST #1621 of 10000
Calli: My people have a saying. A man who trusts can never be betrayed, only mistaken.Avon: Life expectancy among your people must be extremely short.

Actually, in both cases, it will display

Horner John ThatAussieNetwork

</nitpick>

Thanks. Now corrected.


Katie M - Nov 19, 2002 10:19:07 am PST #1622 of 10000
I was charmed (albeit somewhat perplexed) by the fannish sensibility of many of the music choices -- it's like the director was trying to vid Canada. --loligo on the Olympic Opening Ceremonies

Ah. So I should being using quotes for everything after an =, then? So for font color as well?


Katie M - Nov 19, 2002 10:19:08 am PST #1623 of 10000
I was charmed (albeit somewhat perplexed) by the fannish sensibility of many of the music choices -- it's like the director was trying to vid Canada. --loligo on the Olympic Opening Ceremonies

§ ita § - Nov 19, 2002 11:08:31 am PST #1624 of 10000
Well not canonically, no, but this is transformative fiction.

Yup.


John H - Nov 19, 2002 1:24:27 pm PST #1625 of 10000

Thanks for that PHP stuff Gar, I did actually know that you can use arrays in order and as associative arrays, but coming from a Perl background where one has to be a @ and the other has to be a %, it freaks me out when everything's a $.

It's like that Stephen Wright gag about the thermos: put something hot in it, it keeps it hot, put something cold in it, it keeps it cold -- but how does it know?


John H - Nov 19, 2002 1:35:53 pm PST #1626 of 10000

OK the thing about whether stuff gets enclosed in quotes?

Technically speaking, it's about what type of characters are in the attribute's value.

[for people who may not know the terminology -- in <font color="white"> "font" is the tag, "color" is the attribute, and "white" is the attribute's value.]

If you do a syntax check, you'll get an error message for

width=50%

but not for

width=50

because "50" contains alphanumeric characters only, but the per cent sign isn't alphanumeric.

Similarly, you'll get an error for:

font color=#ffffff

but not

font color=white

for the same reason, which kind of seems wrong to me.

But this only applies to non-strict versions of HTML only, like the one we use here. Other versions require much more rigour and everything to be in quotes. Plus it always comes down to the browser's level of forgiveness anyway. Your browser might be happy with it, but not someone else's.

So ita's right, of course, always enclose things in quotes, yes. But please use the same ones at the end you use at the start...


Katie M - Nov 19, 2002 2:23:30 pm PST #1627 of 10000
I was charmed (albeit somewhat perplexed) by the fannish sensibility of many of the music choices -- it's like the director was trying to vid Canada. --loligo on the Olympic Opening Ceremonies

Okay. Using quotes, and using them twice. Got it.


Typo Boy - Nov 19, 2002 2:38:32 pm PST #1628 of 10000
Calli: My people have a saying. A man who trusts can never be betrayed, only mistaken.Avon: Life expectancy among your people must be extremely short.

Thanks for that PHP stuff Gar, I did actually know that you can use arrays in order and as associative arrays, but coming from a Perl background where one has to be a @ and the other has to be a %, it freaks me out when everything's a $.

But the end() function actually did help, right? The rest was just a thought that if you did not know the end() command, you might have missed some of the other functions.

And, yeah the one thing you have to get used to in PHP is how it makes your life easier. Except when it makes your life harder. Or impossible. In short, just like any other programming language.