| 8:42 pm on Apr 16, 2003 (gmt 0)|
Welcome [webmasterworld.com] to Webmaster World! :)
Now, the wonderful thing about divs and CSS is that very little positioning is needed. A simple example of a fluid layout, using only divs and CSS:
Or, if you want three columns:
margin: 0px 150px;
If you want other divs inside the content div it is easy to make it look good by assigning either a height or width (preferably not both), or to use absolute positioning.
| 8:46 pm on Apr 16, 2003 (gmt 0)|
Welcome to Webmaster World. You will want to read Nick's CSS Crash Course [webmasterworld.com]. It will get you started in the right direction.
| 2:36 pm on Apr 17, 2003 (gmt 0)|
Hi everyone. thanks for help btw
I have discovered all that and my main problem is that i have used tables around everything to position my website.
using absolute positioning for the divs will not work together with all the tables i have around them.
So basically speaking, i have to place the divs within the tables in order to positon them relatively to the tables.
That means i am not able to use absolute div positioning. The layout will not look the way i want it to.
I would get around all that using a css only layout, which would be a big step and i am not ready to go there yet.
My question is, if it is acceptable to use divs within tables and does it have any disatvanatges? browser cross compatibility. i checked it out yeserday and everything seems to be displayed fine in ns7, opera and ie6. i am really happy with the results.
| 3:11 pm on Apr 17, 2003 (gmt 0)|
>>My question is, if it is acceptable to use divs within tables and does it have any disatvanatges?
Yes(acceptable) and no(no disadvanages).
| 3:12 pm on Apr 17, 2003 (gmt 0)|
Why are you encasing divs within tables? I don't see the need, unless you're after code bloat for no reason. Apply the styles to the table cells, or other elements; or go tableless - don't do both, its pointless.
| 4:24 pm on Apr 17, 2003 (gmt 0)|
tables do not provide optimal readability when using screenreaders. thats the only reason why want to use divs instead of tables with css styles, encasing the divs within tables will help me to decrease the number of tables.
Thanks birdman. thats all i wanted to know