Support » Fixing WordPress » Rotating header won't show in internet explorer

  • Resolved zander74


    I’m completely new to wordpress and web design in general…but I’m learning quickly…

    I’ve pretty much finished building my website,, the only problem I have is that the header won’t show up in internet explorer but it will on every other browser.

    I’m using the twenty ten theme and I’ve set up a rotating header image with 4 different images. This is the code I used to do that:

    <img src="<?php echo(rand(1,4)); ?>.jpg"
    width="image_width" height="image_height" alt="image_alt_text" />

    I’ve searched but can’t find anyone else who’s had the same problem…hope someone can help,

Viewing 1 replies (of 1 total)
  • no problem in my IE7

    either try and see what happens if you remove:
    width="image_width" height="image_height"

    or change them to:
    width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>"

    be aware that twenty ten as the default theme of wp3 will be overwritten when you next upgrade to a newer wordpress version; all your modifications will be lost.

    consider creating a child theme
    and make regular backup copies of your theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Rotating header won't show in internet explorer’ is closed to new replies.