WordPress.org

Forums

Why am I having a problem with 1 thing in my theme (8 posts)

  1. vepnav
    Member
    Posted 10 years ago #

    Anyone viewing my blog from firefox or opera web browsers, they get a grey background, however using internet explorer, my blog looks great and fully functioning...

    http://www.Genoflux.com

    Thats the link for my blog :/

  2. moshu
    Member
    Posted 10 years ago #

    I'd try to validate the site:
    http://validator.w3.org/check?verbose=1&uri=http%3A//www.genoflux.com/Windwalker/
    too many errors to be sure where the problem is but unclosed divs definitely are a big no-no :)

  3. vepnav
    Member
    Posted 10 years ago #

    Holly Mother of god.

    all these errors....

    Cant I do anything about it?

    I just transfered all of my posts from my blogger.com account to my new hosted wordpress account..

  4. moshu
    Member
    Posted 10 years ago #

    You can just go one error at a time :)
    When on the validation page check the Show Source box and hit Revalidate. After that every line number in the error description will be a link that would take you to the line in the source where the error is. It's much easier to detect where the problems are :)

  5. vepnav
    Member
    Posted 10 years ago #

    I will work on finding this one stupid (or few if they exist) line of code. Soon as I have it killed, wow that would be an accomplishment I guess.

    Edit: I did what you told me, all I can see is errors that come from posts that I have made in the past, probably me importing posts from blogger.com to wordpress directory was the cause.

    the theme itself is totally valid, which strucks me.

  6. vepnav
    Member
    Posted 10 years ago #

    I just found out that the error lies somewhere in here, but it looks great to me, anyone thinks I missed a tiny thing that ruined what the site looks like for me?

    ====================================

    <h2 class="hr"><?php _e('Currently in (Country):'); ?></h2>

      <div align="center"><img src="http://img159.imageshack.us/img159/3544/ok5xt8nf.gif">

    </div>

    <h2 class="hr"><?php _e('No. of Visitors'); ?></h2>

    </div>

    <h2 class="hr"><?php _e('Credits Goes to:'); ?></h2>

    <?php } ?>
    </div>
    </div>
    </div>
    <? } // End Sidebar Menu ?>

    <? // Begin Footer ?>
    <hr class="hide" />
    <div id="footer">

    <img src="<?php bloginfo('stylesheet_directory'); ?>/img/hat.gif" alt="" />

    Genoflux: A World of Wonders

    <img src="<?php bloginfo('stylesheet_directory'); ?>/img/w3c-dave.gif" alt="Valid XHTML 1.1" />
    <img src="<?php bloginfo('stylesheet_directory'); ?>/img/w3c-css-dave.gif" alt="Valid CSS" />

    </div>
    <? // End Footer ?>

    </body>
    </html>

  7. moshu
    Member
    Posted 10 years ago #

    1. Don't post long code here - moderators don't like it ;)
    (next time use http://pastebin.com or a similar service).
    2. in XHTML (do your homework and read about it) every img code has to be closed with /> and a space before it.
    3. There is a font tag in the code above that is not closed etc.
    Just do what I said, go line by line. There is no shortcut.
    One line - correct, save.
    Next line, correct, save. Error and trial. That's the way we all learned...

  8. vepnav
    Member
    Posted 10 years ago #

    sorry about long codes. first time for me to use this service. my mistake I didnt read the stickies and the terms of service of this forum.

Topic Closed

This topic has been closed to new replies.

About this Topic