SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Apr 2005
    Posts
    237
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    FF=Perfect IE=Crap

    http://www.gameanyone.com/video/1231.102201.html

    On the right side of my video I have a star rating system which is positioned correctly in Firefox. When viewed in IE however, it is positioned over the top of the video.

    PHP Code:
          $rater ='<div class="ratingblock">';

          
    $rater.='<div id="unit_long'.$id.'">';
          
    $rater.='  <ul id="unit_ul'.$id.'" class="unit-rating" style="width:'.$rating_unitwidth*$units.'px;">';
          
    $rater.='     <li class="current-rating" style="width:'.$rating_width.'px;"></li>';

          for (
    $ncount 1$ncount <= $units$ncount++) { // loop from 1 to the number of units
               
    if(!$voted) { // if the user hasn't yet voted, draw the voting stars
                  
    $rater.='<li><a href="stars/db.php?j='.$ncount.'&amp;q='.$id.'&amp;t='.$ip.'&amp;c='.$units.'" title="'.$ncount.' out of '.$units.'" class="r'.$ncount.'-unit rater" rel="nofollow">'.$ncount.'</a></li>';
               }
          }
          
    $ncount=0// resets the count

          
    $rater.='  </ul><div style="align:center;">('.$count.' '.$tense.')</div>';
          
    $rater.='  <p';
          if(
    $voted){ $rater.=' class="voted"'; }
          
    $rater.='>';
          
    $rater.='  </p>';
          
    $rater.='</div>';
          
    $rater.='</div>' 
    And the CSS:
    http://www.gameanyone.com/stars/css/rating.css

    I would like it to appear like it does in FF in all browsers. What can I do?

  2. #2
    SitePoint Addict
    Join Date
    Apr 2005
    Posts
    237
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I fixed it with postion:relative and a few other tweaks... I'll get back to you ghosts if I encounter any more trouble with it. Thank you Casper.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •