IE problem

  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Posts: 419
  • Loc: u.k

Post 3+ Months Ago

my navigation looks fine in FF but not in Ie :(

Code: [ Select ]
<td width="121" colspan="9"><div><a href="index.php">Home</a>
<a href="profiles.php"><b>Profiles</b></a>
<a target="_blank" href="forum">forum</a></div></td>
  1. <td width="121" colspan="9"><div><a href="index.php">Home</a>
  2. <a href="profiles.php"><b>Profiles</b></a>
  3. <a target="_blank" href="forum">forum</a></div></td>


http://img293.imageshack.us/my.php?imag ... 733xu9.jpg
  • ScienceOfSpock
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1893
  • Loc: Las Vegas

Post 3+ Months Ago

Change (or remove) the width on your <td> tag. IE will enforce and wrap text to fit inside the width, regardless of how wide the <td> actually is.
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Posts: 419
  • Loc: u.k

Post 3+ Months Ago

that worked :) just one more thing

i have a news pages calling form a db and it echos a div tage and a 5 px (height) image as a breaker in ff works fine in IE it repeats the image >_<

Code: [ Select ]
echo "<div  style='background-image:url(images/news_bar.gif); width:auto; height: 5px;'>&nbsp;</div>";


http://arc22.freehostia.com/index.php

look at it in ff first then in IE u'll see what i mean
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

Code: [ Select ]
echo "<div style=\"background: url('images/news_bar.gif') top left no-repeat; width: auto; height: 5px;\">&nbsp;</div>";
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Posts: 419
  • Loc: u.k

Post 3+ Months Ago

umm the bar doesn't go all the way across now :/
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

Then change 'no-repeat' to 'repeat-x'.
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Posts: 419
  • Loc: u.k

Post 3+ Months Ago

i love this site :) thanks alot peeps
  • imobilliare
  • Born
  • Born
  • imobilliare
  • Posts: 2

Post 3+ Months Ago

deathblade wrote:
my navigation looks fine in FF but not in Ie :(

Code: [ Select ]
<td width="121" colspan="9"><div><a href="index.php">Home</a>
<a href="profiles.php"><b>Profiles</b></a>
<a target="_blank" href="forum">forum</a></div></td>
  1. <td width="121" colspan="9"><div><a href="index.php">Home</a>
  2. <a href="profiles.php"><b>Profiles</b></a>
  3. <a target="_blank" href="forum">forum</a></div></td>


http://img293.imageshack.us/my.php?imag ... 733xu9.jpg


Remove the <td> tags, that should prevent IE from reading the Webpage as it is.
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Posts: 419
  • Loc: u.k

Post 3+ Months Ago

imobilliare wrote:
deathblade wrote:
my navigation looks fine in FF but not in Ie :(

Code: [ Select ]
<td width="121" colspan="9"><div><a href="index.php">Home</a>
<a href="profiles.php"><b>Profiles</b></a>
<a target="_blank" href="forum">forum</a></div></td>
  1. <td width="121" colspan="9"><div><a href="index.php">Home</a>
  2. <a href="profiles.php"><b>Profiles</b></a>
  3. <a target="_blank" href="forum">forum</a></div></td>


http://img293.imageshack.us/my.php?imag ... 733xu9.jpg


Remove the <td> tags, that should prevent IE from reading the Webpage as it is.



i cant i did just 3 table cells under each :P tis needed :)

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 62 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
 
 

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