Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: Lazamataz; George W. Bush
U guys have anymore links to add?
53 posted on 10/15/2001 10:48:48 AM PDT by smith288
[ Post Reply | Private Reply | To 52 | View Replies ]


To: smith288; John Robinson
I'm ready for few others to have a look at what I'm doing with my beta version of an FR CSS Stylesheet Editor. You can see it at my FR website.

Javascript-based. Tested only with IE 6 so far. Should work with IE 5.x. Probably will even work with IE 4 since I wrote it using IE 4 specs.

Netscape will not work because NS doesn't expose the docuument.all collection. Apparently, NS uses something else and I don't have docs for it yet.

This is a very rough version. I just thought you guys might like to see what I'm doing so far. The editor uses a basic test page from FR. The editor places it in a scrollable sub-window. The editor sniffs out all the fr_* tags and sets itself up to edit those styles. So far, it can recall any custom color settings the user has made. The left/center/right/justify alignment is working. I'm just looking at how to do Fonts. It will probably simply be a single text box for the font's attributes:

fontStyle, fontVariant, fontWeight, fontSize, lineHeight, fontFamily

A few samples of how I'll be setting this font attribute:

italic normal bolder 12pt Arial
italic small-caps bold 12pt serif

I'll be looking into how to do the margins and borders using a similar shorthand style.

Suggestions/comments? Can anyone test with IE 4/5/5.5?
54 posted on 10/15/2001 12:01:21 PM PDT by George W. Bush
[ Post Reply | Private Reply | To 53 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson