helen99: Science (Science)
Does anyone know the custom CSS to display a background image in the "page background" section of the Transmogrified style? I'm guessing the CSS would have to specify the page section/container/position as well as the image (so the image didn't display in the 'entry' section and obscure the text, for example).

Eventually I'll switch to Core2 (Tabula Rasa?) when it's ready, at which point I'll want to know how to apply a background image (or different colors) to separate portions of the layout, and how to change the arrangement of the layout parts using CSS. Transmogrified is the practice style until that happens...
helen99: 42 (42)
Testing the HTML editor. For some reason, this defaults to RTE, which I don't particularly like. If I save a post while in the HTML editor, will it then default to the last saved option (HTML) or always go back to RTE?

EDIT: Success! It now defaults to HTML where I last saved it. I don't want to hard code fonts, but I do have the habit of inserting tags myself instead of clicking buttons, and I can see the large courier type of the HTML editor much better than the tiny type of the RTE. I also sometimes use the STRIKE tag when editing so the sequence of edits is preserved.

SO testing the username thingy: [personal profile] rialian
helen99: Bird in a tree (Bird in a tree)
I took a look at dw_docs,  and was impressed at the amount of care the group is taking to ensure Dreamwidth is accessible to people with disabilities.  I found a couple of links to accessibility checkers, one of which was this:

FAE (Functional Accessibility Evaluator):  http://fae.cita.uiuc.edu/

I ran a website that I created many years ago through FAE.   Epic fail.

As an exercise,  I decided to make the website pass an FAE check (just the home page - not  even trying to do the rest of the site done yet).  Luckily there were no tables, so I didn't have to apply heading label codes to each table cell.

One thing that I have not yet figured out how to do is to apply LABEL tags to form elements with the FOR attribute.   For the time being, I took out a form that was situated at the bottom of the page - it was no longer necessary since there is an alternate way to accomplish the same thing with a simple link.  I still want to figure out how to do the LABEL tags properly, though, so I will be revisiting that.  It took about 3 hours to get the front page to pass.  Some areas of failure were:

Inline FONT, CENTER, and B (bold) tags rather than using CSS and structural markup (I had CSS in place, but didn't use it consistently).
No language specification in the HTML tag: For example, HTML LANG="EN-US".
No META tag defining the content type placed in the <head> section:  For example,
META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=iso-8859-1".
No H1 (main heading) element.
No text heading - I had used images for the headings.
The use of forms without LABEL tags.
The use of images with no ALT tags (some of them had them but use was inconsistent).
The use of images that were less than 8 pixels wide or long (I had used a stripe image as a page divider).  The preferred method is to display ornamental aspects of the page by defining them in the CSS.
Use of frames - FAE did not point this out, but this is generally frowned upon.  Server side Includes or some other method of parceling out a page would be favored.  I have not corrected this yet (a job for a weekend sometime).

And so forth.  Anyway, I corrected all of that, and converted an inline java Lake applet to a static image. I really like the lake applet, but it had an annoying habit of  breaking whenever Firefox updated itself, and it caused the page to be very slow to load, and it was possibly exploitable, even with the recent patches. 

The page certainly loads faster now, if  nothing else, but it looks pretty plain.  I can probably spice it up by learning more CSS.  The trick will be to be able to include various pretty things without failing the checker... 

Weird

Mar. 6th, 2009 12:31 pm
helen99: A windswept tree against a starlit sky (Default)
So I got this spam email saying something like, "Hi, helen99, work from home with Google online!"

For some reason I decided to view the source code of the email. The top part of the email source code contained the expected code for the "work from home" link (which had nothing to do with Google) and an "unsubscribe" link (which led to a page called "confirmation_WLMT209.html"), Heh. Like I said, nothing unexpected.

When (after scanning for viruses) I viewed this email as an HTML page, it showed these links, and that was it - nothing else.

The weird part about this was, in the source code below the links appeared the following tag: STYLE (enclosed in the usual triangle brackets). And after the STYLE tag was a fantastically gloom and doom breakdown of the current horrors of the economy and unemployment, complete with a Bloomberg report on all the major banks. None of this showed up in the email at all, nor was anyone likely to see it unless they decided to look at the source code.

I tested the STYLE tag by creating a simple HTML page and using this tag to hide text. It works. The text between STYLE and /STYLE didn't show. Only the text after the /STYLE showed up.

April 2010

S M T W T F S
    123
45678910
11121314151617
18192021222324
252627282930 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags