explanation needed

WARNING: If you don’t design web pages, you will have no appreciation for this post.
Ok, even a couple friends that do web stuff got mixed up by what I meant in a couple rants.

It is not illegal to put CSS in the About Me: section of Myspace in that you aren’t allowed to. What I meant is that it is completely illegal according to W3C standards for web pages. Okay, that’s about as confusing as the first time around. Lets try again. Myspace allows you to do things that you shouldn’t be able to do.

<html>
  <head>
    <title>webpage title</title>
    <style type=”text/css”>a.comments { color: #0000ff; }</style>
  </head>
  <body>
     <p>About Me: I rock!</p>
  </body>
</html>

Ok, see where the style tag is? According to web standards, you can only place it in the head section. It is illegal to put it in the body where the About Me: section is. That is what people do on Myspace, however, and what Myspace allows/encourages. They should just add a CSS field to the profile that people can copy and paste their code into instead of allowing such a bad practice to continue. Its not like they don’t know its happening. Probably 99% of all accounts have CSS injected into the About Me:. Ok, I’m done now.

cheers!

This entry was posted in regular. Bookmark the permalink.

1 Response to explanation needed

  1. trina says:

    yeah. that was me. getting confused. my bad.

    i like how you put “cheers” twice!

Leave a Reply

Your email address will not be published. Required fields are marked *