Jump to content

Can IRC chat box be centered?


Recommended Posts

http://talowns.i8.com/malicechat.htm

^ Right there the irc chat box is to the left. Any code to make it centered? Also that little square next to my blue text what is that and how to I get rid of it?

Code to it below.

<img src="http://img222.imageshack.us/img222/1720/malanibanner0pa.gif">

<font color="blue">
<B>
</form>

</DIV>
</DIV>
<br>
<DIV class=tableborder>
<DIV class=maintitle>
<IMG src="nav_m.gif"
width=8 border=0>Welcome to Malice! To change your name type: /nick NAMEHERE</div>
</DIV>
<DIV class=tablepad>
<applet name="applet" codebase="http://www.dynastynet.net/chat/pjirc/" code="IRCApplet.class" archive="irc.jar,pixx.jar" height="400" width="640">
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
<param name="nick" value="Java_User">
<param name="name" value="DynastyNet Java Chat">
<param name="host" value="irc.swiftirc.net">
<param name="port" value="6667">
<param name="authorizedcommandlist" value="all-server">
<param name="gui" value="pixx">
<param name="language" value="english">
<param name="quitmessage" value="Malice Owns">
<param name="alternatenick" value="Java_User1???">
<param name="autoconnection" value="true">
<param name="command1" value="/join #rsmalice">
<param name="useidentserver" value="false">
<param name="pixx:timestamp" value="true">
<param name="highlight" value="true">
<param name="pixx:highlightnick" value="true">
</applet>

</form>
</DIV>
</DIV>
</font>
</B>

Edited by tal ormanda
Link to comment
Share on other sites


If you want to center an element using CSS, do this:

In Firefox, Opera and others add style="margin: 0 auto;" to the element you want centered.

In IE, add style="text-align: center;" to the parent of the element you want centered.

Hope that helps! :)

Also I suggest you validate your code to find errors and if you're just starting out, at least learn from the code of a program like NVU. And, that little square is probably the <img> before your blue text.

Edited by RayOK
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...