css question (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


criuz -> css question (5/8/2007 12:40:47)

Hi folks!
I have this testsite here. I'd like to remove (with javascript) the brown div (with the sadsadasd... in it) and have the kwick (the bar with the other divs) move to the horizontal center of the page.

How should my css look like in order to achieve this? Simpler: I'd like to have the imagemenu (the div-bar) move to the horizontal center of the page, on removing the brown div. Is that possible?

Thanks in advance!




jurgen -> RE: css question (5/8/2007 13:57:40)

Would be easier when one could see your "test site" [:)]




criuz -> RE: css question (5/8/2007 14:49:17)

"this" in my first post is a link




jaybee -> RE: css question (5/8/2007 15:47:52)

Remove with javascript? You lost me.





jaybee -> RE: css question (5/8/2007 15:58:21)

OK, this will get rid of it but you need to take all the content out

#accordion {
float: left;
width:0px;
margin-left:-2px;
}

But it's a bit messy. Can't you remove that div in the code?




criuz -> RE: css question (5/8/2007 16:35:35)

thanks jaybee, but your code doesnt work. when I remove the div with the brown box the kwick (imagemenu) stays where it was. I've set up a second site with the brown div removed here. The site with the div is here.

The reason why I don't remove the div in the code is that I want the brown div to slide in with mootools. But this would only look cool when the kwick moves with the slider. So the brown div and the kwick need to be linked horizontally somehow.




criuz -> RE: css question (5/9/2007 6:44:04)

I have a new example for what I am trying to do: http://www.tberghuber.at/litest.html.

I want all the blocks to be in the same line. If you click on "Slide" (one of the three links) you can see what I am trying to do.

tia, criuz




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.054688E-02