WordPress.org

Ready to get started?Download WordPress

Forums

Validating my page (10 posts)

  1. brianbonner
    Member
    Posted 9 years ago #

  2. brianbonner
    Member
    Posted 9 years ago #

  3. brianbonner
    Member
    Posted 9 years ago #

    I can't get it to post right it is html links enclosed with the function. But it says it is not valid. Do I have to use the

      and
    • to use html links? How do I get 2 links on the same line? They have an image in them. I put 2 links with images between then after the last link

  4. vkaryl
    Member
    Posted 9 years ago #

    Depends on doctype. It's fine in 4.0 transitional, but it's not good in most newer doctypes. Stuff like "border=0" declarations belong in the css....

    You should find some css tutorials online - understanding why styling elements are removed from the html will help you sort out how to handle the files in wp distros.

    [You'll have to use backticks around the code to get it to display. If that's the problem, my reply above isn't germane. I thought we were just discussing html.... sorry.]

  5. Lorelle
    Member
    Posted 9 years ago #

    A backtick is the backwards apostrophe which is found on the key to the far left next to the "1" key and it hosts the backtick without the SHIFT key and the tilde ~ with the SHIFT key on, if that helps.

    What you do is wrap it around your code like this:

    BACKTICKthen put your code in here with < and then some of > and whatever you need and it will work and then end it with a BACKTICK

    and it will look like this:

    then put your code in here with < and then some of > and whatever you need and it will work and then end it with a

    One of the most annoying things on this forum is the much complained about lack of clear instructions on this in the post area, so you're not alone. They've fixed it recently but it is still confusing.

  6. brianbonner
    Member
    Posted 9 years ago #

    <h4>NRA News:</h4>
    <div class="leftsideSection">
    <ul>
    <script language="Javascript" src="http://www.nraila.org/XML/StickerThin.aspx"></script>

    </ul>
    </div>
    Ok I got this code from the nra. What is wring with what i am doing with it?

    <h4>blogging tools</h4>
    <div class="rightsideSection">

    <img src="http://www.blogrankings.com/images/blogrankings.gif" border="0">
    <img src="http://www.pingmyblog.com/images/pingbutton.gif" border="0">

    </div>
    This I also got from the companies. what should it look like?

  7. brianbonner
    Member
    Posted 9 years ago #

    <h4>blogging tools</h4>
    <div class="rightsideSection">

    <p>
    <a href="http://www.blogrankings.com"><img src="http://www.blogrankings.com/images/blogrankings.gif" border="0"></a>
    <a href="http://www.pingmyblog.com"><img src="http://www.pingmyblog.com/images/pingbutton.gif" border="0"></a>

    </p>
    </div>

    sorry

  8. Lorelle
    Member
    Posted 9 years ago #

    Okay, I forgot to add that you are NOT to put a line break, just a solid paragraph.

    It looks like your problem is with the javascript or something that isn't acting right, which isn't a WordPress issue, though we are trying to help. I don't know what nra is so I can't help you with whatever it is they are supplying you. You will need to contact them for help on that.

    As for the rest, it looks like links that are wrapped around graphics, and they look fine.

    So unless we know specifically what the problem is with these links, or the way they are laid out (look fine), you are left with contacting nra about the javascript you got from them.

  9. AlanSmithee
    Member
    Posted 9 years ago #

    no alt and no closing /> for the image. Also in order to validate the script tag should be: <script type="text/javascript">

  10. brianbonner
    Member
    Posted 9 years ago #

    It came up as a validation issue. but I think it is because it is a Xhtml validator. It is perfectly good html.

    As for the java script. it does cause the display of the right column to delay showing. I am not to pleased with that instance. The NRA script show current NRA news links. It has always worked fine in the past on my other blog. But the validator says it is bad. but then again it says some things i just know is no big deal. Like it was upset I hadn't added my links yet. Nothing is perfect. It is a good tool. it did point out some typos I missed. But then staring at code for a week I started getting punchy. Especially when accelerator didn't let me see the changes on refresh. I thought I was loosing my mind.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.