Berkeley CSUA MOTD:2003:November:29 Saturday <Friday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2003/11/29-12/1 [Computer/SW/Languages/Misc] UID:11262 Activity:nil
11/28   With HTML, I don't like how text runs from the left edge to the right edge
        of the browser window. Without using a table with a width that's some
        percentage of the screen, how can I let there be a (empty) margin on
        both sides of the text? It's easier to read this way. Thanks.
        \_ use <div> ... </div> tags to surround the text and use CSS to
           specify the location and width of that region.  you also could use
           CSS to specify margins for the <body> tag, but that will apply
           to everything, not just text.
           \_ Wow, for a second I saw <booty> rather than <body>.  I was trying
              to figure out what the hell the <booty> tag did, and when it
              got added to the spec....
        \_ you're totally right. use css:
             body { padding-left: 10%; padding-right: 10%; }
                \_ hey that's awesome. now is there a way to fill up that empty
                   10% on the left side with a solid bar of color, or some
                   sort of vertically-oriented image?
                   \_ make another div, set the width to 10% and set the
                        background-color: orange;
                   \_ something like
                body { padding-left: 10%; padding-right: 10%;
                       background: orange url(./img.jpg) no-repeat top left;
                     } might work, experiment.  See http://www.csszengarden.com
        \_ use css but make sure you test on whatever browsers you want to use.
           IE 5 fucks some stuff up, so I test against IE5 and Firebird (which
           is pretty similar to IE6 in terms of rendering CSS... but better)
        \_ Cool, thanks everyone. -op
2003/11/29-12/1 [Recreation/Dating, Health/Women] UID:11263 Activity:nil
11/28   Never leave your home again...
        http://news.bbc.co.uk/1/hi/health/3241138.stm
2003/11/29-12/1 [Reference/RealEstate] UID:11264 Activity:nil
11/29   http://www.nytimes.com/2003/11/29/business/29RENT.html?pagewanted=2&hp
        "Apartment Glut Forces Owners to Cut Rents in Much of U.S."
        According to the article, Bay Area rents have fallen more than 20
        percent over the last three years, more than anywhere else.  Is
        that true?
        \_ http://sfgate.com/cgi-bin/article.cgi?f=/c/a/2003/11/29/BUGHE3CDHN1.DTL
           SF rents up as vacancies go down.
           \_ That's commercial property though, not residential.
           \_ But yes, rents have fell through the floor in SF.  Not as much
              as they should, though - there is a huge glut of really bad
              apartments on the market, and many landlords still seem to think
              its 1998 and are overpricing them.  Thus there are a lot of
              properties just sitting empty, because you can always find a
              better deal.
2003/11/29-12/1 [Computer/SW/OS/Linux, Computer/HW/Drives] UID:11265 Activity:nil
11/29   What linux command shows the current RW or RO status of a partition.
        on my debian server, mount shows these same partitions as the same:
        /dev/hda2 on /home type ext3 (rw,errors=remount-ro)
        /dev/hda3 on /sto type ext3 (rw,errors=remount-ro)
        but /dev/hda3 has some disk error and is now read only. thanks.
2003/11/29-12/1 [Politics] UID:11266 Activity:nil
11/29   Capitalism run amok!
        http://csua.org/u/54c (cnn link)
        \_ SHIT!  What has this world come to?  And man, the Wal-Mart
           spokeswoman's quote: "We want her to come back as a shopper."
           I wish it was her that was trampled...
Berkeley CSUA MOTD:2003:November:29 Saturday <Friday>