<div align='center'> but make it stay in middle of pag

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Mythic Fr0st
Forum Contributor
Posts: 137
Joined: Sat Dec 02, 2006 3:23 am
Contact:

<div align='center'> but make it stay in middle of pag

Post by Mythic Fr0st »

How can I use

<div align='center'> but make it be like a point

can you use?

(1)<div align='center' "position: absolute; top: 250; left: 250;">

or (2)<div style='center' "position: absolute; top: 250; left: 250;">

because I have 2 strings that can be shown "You have missed" or You have hit (monstername) for (dmg) damage

and it gets really uneven so I need it to be centered but with a position

ive tried (1) and (2) and googled, nothing -.-
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Your syntax is wrong. Search for how to use inline css properly.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

(Offtopic: This title broke my Google RSS Feed : /)
Post Reply