• Resolved nick-forest

    (@nick-forest)


    I’ve changed the header of the default theme on my site and then added the following code to make it clickable. It’s fine in IE but goes weird in Firefox. Cany anyone tell me why? I edited the header php using Dreamweaver so I don’t know if that has anything to do with it.

    Dreamweaver says there’s a ‘Malformed tag div[XHTML 1.0 transitional]’

    If anyone could help I would be very grateful as it’s the only thing holding me up at the moment.
    This is the code I used.

    <body>
    <div id=”page”>
    <div id=”header”>
    <div id=”headerimg”>
    <div id=”headerimg” onclick=”location.href=’http://www.saturnpublishing.co.uk&#8217;;” style=”cursor: pointer;” title=”Home”</div>
    </div>
    </div>
    <hr />
    </div>

    The site is http://www.saturnpublishing.co.uk

Viewing 2 replies - 1 through 2 (of 2 total)
  • change

    <body>
    <div id="page">
    <div id="header">
    <div id="headerimg">
    <div id="headerimg" onclick="location.href='http://www.saturnpublishing.co.uk';" style="cursor: pointer;" title="Home"</div>
    </div>
    </div>
    <hr />
    </div>

    to

    <body>
    <div id="page">
    <div id="header">
    <div id="headerimg">
    <div id="headerimg" onclick="location.href='http://www.saturnpublishing.co.uk';" style="cursor: pointer;" title="Home"></div>
    </div>
    <hr />
    </div>

    Thread Starter nick-forest

    (@nick-forest)

    That’s it. That’s done it. Thank you so much. You have saved me loads of time and head scratching. Much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I’ve changed the header and it’s fine in IE but weird in Firefox’ is closed to new replies.