WordPress.org

Ready to get started?Download WordPress

Forums

Help! WP crashing IE! (7 posts)

  1. BenGiroux
    Member
    Posted 7 years ago #

    Hey guys, my site looks great on my mac in Safari and Firefox: http://www.allaboutcomics.com/blog - but on any PC it is not loading in IE and the browser is crashing! Can somebody take a look at the source code to see what the problem is? I really want to use the wordpress within my site's div layer structure, but i suspect that is the problem. Any help or solutions would be GREATLY appreciated, thanks!

  2. whooami
    Member
    Posted 7 years ago #

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.allaboutcomics.com%2Fblog%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1#line-171

    thats called the w3c validator. it can be very helpful. it saves lots of time.

    Look at the errors, paying close attention to errors 17 and 18, related to your doctype declaration and the <HTML> tag

    ---

    self-sufficiency is a worthy goal.

    ----

    If its still not clear to you after looking at that. You have managed to insert a second doctype declaration, and a second HTML tag. You cant do that. Thats where I would start.

    http://www.google.com/search?hl=en&q=html+for+beginners&btnG=Google+Search

  3. BenGiroux
    Member
    Posted 7 years ago #

    The problem to which you refer is coming from the WP header doctype declaration. When I strip it of the doctype though, I still have the error and IE is still crashing. There are even more errors now because it doesn't know what document the header is and it can't load the CSS if I take away that tag. Any ideas?

  4. DianeV
    Member
    Posted 7 years ago #

    Looks like you've used a Dreamweaver template, which is one way to go.

    However, in what I presume is your content area, you've started the header again -- starting with the doctype.

    These will need to be cleaned up, and then I'd suggest validating your code; it's the easiest way to glory.

  5. BenGiroux
    Member
    Posted 7 years ago #

    You're correct, I am using Dreamweaver. When I eliminate the header doctype, however, it strips away the CSS. Is there any way to ditch the header doctype (in favor of my main doctype outside of the div layer) and still keep my WP CSS?

  6. BenGiroux
    Member
    Posted 7 years ago #

    To fix this problem, I'm wondering if there is a way to strip the header of the doctype and still call up the css?

  7. DianeV
    Member
    Posted 7 years ago #

    I often edit files, including WordPress files, in Dreamweaver.

    But with WordPress, because it has its own theme functionality (kind of like templates in pieces), there's no reason to use a Dreamweaver Template (which has different functionality than the usual concepts of templates).

    You could always create a new page from the DW Template, then remove the Template from that page (in DW: Modify > Templates > Detach from Page), and then use bits from that page to create your WordPress theme.

Topic Closed

This topic has been closed to new replies.

About this Topic