but it still doesnt work. ive also tried it in css script in the head of my page, does the same thing.
anyone have any ideas?
my example is here http://cyril.ulmb.com/game/gamestory.php
the thing that says accounts active needs to stay on the black,
If you use position absolute, left and top, then div will be positioned relatively to the window.
If you want it to be relative to the parents position use margin-left and margin-top instead of left and top.
Could you explain a little more specific, what exactly are you trying to achieve?
if you go to the link for my example youll see more of what i mean. the part that says _ Accounts Acitve is in a div, i need that div to stay in the black square whether the window is max, or any other size.
ekosoftco wrote:yeah, it does the same thing, its on that page i put in the first message now.
Because you just randomly added another div around it. You need to make the objects a part of the layout if you want it to flow with the layout, not just some randomly placed element outside of the layout.
Why are you trying to position div1 and div2 over the table instead of putting them inside of it?
when i put php inside a row in the table, it makes the table size larger than i want it to be. i wanted to table as tall as the text, but even if i set it to that, it automatically becomes larger.
i really didnt feel like doing the entire site in div, it works just fine with tables besides that one part.
:/
im retarded. i had 2 breaks in echo in my php. oooppss my bad. xD
let this be a lesson, look at your script better, or youll post and get headaches like me.