CharlieMC (charliemc) wrote,
CharlieMC
charliemc

  • Mood:

CSS? I've Still Got It (at Least a Little!).

Some time back (I'm not sure when), my customized theme at LiveJournal stopped displaying correctly. For whatever reason, the text would just run off the edge of the text area of my blog. I doubt most of you have ever viewed my blog the way I do, but I use 'Mochachino' that uses the Smooth Sailing theme. I've added my own background image of books (in brown) -- which is not an especially lovely image, but I've had it for so long that I'm sentimentally attached to it (it's what I like to see when I go to my blog).

So for all this time (again, I don't recall how long -- but months and months, at the very least) I've just lived with it. But today I was messing around with CSS for work, and suddenly decided to see if I could add CSS here at LJ and fix the problem. And guess what? It worked!

I've loved CSS (which stands for Cascading Style Sheets) ever since I first learned how to use it (years and years ago). When I first learned HTML (which stands for Hypertext Markup Language) I learned it WITHOUT CSS -- but now they teach both together (as they should!).

Anyway, using CSS basically is how you determine the way HTML elements will be displayed on screen, (paper or other media). CSS saves a TON of work. Style sheets can control layout for multiple web pages all at the same time. Or you can use more than one style sheet for different purposes (I used to have different style sheets for various menus at our old festival website, for example).

In this case, I needed to add what's called padding to the main area of my blog (so text wouldn't overlap the right edge). The code looks like this:


(Total aside. Isn't that little 'textarea' box awesome? It lets me display HTML/CSS without having to code everything! I love it.)

Yeah, yeah. That's meaningless to anyone not interested in CSS. But if you do use CSS, you'll totally get what was going on here. (smile)

Anyway, I haven't tweaked my LJ blog in some time, so this made me so very happy!!!
Tags: 2016, blog, coding, css, customization, customizing, html, livejournal, may-2016, textarea
Subscribe

  • Marilyn's Presentation -- the Murdock Talks

    Tonight Marilyn gave her presentation for the Murdock Talks at the Museum of the Oregon Territory on Tumwater Drive in Oregon City (run by the…

  • Marilyn is Sick

    Marilyn has been sick with a bug (flu?) since Wednesday. I mean really sick. I sat up with her all night (until 4:00) Wednesday night. (She on the…

  • Ouch! PLUS Feeling Accomplished

    I sat at my computer for hours today -- still the most painful thing I do, all this time later. (No, it hasn't been two years of chronic pain...…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment