Forums

[resolved] I've changed the header and it's fine in IE but weird in Firefox (3 posts)

  1. Nick Forest
    Member
    Posted 3 years ago #

    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';" style="cursor: pointer;" title="Home"</div>
    </div>
    </div>
    <hr />
    </div>

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

  2. Oren Yomtov
    Member
    Posted 3 years ago #

    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>
  3. Nick Forest
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.