Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 table-less design
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 26 October 2003 :  16:22:17  Show Profile
I'm working on a new design for rakkoon.com and want to see if I can make it table-less. The main things are there, but now I have a major problem that makes me want to use a table anyway

Basically it's like this:
There's a DIV set to center everything on the page. The first DIV in there contains the logo, below that there's a DIV set to 726px with a 2px black border. Inside that is another DIV, this one with a 1px white border set to the complete width of the first DIV.
Now in that DIV I want to put two DIVs next to eachother, one 570px wide for the content (this one would be on the left), the other 136px wide for the menu (this one would be on the right).

Any pointers as to how I could do this would be great.

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 26 October 2003 :  16:59:26  Show Profile
can't you just position them (whether absolute or relative?)

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 26 October 2003 :  17:13:08  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
You can use absolute positioning, but if you're trying to use floats and if that's all you have in those divs, add a <br style="clear:both;" /> after the tags and it should be OK

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 26 October 2003 :  17:47:02  Show Profile
I've given up on using only CSS. It just won't work for me and I'm getting tired (it's past midnight). I just put the whole design together using tables in less than 15 minutes while I spent three hours using DIVs and it still didn't work as I expected it to.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 26 October 2003 :  17:53:59  Show Profile  Visit D3mon's Homepage
I found exactly the same. Nowadays I use a single table to layout the page (If I need a multi-column layout) and table to place things side-by-side. all the rest is CSS. Simple and effective.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 26 October 2003 :  18:27:21  Show Profile  Visit dayve's Homepage
I have considered table-less design in the past but it truly is not worth the time Nothing wrong with a mixture of tables and divs thuogh so don't rack your brain to hard.

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 26 October 2003 :  18:31:50  Show Profile
I've got it all working the way I want, now I just have to decide on what colors to use for the menu. Once I have that, I can start thinking about whether I want to use Snitz codes again (latest version, fresh hack & slash work) or if I want to try use my own codes. I think I'll go with Snitz again though as that's easiest and safest... I hope to get the new site up in a week or two, but of course that mainly depends on how busy work keeps me.

Speaking of which, it's 1:15am, I'd better go get some sleep or I'll be a zombie all day tomorrow.

If anyone wants to see the new look for rakkoon.com (I'd appreciate some feedback), please email me and I'll send you the URL. I'd rather not give a public preview at this time.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 27 October 2003 :  12:04:28  Show Profile
I found out why it wouldn't work: instead of IDs, I used classes. Positioning DIVs next to eachother seems to require the use of IDs. Now I'm pretty much done with the CSS-version except for the DIV containing the menu which won't stretch the entire height of the DIV that it's placed in.

Oh, I haven't had time to send any emails yet today. I'll email the URL to those who requested it after I've had something to eat
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 28 October 2003 :  10:18:15  Show Profile
Here's the link to the new design using tables: <link removed> in the menu (on the right) the top-most item will take you to the same design using almost only CSS.

Difference in page size is quite a lot for a basic page; 8kb for the table design, 5.1kb for the CSS-based design.

Edited by - Roland on 29 October 2003 15:54:18
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 28 October 2003 :  23:49:43  Show Profile  Visit Gremlin's Homepage
Nice clean elegant layout there Roland :)

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 29 October 2003 :  00:00:16  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Yes I like it alot myself, another great product by Mister Roland

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 29 October 2003 :  06:25:53  Show Profile
Thanks guys. I'm not sure when I'll start using this design after I've been told the current look is "awesome" (a 16-year old told me that) I'll need to make the new look a bit more ... lively or at least make some changes before I feel it can take the place of the current look.
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 29 October 2003 :  23:33:05  Show Profile  Visit Alfred's Homepage
I have a naive question: "why the distaste for tables?"

Alfred
The Battle Group
CREDO
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 30 October 2003 :  03:40:41  Show Profile
There's no distate for tables, it's just that W3C wants people to use CSS-based layouts instead of nesting tables, so I wanted to give it a shot. It seems that W3C is like most big organisations/companies: they'll decide what the user wants instead of listening to the users. New standards are great as long as they don't make things more complicated than necessary. Just look at the replacement of <b>, <i> and <u> tags with either CSS or new tags (<strong> and <em>). Did it have any function? No, but it made it look like W3C does something.
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 30 October 2003 :  06:07:04  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Tables are also much less friendly to the non-visual browsers(ie screen readers for the blind). Accessibility standards are on the rise and people are asking for more and more effort being put into being seen by non-standard browsers.

Plus, using css instead of table reduces your overall page size and allows you to separate content from design a little more.

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 30 October 2003 :  21:06:32  Show Profile  Visit Alfred's Homepage
I understand a bit better now, and found this tuition help:
http://www.sitepoint.com/books/css1/

Alfred
The Battle Group
CREDO
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07