Results 1 to 3 of 3

Thread: Marquee Centering Problem

  1. #1
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Marquee Centering Problem

    I have Tried to Center my marquee, but any html tags i use; never work. The Problem is, i cannot get my marquees to center their background.

    Here is the code:

    Code:
    <div align="center"><big><strong><i>Rosters:</i></strong></big>
    <div align="center"><script langauge="JavaScript" type="text/javascript">
    function doMenu(item) {
     obj=document.getElementById(item);
     col=document.getElementById("x" + item);
     if (obj.style.display=="none") {
      obj.style.display="block";
      col.innerHTML="[-]";
     }
     else {
      obj.style.display="none";
      col.innerHTML="[+]";
     }
    }
    </script>
    <BR><a href="JavaScript:doMenu('main');" id=xmain>[-]</a> View Rosters
    <div id=main style="margin-left:1em">
    <BR><div align="Center"><strong><big><u>Playstation 2:</u></big></strong></div>
    <BR><strong><i>Star Wars Battlefront 2:</i></strong>
    <font color="#FFFFFF"><div align="center"><marquee direction="up" scrollamount="1" style="background:black">
    <div align="center">
    <BR><u><b><i>Clan Leader:</i></b></u>
    <BR>Darkfire
    <BR>
    <BR><u><b><i>Co-Clan Leaders:</i></b></u>
    <BR>AeroToxin
    <BR>
    <BR><u><b><i>5 Star Generals:</i></b></u>
    <BR>
    <BR><u><b><i>Generals:</i></b></u>
    <BR>
    <BR><u><b><i>Major-Generals:</i></b></u>
    <BR>Dead*Eye
    <BR>
    <BR><u><b><i>Colonels:</i></b></u>
    <BR>
    <BR><u><b><i>Majors:</i></b></u>
    <BR>
    <BR><u><b><i>Captains:</i></b></u>
    <BR>
    <BR><u><b><i>Specialists:</i></b></u>
    <BR>
    <BR><u><b><i>Officers:</i></b></u>
    <BR>
    <BR><u><b><i>Commanders:</i></b></u>
    <BR>Darksoul
    <BR>
    <BR><u><b><i>3rd Lieutenants:</i></b></u>
    <BR>
    <BR><u><b><i>2nd Lieutenants:</i></b></u>
    <BR>Rex
    <BR>Thad1us
    <BR>
    <BR><u><b><i>1st Lieutenants:</i></b></u>
    <BR>Dusty
    <BR>
    <BR><u><b><i>Lieutenants:</i></b></u>
    <BR>Poodle
    <BR>Weems
    <BR>Mr. Pie
    <BR>
    <BR><u><b><i>Sergeants:</i></b></u>
    <BR>
    <BR><u><b><i>Corperates:</i></b></u>
    <BR>
    <BR><u><b><i>Privates:</i></b></u>
    <BR>
    <BR><u><b><i>Un-Ranked:</i></b></u>
    <BR>
    <BR></div></marquee></div></font><br>
    <BR>
    <BR>
    <BR><div align="Center"><strong><i>Socom Combined Assault:</i></div>
    <font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
    <BR><u><b><i>Clan Leader:</i></b></u>
    <BR>Teamacer21
    <BR>
    <BR><u><b><i>Co Clan Leader:</i></b></u>
    <BR>Thad1us
    <BR>
    <BR><u><b><i>Members:</i></b></u>
    <BR>
    </div></marquee></font><BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR><div align="Center"><strong><i>Battlefield 2 | Modern Combat:</i></div>
    <font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
    <BR><u><b><i>Clan Leader:</i></b></u>
    <BR>Darkfire
    <BR>
    <BR><u><b><i>Co Clan Leader:</i></b></u>
    <BR>Fuel
    <BR>
    <BR><u><b><i>Members:</i></b></u>
    <BR>
    </div></marquee></font><BR>
    <BR><BR><div align="Center"><strong><big><u>Playstation 3:</u></big></strong></div>
    <BR><div align="Center"><strong><i>Modern Warfare 2:</i></strong></div>
    <font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
    This Roster is not Yet Completed.
    </div></marquee></font><BR>
    <BR>
    <BR>
    <BR><div align="Center"><strong><big><u>Xbox 360:</u></big></strong></div>
    <BR><div align="Center"><strong><i>No Game Entered:</i></strong></div>
    <font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
    <BR>Roster is Not yet Completed.
    </div></marquee></font>
    <BR>
    <BR>
    <BR></div></div>
    <BR>
    <div align="Center"><big><strong><u>Legend:</u></strong></big></div>
    <div align="center">* =Inactive
    <BR>^ =Not Registered on the website</div>

    You see, i have a background on it, and its black, but i cannot center it, its always aligned to the right or left, never center. I want it to be a good smooth html marquee. And i want it to be centered, if i need to replace some tags; ill do it. Any help?

  2. #2
    Join Date
    Sep 2008
    Posts
    56
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Default

    HI,

    I have checked this in firefox, ie7/6 and it's working fine. All the marquee are centrally aligned.

    Let me know which browser you are using so i can comment on this better.

    Cheers,

  3. #3
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    im using Internet explorer, but try it without the java script, it is more centered.

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
  •