PDA

View Full Version : Not a dhtml question rather a div related question


Felicity
18.07.2001, 19:48
At least, I do not believe it to be dhtml. http://www.ffisher.net/peach/mwauh.html[/url:7tdt9z2ety] [Note of warning: The page is rather graphics intensive and will likely take awhile to load on a modem.]

I am about ready to tear my hair out from dealing with <font face='Courier New'>divs</font id='Courier New'>. I would like the div 'Images' to align to the right on the screen and overlay the 'Background' div. I haven't figure out how to do this and nothing that I've tried has achieved the effect I want.

In the end, I also want a 'Content' div to overlay both the 'Background' and 'Images' divs but for the moment, I'll stick to wrestling the Images div into it's proper position.

I apoligise if this is in the incorrect forum(if it is, please tell me where to post similar questions in the future), but I could not figure out where the devil to put a question that wasn't really DHTML other then here.

Thank you for your time!

Felicity Fisher
[url]http://www.ffisher.net

psych3
18.07.2001, 22:42
It needs to have the the left attribute eg.,
#divImages{position:absolute; width:800; left:600; top:0;}

To overlay you would use a z-index like so

#divImages{position:absolute; width:800; left:600; top:0; z-index:5}

You will need to play around with the positioning till you have it the way you like. BTW this is a DHTML question :)

~~~~~~~~~~~~~~
Eddie Traversa
http://dhtmlnirvana.com/
~~~~~~~~~~~~~~
Dynamic XHTML Developers Guide
By Jeff Rouyer & Eddie Traversa
Pre-order From Amazon

http://www.amazon.com/exec/obidos/ASIN/1887902546/dhtmlnirvana-20
~~~~~~~~~~~~~~~


Edited by - psych3 on 07/18/2001 8:43:49

Felicity
19.07.2001, 15:08
Well, to be honest, I still haven't really figured out what DHTML is.. I'm quite certain that when you use javascript and css to create movement on the page, it's DHTML, but other then that, it's still rather confusing to me as to just what *is* DHTML.

I don't seem to be able to get the positioning to work; I *have* tried using the left attribute. Nonetheless, I've figured a way to get it to work, although it isn't very elegant. In fact, it's a rather ugly way of doing things, but if it gets the job done, I suppose.

Thanks for you help!

CandyMan
27.07.2001, 13:10
What is DHTML? Look here:

http://www.dhtmlcentral.com/tutorials/tutorial1.asp