teyla: Cartoon Ten typing on top of the TARDIS like Snoopy. (css rocks)
teyla ([personal profile] teyla) wrote2007-10-28 11:38 pm
Entry tags:

I WIN!!

I know I'm probably annoying everybody by posting about layouting all the time, but I JUST MANAGED TO MAKE THREE DIVS SHOW UP IN A ROW WITHOUT HAVING THEM CHANGING THEIR POSITION WHEN ONE OF THEM IS EXTENDED IN HEIGHT!!!!!

Is there an easy way to do this? I had to do a lot of trial and error before I figured out that if I

- float the topmost-supposed-to-be-rightmost div to the right
- give the central div a margin-left
- set the container of the three divs to position: relative
- set the bottom-supposed-to-be-leftmost div to position: absolute

I can move the leftmost div around relative to the container and it won't change its position when the central div changes its height.

It took me way too long to figure this out. Maybe I should read a book about css at some point, after all.

[identity profile] chaoskir.livejournal.com 2007-10-28 11:04 pm (UTC)(link)
Congratulations!!
It´s nice to read you after two days without Internet. Aarrrrghhh, I missed it even I don´t know what you are talking about *lol* but Congratulations.

Ach so, and the journal was necessary. Really! I mean you made my detox bearable. That´s great and very kind of you.
ext_24067: (Default)

[identity profile] wihluta.livejournal.com 2007-10-29 01:31 pm (UTC)(link)
hehe - WOW this is the first post of you were I have NO IDEA what you are talking about and I really don't care at the moment. :-)

This is greatness. It means I've finally given up at trying to understand everything. At least for the moment. :-)

god, that sounds awful. Isn't meant to be. sorry. I'm a little all over the place. :-)