Connecting Tech Pros Worldwide Forums | Help | Site Map

Animated Div help

Newbie
 
Join Date: Jun 2007
Posts: 12
#1: Jan 14 '09
I was attempting to animate divs on my page and allow it to move the rest of the content when clicked, however it goes behind the content. Any suggestions?

The website is Balla Status.com - Hip-Hop Clothing, Street and Urban Apparel

drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,573
#2: Jan 14 '09

re: Animated Div help


You have 40 html errors and up to 16 css errors.
Newbie
 
Join Date: Jun 2007
Posts: 12
#3: Jan 15 '09

re: Animated Div help


Alright the errors are gone, both css and html. Now I still have the same problem, any help would be appreciated.
Death Slaught's Avatar
Site Addict
 
Join Date: Aug 2007
Location: Tennessee
Posts: 952
#4: Jan 15 '09

re: Animated Div help


Have you tried using the z-index property?

Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
Newbie
 
Join Date: Jun 2007
Posts: 12
#5: Jan 15 '09

re: Animated Div help


Yes but nothing. I was wondering if and how I could force the caontainer div to expand, therfore forcing the other divs to move?
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,573
#6: Jan 15 '09

re: Animated Div help


z-index wouldn't affect this. I see a lot of absolute positioning in your CSS. Are any of these items positioned absolutely?
Newbie
 
Join Date: Jun 2007
Posts: 12
#7: Jan 15 '09

re: Animated Div help


No none of these are.
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,573
#8: Jan 15 '09

re: Animated Div help


The problem you are running into is the browser has already positioned the elements but you are trying to push them out of the way after the fact. Once the browser is done rendering, it's done. You would need the js to reposition the other elements, also.

The only other thing you can do is allow it to drop down and cover up the other stuff.
Newbie
 
Join Date: Jun 2007
Posts: 12
#9: Jan 16 '09

re: Animated Div help


But when I place a div that doesn't belong everything aligns to the left and it works perfectly.
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,573
#10: Jan 16 '09

re: Animated Div help


When do you place it there?
Newbie
 
Join Date: Jun 2007
Posts: 12
#11: Jan 18 '09

re: Animated Div help


a few minutes before your post.
Reply

Tags
animated div, dhtml, div