Mythic Fr0st Posted December 23, 2006 Share Posted December 23, 2006 Ok, I have big problem, I have a 1000 line code, now, its a game, one of my buttons 'attack' on click messes the rest up, it makes almost all my buttons have big gaps between them (about the size of the actual button), now if I have other text or anything i've included from other files, it does this alsoI was talking to my php friend, he said I shouldnt be using <div style='position: absolute; top: x; left: y;'>he was sayin something else but it didnt make sense:PSo im trying to use css to position stuff, (tables/text and so on)im doing this over one of my tables right now...<style type='text/css'>p1{position:absolute; left:100px; top:100px;}</style> thenwhere my table and other php stuff isI do<p1>and </p> at the end of itNothing works, it just defaults to topleft of screenI need a way to position lots of text/tables and so on, anyway will do that will workCan someone help me Quote Link to comment https://forums.phpfreaks.com/topic/31673-trying-to-position-things-on-the-screen-big-problem/ Share on other sites More sharing options...
ToonMariner Posted December 23, 2006 Share Posted December 23, 2006 absolute positioning supoort is not too hot in ie 6 and less. try to avoid it for now.without deeing your page - what it shoudl look like and where it fails - that is all the advice I can give. Quote Link to comment https://forums.phpfreaks.com/topic/31673-trying-to-position-things-on-the-screen-big-problem/#findComment-147064 Share on other sites More sharing options...
Jtech Posted December 28, 2006 Share Posted December 28, 2006 This is my idea ... Give ur table's a selector like table.tableonleft { an ur positioning things in here }and the same with <p> or br <h1> ... ect for the texteg p { positioning in here }u can assign an class to it as well .. just add it to the p like p.whateverhere {}... any how if thats not clear enough just say an dont for get div's have built in br so it will space things out or away from it Quote Link to comment https://forums.phpfreaks.com/topic/31673-trying-to-position-things-on-the-screen-big-problem/#findComment-148818 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.