Banner displays properly in Firefox/Safari, but not in IE

  • Ishii
  • Proficient
  • Proficient
  • Ishii
  • Posts: 355
  • Loc: Gilbert, AZ

Post 3+ Months Ago

I am building my own web site for my photography business and I think I am almost done. I have one last issue before my template is done and I can start fleshing the site out with content. My banner displays properly on all pages under firefox and safari, but I cannot get it to display properly on my gallery under IE6 or 7 (It won't center over top of the gallery). I've tried what I know, but I'm a bit of a hack at this stuff and this one has me stumped so any help is appreciated.

Here's my site:

http://www.staticfreephoto.com

The page with the shifted banner is here:

http://www.staticfreephoto.com/gallery/index.php

Thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • techwiz
  • Beginner
  • Beginner
  • User avatar
  • Posts: 46

Post 3+ Months Ago

Open up your code and find the banner, where the banner is there will be some kind of tag either

I do not know if this applies to your php. but...

Code: [ Select ]
<p align="center"> banner code here </p>


or

Code: [ Select ]
<div align="center"> banner code here </div>
  • Benat
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2123

Post 3+ Months Ago

There is a problem with your code.. The banner is NOT defined in CSS like the rest of the site is, which could be causing the confusion in IE because where you have your banner place with HTML, there is no centering tags etc. I could be wrong, but try to define it in CSS and see if that fixes your problem.
  • Ishii
  • Proficient
  • Proficient
  • Ishii
  • Posts: 355
  • Loc: Gilbert, AZ

Post 3+ Months Ago

I fixed it by adding this around the header:

<div width = 100% align=center>
...existing banner code...
</div>

No idea why Firefox and Safari worked fine but IE was messed up.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 55 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.