Div alignment help....

liunx

Guest
well, I've been reading about ways of using div for text containers that 'float' over images, and have gotten a basic understanding, but I started this thread to get help on a few things.<br />
What I will be using it for is for a spotlight box as well as a news box for a graphic for a guild- the spotlight box having only maybe 6 words, the news box having obviously a bit more.. Without the use of the <head> I need to be able to use fairly little code for this, and was looking help on the least I could use to position the text- the spotlight being on the upper left side and the news being on the lower right side of the image.. as I know this is confusing for anyone but me, I will be happy to post the pic to show what I mean. I have tried positioning the text myself, but the result hasn't been all that pretty... any help would be great<!--content-->It is done with css positioning (<!-- m --><a class="postlink" href="http://www.brainjar.com/css/positioning/default.asp">http://www.brainjar.com/css/positioning/default.asp</a><!-- m -->). What you'll have to do is put div in your html like this. <br />
<div style="position: absolute; left:##px; top:##px;">text</div><br />
It depends how your page looks. If you look at that link I gave you should be able to figure it out.<br />
Peace,<br />
Ed<br />
:bubble:<!--content-->thanks... been looking for a guide like that and been looking for just basics of what I needed (I might not of known everything I needed but I knew what I didn't need.. heh) had found neither before I found this forum :)<!--content-->why can't you use the head part of the document? just us curious minds want to know. :)<!--content-->because I don't have actual control over the html file :) I have control over a text box, so using the head isn't actually an option.<!--content-->ahh that makes sense :) thanks<!--content-->
 
Back
Top