Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter gshultz

    (@gshultz)

    Hey Guys,

    While I am pleased with the results of getting that picture centered, I clicked on the XHTML validation link and it discovered five “errors.” The site didn’t like my kludgy home navigation button and it also seemed to have a problem with the /div related stuff. I’m trying to learn here, so any help would be appreciated. Is this validation site to be trusted?

    Also, I wanted recommendations for a good book to begin learning XHTML or anything else that would make me more proficient with WordPress. As I said before I have a programming background, but it’s been a long while since I coded anything outside of simple Visual.Net applications when I finished my MIS degree last year.

    Any suggestions are welcomed.

    Many Thanks,

    Greg

    Thread Starter gshultz

    (@gshultz)

    Yes, it would be nice if the forum software were threaded within the different subjects. But I guess we are in the early days of this blogging stuff, right?

    Thread Starter gshultz

    (@gshultz)

    I actually used to be a programmer for a living, but that was over ten years ago. I quit that and went on easy street for a while doing network admin stuff. Now that the glory MCSE days are over I find myself editing “CSS style sheets.” Here I go again… ??

    Thread Starter gshultz

    (@gshultz)

    OK, I removed the span tags. For the record, then, this is the code that finally worked for me:

    <div class=”center”>March 4, 1995 to October 28, 2005
    <img src=”/wp-content/FordEscort.jpg” width=”320″ height=”214″ alt=”The Babe Magnet” /></div>

    Gracias, mi amigos!

    Greg

    Thread Starter gshultz

    (@gshultz)

    All right, all right, I spelled it SAYONARA!!! I think I got this thing whipped now! ??

    Greg

    Thread Starter gshultz

    (@gshultz)

    Here is what finally worked:

    <div class=”center”>March 4, 1995 to October 28, 2005
    <img src=”/wp-content/FordEscort.jpg” width=”320″ height=”214″ alt=”The Babe Magnet” /><span>

    </span></div>

    I now only wish I understood why it works, and in between all the reading I have to do for my living I hope I can find the time to fully read the WP docs, and soon. In the meantime, thank you guys very much! Beers are on me!

    Greg

    Thread Starter gshultz

    (@gshultz)

    OK, I cut and pasted what you provided and it still doesn’t work.

    I did correct the spelling of “sayanora.” Thank you for that. Now we’re half way home. Why the devil can I not get this stuff centered?

    Thread Starter gshultz

    (@gshultz)

    Guys, I gave this one more college try. Both of these suggestions already existed in style.css:

    .center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    }

    and

    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    Go to https://www.gregshultz.com and you will see I have tried to center the image and the text above it. The calls are there but it isn’t working.

    I’m not going to give up on this (despite earlier message posted out of frustration) and any help will be rewarded with a round of beers next time any one of you hit Orlando.

    Here is what the image link contains right now, and you should be able to see it when you view the site:

    <class =center”>March 4, 1995 to October 28, 2005
    <img src=”/wp-content/FordEscort.jpg” width=”320″ height=”214″ class=”center” alt=”The Babe Magnet” /></class>

    I’ve also tried “centered” and that doesn’t work either.

    Thank you,

    Greg

    Thread Starter gshultz

    (@gshultz)

    I think I need more user friendly software. I am not a programmer.

    Thanks guys,

    Greg

    Thread Starter gshultz

    (@gshultz)

    That stuff was already in style.css, and class=center does not work:

    <img src=”c:\fordescort.jpg” class=”center” alt=”The Babe Magnet” />

    This software is about to make me tear what is left of my hair out…

    Thread Starter gshultz

    (@gshultz)

    Where do I insert:

    .center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    }

    And how do I change my link after doing that?

    Thanks,

    Greg

    Thread Starter gshultz

    (@gshultz)

    I was using the search engine for an answer, and came up empty. Thank you for your kindness, however. I hope the rest of your day goes better than it has up until now.

    Greg

Viewing 12 replies - 1 through 12 (of 12 total)