• Welcome to Valhalla Legends Archive.
 

Re:HTML lesson

Started by Adron, April 29, 2004, 07:22 PM

Previous topic - Next topic

quasi-modo

Quote from: Myndfyre on April 29, 2004, 04:58 PM
You know, I recently created a website where I set the DTD to XHTML 1.0 strict.  I don't know if ASP.NET is honoring that, but it's just a side-note.
probably not. Atleast if you are doing a <form runat="server"> That will spit up the viewstate tag even if viewstate is off, which will cause your code not to be valid. Furhtermore the form will have aname attribute, and all asp.net elements will have a name attribute.
WAR EAGLE!
Quote(00:04:08) zdv17: yeah i quit doing that stuff cause it jacked up the power bill too much
(00:04:19) nick is a turtle: Right now im not paying the power bill though
(00:04:33) nick is a turtle: if i had to pay the electric bill
(00:04:47) nick is a turtle: id hibernate when i go to class
(00:04:57) nick is a turtle: or at least when i go to sleep
(00:08:50) zdv17: hibernating in class is cool.. esp. when you leave a drool puddle

MyndFyre

What do you mean it will split up the viewstate tag?  When you view it in Notepad, the widest a string can be is 1024 characters.  It's still on the same line, *in reality* in the parser, just not in Notepad.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

quasi-modo

#17
I mean when you turn viewstate off in the web.config or at the top of the page, the tag will still be there, it will just only have a few characters there simply because a form is running at the server. It does not matter if its on one line or a bajillion, I know its in one line because I do not have mozilla set to wrap lines when I view the source, but the viewstate tag is will make the code invalid because it has the name attribute (name="__VIEWSTATE" ). Plus a form running that the server will have an invalid name attribute, just having the name there is bad, but the fact that the id, unless you change it has two __ in it too will also cause an error in the validator.
WAR EAGLE!
Quote(00:04:08) zdv17: yeah i quit doing that stuff cause it jacked up the power bill too much
(00:04:19) nick is a turtle: Right now im not paying the power bill though
(00:04:33) nick is a turtle: if i had to pay the electric bill
(00:04:47) nick is a turtle: id hibernate when i go to class
(00:04:57) nick is a turtle: or at least when i go to sleep
(00:08:50) zdv17: hibernating in class is cool.. esp. when you leave a drool puddle

Yoni

if i * i == 5

Took me a minute to think of that one. Can be extended to make sense, but it's already ambiguous as it is.

Adron

Ah, good one, it needs that separator for operators that can be either unary or binary.