gshultz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How To Center ImageHey 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
Forum: Fixing WordPress
In reply to: How To Center ImageYes, 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?
Forum: Fixing WordPress
In reply to: How To Center ImageI 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… ??
Forum: Fixing WordPress
In reply to: How To Center ImageOK, 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
Forum: Fixing WordPress
In reply to: How To Center ImageAll right, all right, I spelled it SAYONARA!!! I think I got this thing whipped now! ??
Greg
Forum: Fixing WordPress
In reply to: How To Center ImageHere 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
Forum: Fixing WordPress
In reply to: How To Center ImageOK, 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?
Forum: Fixing WordPress
In reply to: How To Center ImageGuys, 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
Forum: Fixing WordPress
In reply to: How To Center ImageI think I need more user friendly software. I am not a programmer.
Thanks guys,
Greg
Forum: Fixing WordPress
In reply to: How To Center ImageThat 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…
Forum: Fixing WordPress
In reply to: How To Center ImageWhere 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
Forum: Requests and Feedback
In reply to: Printable DocumentationI 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