tal ormanda Posted September 4, 2006 Share Posted September 4, 2006 (edited) 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 September 4, 2006 by tal ormanda Link to comment Share on other sites More sharing options...
RayOK Posted September 5, 2006 Share Posted September 5, 2006 (edited) 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 September 5, 2006 by RayOK Link to comment Share on other sites More sharing options...
tal ormanda Posted September 7, 2006 Author Share Posted September 7, 2006 ok Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now