Use HTML Modules Wisely

Page Editor's HTML module is indeed a good way to work around some of the limitations that Office Live Small Business imposes upon you. Nevertheless, what you must remember is that doing so is really a cluge. You should use html, but within limits. If you attempt to design an entire page with ForntPage and try to paste it in an HTML module, you are likely to be disappointed. At best, it may not show up on the page. At worst, it may mess up your page for good.

Here are a few tips about what kind of HTML you SHOULDN'T paste in HTML modules:

  1. Don't paste any HTML that contains a form. A regular HTML page can contain as many forms as you fancy. Not Office Live's web pages. An Office Live web page has a built-in form. If submits to itself.That is the ONLY form an OLB page will process. If you try to add additional forms, they will be ignored.
  2. You can't paste any html/javascript that tries to manipulate properties of the document object. The visual properties of the document object are controlled by a site-wide style sheet. Changing them with javascript will have no effet, because the css styles override whatever change you code.
  3. You can't paste html/javascript that needs to pasted in the <head> tag. By default, you can only manipulate the header information through the site designer. You can't paste code ot HTML there.
  4. Although ASPX pages can contain server-side code, Office Live will throw an error if you try to bring such a page up in the browser.

Using HTML is not a mindless task. Beyond the simplest code, you must have a clear understanding of how the Request/Response process works, how html is generated from an aspx page, and how aspx pages are processed (the processing is different from plain HTML pages). You must also have a clear understanding of HTML and javascript concepts.

If you insist on copying HTML or code from somewhere and pasting it into an HTML module without understanding it, you'll only make matters worse.


Add comment


 

  Country flag

[b][i][u][quote]
Loading