PDA

View Full Version : css question



ikky
December 29th, 2004, 20:35
hey all.....

can somebody help me with this...

i want to make 2 relative divs to lay beside each other, is this possible?

i made a css page and my div's looks somethin like this(all relative):
----#container
------> #bigbox
----------> #header
-------------> #main_content
-----------------> #contents - (big portion) left side
-----------------> #menu - (small portion) right side

but the #contents and #menu keep fighting each other. how the heck do i make them stand side by side, they are at the right X position but the #menu is Y-scale-stupidly aligned with the bottom of the #content div box,

if i put some text in the #contents div, the #menu will scroll down.

my #container got this bg-image that repeats. i cant use postion:absolute, because im using mambo-cms hooks in those divs, which, if more data is present, the divs will self-expand downwards and it will look like a broken layout. hard for me to explain/write in words but i hope u understand and do help me out cuz im out of ideas......

thanks...
-ikky

aki
December 29th, 2004, 20:42
download trial dreamweaver and see what it can do:). i learn from their coding. and i am sure you can make it in DW, just look the code in there later

ikky
December 29th, 2004, 21:20
i got dreamweaver MX full...
and i am using it... hehe...
cant seem to find any solution whichever way...i bet its not dreamweaver that lacks...its me.....so.....

well, anybody else got betta idea?

aki
December 29th, 2004, 21:25
not easy to understand what you want :/

ikky
December 29th, 2004, 21:34
well, how shall i do i explain.. hehe

ok usually, if u use table, u would create a table and 2 column, and adjust the size. the big for sho would be the content part and the small for the menus right...

i wanna do this. make a div which represents a table, and 2 small divs in it as columns side by side, 1 big, 1 small. i can use css absolute:positioning but it will result in something different. so i need to use css relative:positioning unless there is a way to make my smaller divs nested....

i dont know much about span......i dont think its better than divs...and if i cant do this, table and colums are the best solution....hhehehe

thanks for ure time tho.... :)

-ikky

aki
December 29th, 2004, 21:52
why do u want to use div? by using table td tr and then add classes in the area. some1 here should able to help you :) i don't use Div (not yet)

ikky
December 30th, 2004, 06:46
well, im a pro at tables....but im new in this...wanna try out but dunno wats wrong...it works fine using table, but i want to use div.....hehe anybody else got any idea?

usually, i just do a design layout and slice em and there u have it, the greatest easiest layout technique in makin websites...

but i wanna avoid them tables... wanna use div's still......
can anyone else help?

ikky
December 31st, 2004, 07:49
problem solved. thanks to d guys at csscreator.com
and u too aki.... :)
peace yall-

aki
December 31st, 2004, 12:52
sorry i couldn't be more help, glad that u solved ti