I have only
one design idea... Let each user build his/her own CSS style. I even have the idea on how to implement this with minor growing pains, although it would require that all of the bgcolor, color, etc tags be replaced with class="whatever" tags. On the HTML side, we could do a
<head>
<title>$current_node</title>
<link rel="stylesheet" type="text/css" href="/style.pl?style=$user_pk"
+ title="Default Styles"
media="screen">
</head>
<body class="myBody">
<!-- ... and so forth... -->
and on the database side, a table like
create table user_styles (
user_pk varchar2(x) primary key references whatever.user_pk,
mybody varchar2(32),
mytable varchar2(32),
mytr varchar2(32),
mytd varchar2(32),
myth varchar2(32),
mylink etc, etc, etc,
);
I'm not sure I'm making myself clear, but if you need a sample with source I can soupe something up... (and if you need a reference on my so called
design skillz, please check out my
website.
#!/home/bbq/bin/perl
# Trust no1!
updated idea:
...and if you don't feel like creating your own style, you could always select from a library of presets and/or have a "dropdown" or something for other monks themes.
Maybe even a "most popular themes" thingy...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.