Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by wickline (135) on 2002.07.31 13:23 (#11261) Journal
    > I hate HTML for forcing such ugly design on us

    Hate the browsers for not supporting standards.
    HTML isn't meant to force *any* design on you.
    That's what CSS is for: allowing page authors
    to force ugly designs on folks :)

    Try the following in mozilla...

    -matt

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
    <html><head><title>test</title>
    <style type="text/css">
        div.main { margin: 5em; } // all four sides
        ul       { margin: .5em .5em .5em -2em; }
                        // top  right bot left
    </style>
    </head><body><div class="main">
        <p>
            This is a paragraph with normal margins.
        </p>
        <ul> <li>foo
        </li><li>bar
        </li><li>baz
        </li></ul>
        <p>
            This is a paragraph with normal margins.
        </p>
    </div></body>
    </html>