CharlieMC (charliemc) wrote,

  • Mood:

CSS: Float and Clear Properties...

I still seem to have 'issues' with the float and clear properties...

For those of you who have decided to dump the align property in favor of floats, good for you! It's the way we should all be doing it now, considering align is now deprecated...

My recent 'goof' wasn't how I was using clear at all, it turned out. I'd simply spelled the word 'style' wrong (!!!) and didn't catch it right away. How annoying to keep trying to reason out why the clear wouldn't work, when it was just a spelling error!

I'm glad that for the most part I'm good at spelling -- and I can catch my own coding errors (including bad spelling). If things break, I've got nobody I can turn to -- so it forces me to look and really see what's there!

In Other Coding News (heh), I managed to use a divide to make a neat little box around some text today. It looked something like this:

I'm in a box!

Yes, that can be done with a transparent background, too -- but when you're defining any colors here at LiveJournal, you need to be sure to put a background behind them. (Feel free to ask me why that's true, if for some reason you don't know!) That's cool: Using CSS I just defined a <b> tag as being italic and having normal weight, meaning it didn't show up bolded. I'm not sure why that's so cool, but it is. (grin)

I imagine this all seems like a game I play -- and in some ways that might be true! (smile) But I'm getting good enough now at CSS not to be looking things up (like I used to), and to be able to really dash off code as I work. I probably type as well in code as I do for standard (non-code) text now. Or almost...

May I mention again how glad I am that I learned how to code by hand??? It means you have to learn the code, or you can't produce anything.

I'm sure it's great to be able to do code with various applications. I might even want to learn how someday. But doing the code this way means I can read it -- and even understand it. At least, most of the time I can! (grin)

That's another good thing, working with code you didn't originally create! I've had to reason out what various portions of the code at the work site are designed to do, because there was no one around to tell me. And with CSS, you can do things in so many ways -- so it's been interesting, to say the least!

I could probably write a book on what it was like learning the interaction between one instance of webpage code, the various SSIs (Server Side Includes) and the style sheet, for example! I adore SSIs now and wish Marilyn mistressmarilyn and I had a domain host that supported them inexpensively. They really make for great and simple-to-change navigation -- without using Javascript or frames (ugh).

Today I was 'tweaking' the style sheet (yet again) and then tweaking the appearance of a portion of the Home page. It's still not exactly where I'd like it to be (sigh), but sooner or later I'll get it there.

In the meantime, another website professional complimented the site yesterday, not realizing that I'm the webmaster. It was cool to hear what he had to say -- and to realize he was actually talking about my work. (After all, I'm still changing the original site, so it's not like I designed the thing. But he specifically referred to things that are mine, so...)

It seems like every day I learn something new about web coding. Seriously! And it makes me so very happy!

Well, I've got piles of work to do -- and I also need to tackle the garbage and recycling (funny how that never goes away, isn't it?). And it's starting to get dark...
Tags: 2008, css, may-2008, work

  • Post a new comment


    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.