Results 1 to 5 of 5
Thread: div's style.width help
Aug 2, 2006, 03:59 #1
- Join Date
- Jan 2005
- 0 Post(s)
- 0 Thread(s)
div's style.width help
I have 2 divs both hidden and absolute and sitting inside a relative div.
document.getElementById("div_1").style.right - nothing is returned, so I can not position the second div.
I think this may be because the first div width is always different - depending on the contents it holds and doesn't have a defined style="width:###" attribute etc.
Can somebody help, I am fairly new to divs and CSS.