WordPress.org

Ready to get started?Download WordPress

Forums

My own theme, problems on firefox (17 posts)

  1. richardba
    Member
    Posted 6 years ago #

    I've created my own theme based upon Roundflow, but accidentaly I erased the html and head original coding, at first sight it works perfectly over IE7 (I dunno about IEx), but my friends told me that on firefox the div layers act incorrectly through the page

    I've tried to re-add some tags from the original template, nothing fixed at all

    can someone help me out here?

    link to my wp moded page

    http://ultimate-letoya.org/wp

  2. wolfieb
    Member
    Posted 6 years ago #

    Looking at the W3C Validator, it looks like you've deleted all the declarations from the header of the template (where character sets, etc are defined so that browsers know what they are dealing with). There are also a number of other errors that are causing the site to display improperly.

    If you have the original header file available, re-add all of the declaration statements and then work through the other errors one-by-one. That should fix the problem (or at least make it easier for you to spot other things that may be causing the issue).

    Additional: IE is a much more 'forgiving' broswer than Firefox, Opera, etc, because it is not as strictly standards compliant as the others. This why it will still properly display poorly written websites, when the other browsers won't.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Yeah, without a DOCTYPE, it's just tag soup. Could render as anything.

    Make it into a valid XHTML or HTML4 page.

  4. richardba
    Member
    Posted 6 years ago #

    I did it

    but the theme looks the same thing on firefox

    =[

  5. whooami
    Member
    Posted 6 years ago #


  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

  7. richardba
    Member
    Posted 6 years ago #

    now I've cleaned the major problems,

    there is only post problems left behind

    what can I do?

  8. wolfieb
    Member
    Posted 6 years ago #

    The W3C validator is still reporting a number of errors, including some tags where you have things like <p><center> tags. As far as I understand HTML, these need to be <p align="center"> to work properly.

    I don't know how much of your display problems fixing those will cure, but you need to fix as many of the errors as possible. Ones like this will be in your posts, not in the template of your site, so you just need to run the validator, see what the errors are and go through your site until they're all fixed.

    It may be a long process, but code that validates properly is worth the effort, as it will give your blog the best chance to be be seen as intended regardless of which browser your reader is using.

  9. richardba
    Member
    Posted 6 years ago #

    No, these errors I can't fix them all, only if I go through post by post editing them

    and I only erased the head section of the code,

    btw, the postcontent is under a div layer and a table tag
    I don't know why it goes all the all to the right

  10. wolfieb
    Member
    Posted 6 years ago #

    No, these errors I can't fix them all, only if I go through post by post editing them

    That's what I was suggesting, I'm afraid. There seem to be errors in your HTML and these may be causing your problem; even if they're not the cause, they are certainly making it more difficult to see what the real issue is.

    btw, the postcontent is under a div layer and a table tag

    From my own experience, I know that tables can be easy to get wrong. Check the code for the tables carefully and make sure you've got all your cells adding up to the right row widths, etc.

    Other than that, I'm sorry but I can offer no more suggestions.

  11. richardba
    Member
    Posted 6 years ago #

    no these problems don't affect at all, they were there previously

  12. richardba
    Member
    Posted 6 years ago #

    now, only 2 errors
    and the problem is still there

  13. richardba
    Member
    Posted 6 years ago #

    it is not a validating problem at all

    this problem is called expanding box issue, but I'm not able to find a solution at all, because when something happens, what you can do is just start over again

    x_x

  14. wolfieb
    Member
    Posted 6 years ago #

    This page gives a good explanation of the expanding box issue, and ways that you can work around it.

  15. georgettehahn
    Member
    Posted 5 years ago #

    looking for my friends...

  16. georgettehahn
    Member
    Posted 5 years ago #

  17. georgettehahn
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.