Jump to content

theYinYeti

Members
  • Posts

    2151
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by theYinYeti

  1. This concerns Mozilla 1.0 on Linux, as well as Mozilla 1.0 and 1.1 on Win2K.

     

    I created my personnal web site. I tested it at home with Apache of course. It works well.

     

    I tried to do it very much W3C-compliant, so I used a lot of CSS (while still making sure it works without CSS). My problem is that my site, once FTPed to my provider, stops loading CSS!

     

    So I looked at Mozilla's "Javascript console", and here are messages I get:

    Error: The stylesheet http://.../main.css was not loaded because its MIME type, "text/plain", is not "text/css".
    
    Error: The stylesheet http://.../mainmenu.css was not loaded because its MIME type, "text/plain", is not "text/css".

    The strange part is that I made another site at work, for which I get this:

    Warning: The stylesheet http://.../index.css was loaded as CSS even though its MIME type, "text/plain", is not "text/css".

    So obviously, both sites are not treated equal.

    I tried to find differences, and here's all I found:

    On my personnal site, page begins with

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
    
    <html>

    and the CSS link is defined

    <link href="../_css/main.css" rel="stylesheet" type="text/css" />

    in XHTML notation, whereas on my test site at work, page begins directly with <html> and the CSS link is defined

    <link rel="stylesheet" type="text/css" href="index.css">

    in HTML notation.

     

    Question: does anyone know how to force mozilla to always accept "text/plain" files as CSS files?

     

    I tried convincing my provider to reconfigure their web server to give a correct MIME type to CSS files, but to no avail (because there's no problem with Netscape 7, they say).

     

    Yves.

  2. I need html
    I do too (either HTML or rich text). As far as I know, the only free e-mail clients that do that are: Evolution, Mozilla (and Netscape of course), and maybe Ishmail.

    As Ishmail is bugged (only IMAP works with me), and Evolution too (and too heavy), I definitively settled for Mozilla. It is very good at having multiple identities.

    Besides, I need LDAP, and Mozilla handles this very well too.

     

    Yves.

     

    Hmmmm. Maybe Mozilla, I think it does html.
    :lol: :lol:
  3. Were I you, I would shrink the Win95 partition to a small part of your hard disk, then install Linux on the remaining space. Be aware that if you want to set a share-data partition readable both by Linux and Win95, this partition should be FAT32 (FAT32 is the same as VFAT) (or FAT16 -same as FAT- if Win95 does not read FAT32).

     

    Next, when all is setup, look here for a start:

    http://www.club-nihil.net/mub/viewtopic.ph...p?p=30351#30351

    And you can always ask for details is there are some things you'd like to know.

     

    Yves.

  4. Can someone explain what ACL brings to the system. I know what ACL are, but are the features of ACL worth the extra complexity for a typical Unix?

    Besides, when ACL is enabled, are there any tools at all (Konqueror, GMC, Nautilus...) that are aware of it?

     

    Yves.

  5. I've tried. In short, I've come to the conclusion that it can't be done (mainly because of file permissions and locks). The solution I adopted is IMAP.

     

    First, you have to install IMAP. It is in the "imap" package, along with POP3, both for the xinetd deamon (so they have to be enabled).

     

    Then I configure procmail system-wide with /etc/procmailrc. In this file, I instruct to move all mails from certains senders into /var/spool/mail/share/INBOX

    Then I create a user whose login is "sharemail", and password is "sharemail", and home-directory is "/var/spool/mail/share". Of course, I create this home-directory, and (as root) I do this:

    # touch /var/spool/mail/share/INBOX
    
    #chown -R sharemail.root /var/spool/mail/share

     

    Then I launch a mail client (eg: Evolution) and configure it to access the (empty for now) IMAP account sharemail/sharemail on localhost. This action should initialize the INBOX file, so that it is seen as IMAP.

     

    That's all. Now you can give the login/password to anyone you want to access this mail account.

     

    On the local machine, you can even use a mbox mail checker so check for new mail. Just point it to the good file. The only problem is that it will always report one too many new mail, because the INBOX file initialization creates a IMAP header in the file, that is seen as a mail, even though it is not.

     

    Yves.

  6. Just W3C: http://www.W3.org/Here's an example of something I did:

    body {
    
     background: rgb(255,255,255);
    
     color: rgb(0,0,0);
    
    }
    
    h1, h2, h3, h4, h5, h6, p, ul, ol, dl, li, td, th {
    
     font-family: sans-serif;
    
    }
    
    h1 {
    
     text-align: center;
    
     color: rgb(255,0,0);
    
     font-weight: 800;
    
    }
    
    h2, h3, h4, h5, h6 {
    
     text-align: left;
    
     color: rgb(255,102,0);
    
     font-weight: 600;
    
    }
    
    h6 {  font-size: 0.8em;	}
    
    h5 {  font-size: 1.0em;	}
    
    h4 {  font-size: 1.2em;	}
    
    h3 {  font-size: 1.4em;	}
    
    h2, h1 {	font-size: 1.6em;	}
    
    p {
    
     font-size: 1.0em;
    
     text-align: justify;
    
     text-indent: 5ex;
    
     margin: 1ex 0 0 1ex;
    
    }
    
    code, pre {
    
     font-family: monospace;
    
     font-size: 0.8em;
    
    }
    
    code {
    
     display: inline;
    
     white-space: normal;
    
     color: rgb(159,95,63);
    
    }
    
    pre {
    
     display: block;
    
     white-space: pre;
    
     margin: 0 1ex;
    
     padding: 0;
    
    }
    
    ul, ol {
    
     display: list-item;
    
     list-style: outside;
    
     text-align: justify;
    
    }
    
    ol {  list-style-type: upper-roman;	}
    
    ol ol {  list-style-type: decimal;	}
    
    ol ol ol {	list-style-type: lower-alpha;	}
    
    ul {  list-style-type: disc;  }
    
    ul ul {  list-style-type: circle;	}
    
    table {
    
     border: 1px outset rgb(75%,75%,75%);
    
     margin: 1ex;
    
    }
    
    tr {  border: 0 none rgb(255,255,255);	}
    
    td, th {	border: 1px inset rgb(75%,75%,75%);	}
    
    td {
    
     vertical-align: top;
    
    }
    
    dl {
    
     text-align: justify;
    
     margin: 1ex 0 0 1ex;
    
     font-size: 0.9em;
    
     font-weight: 400;
    
     font-style: normal;
    
    }
    
    dt {
    
     font-weight: 700;
    
     text-decoration: none;
    
     font-style: italic;
    
    }
    
    blockquote {
    
     margin: 1ex 1ex 0 5ex;
    
     font-size: 0.9em;
    
     text-align: left;
    
    }
    
    iframe {
    
     display: block;
    
     margin: 0 1ex;
    
     padding: 1em;
    
     border: thin solid rgb(159,95,63);
    
     background: rgb(95%,95%,85%);
    
     width: 100%;
    
     height: 350px;
    
    }
    
    em {
    
     color: rgb(255,102,0);
    
     text-decoration: none;
    
     font-weight: 400;
    
     font-style: italic;
    
    }
    
    sup, sub {
    
     font-size:80%;
    
     line-height: 125%
    
    }
    
    sup {  vertical-align: top;	}
    
    sub {  vertical-align: bottom;	}
    
    a:hover, .index a:hover, .language-description a:hover { /* CSS2 */
    
     color: rgb(0,37,102);
    
     background-color: rgb(255,102,0);
    
    }
    
    address {
    
     font-size: 10px;
    
     color: rgb(191,0,0);
    
     text-align: right;
    
     font-style: normal;
    
     margin: 0;
    
     padding: 0;
    
    }
    
    
    
    ins, ins a, ins em, ins code, ins td, ins dl {
    
     font-size: 110%;
    
     color: rgb(20%,40%,60%);
    
     text-decoration: none;
    
    }
    
    del, del a, del em, del code, del td, del th, del dl, del li, del .keywd, del .param {
    
     font-size: 90%;
    
     color: rgb(50%,50%,50%);
    
     text-decoration: line-through;
    
    }
    
    
    
    /*
    
    * Classes modificatrices de tags HTML
    
    */
    
    p.follow {	/* comme après un BR */
    
     text-indent: 0;
    
     margin-top: 0;
    
    }
    
    pre.in-list {	margin-left: 10em;	}
    
    pre.code {
    
     padding: 0 1ex;
    
     border: thin solid rgb(159,95,63);
    
     background: rgb(95%,95%,85%);
    
    }
    
    pre.code-in-container {
    
     padding: 0 1ex;
    
     margin: 0;
    
    }
    
    .contains-pre-code {
    
     border: thin solid rgb(159,95,63);
    
     background: rgb(95%,95%,85%);
    
    }
    
    pre.wrong-code {
    
     padding: 0 1ex;
    
     border: thin solid rgb(0,0,0);
    
     background: rgb(95%,95%,85%);
    
     color: rgb(255,0,0);
    
    }
    
    dl.language-description {
    
     font-family: monospace;
    
     text-align: left;
    
     color: rgb(159,95,63);
    
     font-size: 0.8em;
    
    }
    
    dl.note {
    
     color: rgb(191,0,0);
    
    }
    
    div.section {	/* partie de document spéciale (sommaire, index...) */	}
    
    
    
    /*
    
    * Classes et identifiants fonctionels
    
    */
    
    .keywd {
    
     font-weight: 700;
    
     text-decoration: none;
    
     font-style: normal;
    
    }
    
    .param {
    
     font-weight: 400;
    
     text-decoration: none;
    
     font-style: italic;
    
    }
    
    .index {
    
     text-align: left;
    
    }
    
    .index a {
    
     color: rgb(0,37,102);
    
     font-weight: 400;
    
     text-decoration: none;
    
     font-style: normal;
    
    }
    
    .language-description a {
    
     color: rgb(159,95,63);
    
     font-weight: 400;
    
     text-decoration: none;
    
     font-style: normal;
    
    }
    
    .warning {
    
     background-color: rgb(255,255,127);
    
    }
    
    
    
    div#ref-doc {
    
     font-size: 10px;
    
     color: rgb(191,0,0);
    
     background: transparent;
    
     text-align: right;
    
     margin: 0;
    
     padding: 0;
    
    /* CSS2 */	z-index: 10;
    
    /* CSS2 */	position: fixed;
    
    /* CSS2 */	top: 0; right: 0;
    
    }
    
    div#front-page p {
    
     font-size: 1.2em;
    
     line-height: 2em;
    
     vertical-align: bottom;
    
    }
    
    div#front-page h1 {
    
     border: 2px rgb(0,0,0) solid;
    
     line-height: 1.5em;
    
     margin: 3em 0;
    
    }
    
    div#front-page table {
    
     width: 100%;
    
     margin: 1.5em 0;
    
    }
    
    div#front-page table, div#front-page tr, div#front-page th, div#front-page td {
    
     border: none;
    
    }
    
    div#front-page th, div#front-page td {
    
     line-height: 1.5em;
    
     vertical-align: middle;
    
    }
    
    div#front-page th {
    
     font-style: italic;
    
     text-align: left;
    
    }
    
    div#front-page .document-type {
    
     font-weight: bold;
    
     font-style: normal;
    
     font-size: 1.2em;
    
     line-height: 2.5em;
    
     vertical-align: middle;
    
     border: 2px rgb(0,0,0) solid;
    
    }
    
    div#front-page table.references {
    
     font-weight: 600;
    
     border: 1px solid rgb(0,0,0);
    
    }
    
    div#front-page table.references th, div#front-page table.references td {
    
     border: 1px solid rgb(0,0,0);
    
    }
    
    div#front-page div#copyright {
    
     border: 1px solid rgb(50%, 50%, 50%);
    
     color: rgb(50%, 50%, 50%);
    
     text-align: center;
    
    }
    
    
    
    /* CSS2: */
    
    @media print {
    
    h1, h2, h3, h4, h5, h6 {
    
    	 font-weight: 600;
    
    	 color: rgb(0,0,0);
    
    	 text-decoration: underline;
    
     }
    
    body, td, th {	font-size: 90%;  }	/* bug: IE ne répercute pas dans table */
    
    p, ul, ol, dl, li, td {
    
    	 font-family: serif;
    
     }
    
    h6 {  font-size: 1.0em;	}
    
    h5 {  font-size: 1.2em;	}
    
    h4 {  font-size: 1.4em;	}
    
    h3 {  font-size: 1.6em;	}
    
    h2, h1 {	font-size: 1.8em;	}
    
    code, pre.wrong-code, em {
    
    	 color: rgb(25%,25%,25%);
    
     }
    
    dl, dl.language-description, a, #ref-doc {
    
    	 color: rgb(0,0,0)
    
     }
    
    a {
    
    	 text-decoration: none;
    
    	 font-weight: 600;
    
     }
    
    .warning {
    
    	 background-color: transparent;
    
    	 text-decoration: underline;
    
     }
    
    del, del a, del em, del code, del td, del th, del dl, del li, del .keywd, del .param {
    
    	 display: none;
    
     }
    
    div#front-page h1 {
    
    	 text-decoration: none;
    
     }
    
    /* PAGE BREAKS : (->CSS2->) */
    
    div#front-page {
    
    	 page-break-after: always;
    
     }
    
    div.section h1 {
    
    	 page-break-before: always;
    
     }
    
    h1+h2, h2+h3, h3+h4, h4+h5, h5+h6 {
    
    	 page-break-before: avoid;
    
     }
    
    h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
    
    	 page-break-before: avoid;
    
     }
    
    address, iframe, ol, ul, tr, img {
    
    	 page-break-inside: avoid;
    
     }
    
    }

    One of my first tries with CSS, so there may be errors.

     

    Yves.

  7. HTML is suitable for printing if you use the proper CSS rules for the printer media, and of course if your browser supports media distinction in CSS.

    Back in late 1999/early 2000, only IE could do that (distinguish screen and printer output in CSS); mozilla M17 (IIRC) could not. But it seems that Mozilla 1.0 is able to render different CSS rules for screen and printer.

     

    Yves.

  8. I've got a problem. I used to be happy with networking: there was only PPP and it worked OK. Then I bought a cheap laptop to use as a remote display (X terminal) via XDMCP.

    So now I have:

    - local network (up by default) with main PC and laptop,

    - PPP (down by default, I use kppp) on the main PC.

     

    When the laptop is connected to main PC via XDMCP, and I bring PPP up, then the local network connexion is broken and XDMCP freezes.

     

    Of course, 127.0.0.X is routed to loopback.

    On local network, main PC is 10.0.0.1 and laptop is 10.0.0.2, and 10.0.0.X is routed to eth0.

    On PPP, IP is dynamic, DNS is dynamic, and ppp0 becomes default route when PPP is up.

     

    As I see it, when ppp0 becomes default route, it should not be a problem with local network because 10.0.0.X is still routed to eth0. Still, as soon as ppp0 is up, local network freezes (the XDMCP-displayed screen on the laptop becomes still, and no more light-blinking can be seen on the ethernet-switch).

     

    Any idea?

     

    Yves.

  9. PLF is unavoidable for all Linux users. And PLF is entirely USA's fault :evil:

    USA have a way or making stupid laws (or "bills" it seems to be called over there).

    As most distro want to be able to sell in the USA, they cannot include packages that go against USA's laws. But everywhere else in the world, PLF packages are legal. I hate Bush and his weak government, that is allowing the big corporations' will to become law :evil:

     

    I think that all PLF should be available as an ISO (kind of a 4th CD) to be used in other places than USA.

     

    Yves.

     

    ...should I Moderate myself for this post :? ...

×
×
  • Create New...