CSS Tables vs Tableless

This is a discussion on "CSS Tables vs Tableless" within the Web Page Design section. This forum, and the thread "CSS Tables vs Tableless are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 19th, 2006, 23:31
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
CSS Tables vs Tableless

I'm working on the current site.

www.warcraftdownunder.com

Now the design was done by a mate and I just integrated it into the PHP/MySQL system.

It was designed with Tables and CSS.

I've never liked tables myself, and I was thinking of converting it to a tableless design.

The other thing I was trying to do, could someone either show me the code or a link to the code.

I'd like to have a images for a <div> for the top left, top right, bottom left, bottom right, plus left,right,top,bottom images that repeat, so if the site is getting resized, the boxes do as well.

Or is that a bad idea and I should stick to images being left/right and repeat them down etc.
Reply With Quote

  #2 (permalink)  
Old Jul 20th, 2006, 09:58
Banned Member
Join Date: Jul 2006
Location: computer
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

If we take Bens attitude, we're all sick of discussing anything in the web design world, had enough off the CSS vs Tables debate... your banned
</rant>
I think you should try out a CSS layout, at least experiment and see where you will get, if you dont like tables as you said, then you'll never feel truly right with the site until it is how you want
Reply With Quote
  #3 (permalink)  
Old Jul 20th, 2006, 22:34
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

Cool.

So is there a way to have borders that are images? Top/bottom, left/right etc? Without it being a table.

I think this is my major problem at the moment is trying to figure out how to do that.

I think I saw it in CSS3, but not sure in CSS2.
Reply With Quote
  #4 (permalink)  
Old Jul 21st, 2006, 10:55
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,350
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: CSS Tables vs Tableless

It doesn't work in the same way, i.e you'll be doing it with background images etc. but it can be done, Just requires some outside the box thinking.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #5 (permalink)  
Old Jul 23rd, 2006, 23:06
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

Late reply, didn't seem to get the notification.

So it's all done with backgrounds...hmmm

Is there an example sites?
Reply With Quote
  #6 (permalink)  
Old Jul 23rd, 2006, 23:29
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,996
Blog Entries: 1
Thanks: 0
Thanked 32 Times in 32 Posts
Re: CSS Tables vs Tableless

#foo {
width:;
height:;
background:url("foo.jpg") top left no-repeat;
}
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #7 (permalink)  
Old Jul 23rd, 2006, 23:32
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

Yea, sorry, I know how to do backgrounds, but how do I have multiple <divs> using backgrounds to make a border with corner images and top/bottom etc
Reply With Quote
  #8 (permalink)  
Old Jul 24th, 2006, 12:44
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,996
Blog Entries: 1
Thanks: 0
Thanked 32 Times in 32 Posts
Re: CSS Tables vs Tableless

Container div
top corners
content
bottom corners
end container div

Quote:
Originally Posted by Finchwizard View Post
Yea, sorry, I know how to do backgrounds, but how do I have multiple <divs> using backgrounds to make a border with corner images and top/bottom etc
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #9 (permalink)  
Old Jul 26th, 2006, 01:48
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

Ok, I think, at least for now while Im still learning all this again, I'll stick with a simple table in this newer design.

http://www.digital-inn.com

I've been putting this together, how do I get the side parts to expand with the content in the middle?

I did a search but didn't really come up with anything I could understand, somewhere else said to use Javascript to make the heights of the <divs> the same.

Any suggestions?
Reply With Quote
  #10 (permalink)  
Old Jul 26th, 2006, 11:07
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

You need a repeating image.
The content dictates how much it repeats.
Reply With Quote
  #11 (permalink)  
Old Jul 26th, 2006, 22:42
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

The side parts are repeating, it's told to repeat anyway.

But they are in different <div> tags than the content, so the content pushes down further, but I thought the side parts would of moved down too.

If you need more info like a pic of my design boxes etc let me know, I'll scan them in somewhere.
Reply With Quote
  #12 (permalink)  
Old Jul 27th, 2006, 07:38
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

No, I see what you mean.
You need to add 2 repeating side images which will scroll between the top and bottom images.
Reply With Quote
  #13 (permalink)  
Old Jul 27th, 2006, 22:29
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

Not quite sure what you mean, I'm still trying to get a handle on this.

Could it be that I'm using position: absolute; in a lot of places?
Reply With Quote
  #14 (permalink)  
Old Jul 28th, 2006, 07:40
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,350
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: CSS Tables vs Tableless

Using absolute positioning can mess a lot of things up and also, in the worst case, get in the way of proper validation.

I, now, only use absolute positioning when I can see no other practical way of getting an element where I want it. I'm working on something at the moment that is fully fluid and fully resizable. After 2 days of trying different things I couldn't get the menu to do what I wanted so I used an absolute position. Luckily the site still works fine in all browsers and still validates as XHTML strict and CSS.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #15 (permalink)  
Old Jul 28th, 2006, 07:54
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

My main area of expertise is networking and servers etc, so CSS I'm still getting a handle on.

The design is pretty static in width, and has 3 columns in a warpper, all 3 columns use position:absolutes;

Is that not the proper way of doing it?

Any pointers are appreciated.

Regards
Reply With Quote
  #16 (permalink)  
Old Jul 28th, 2006, 09:09
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,350
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: CSS Tables vs Tableless

No, thats not really the best way... look here. On this page check out the liquid 3 column layout. Now this is best left as liquid for accessiblity reasons but if you have to keep it static just swap the %s for px values...
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #17 (permalink)  
Old Jul 31st, 2006, 00:36
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

Ok I followed the 3 column Liquid floating stuff.

Still doing the same problem

I think I'm still doing something wrong.

Cheers.
Reply With Quote
  #18 (permalink)  
Old Jul 31st, 2006, 13:19
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,996
Blog Entries: 1
Thanks: 0
Thanked 32 Times in 32 Posts
Re: CSS Tables vs Tableless

http://www.newbeginningsdesign.com/samples/3_col_fluid/

Not perfect but functional atm. Hope it helps.
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #19 (permalink)  
Old Jul 31st, 2006, 23:17
Junior Member
Join Date: Jul 2006
Location: Australia
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Tables vs Tableless

That was using floats for left and right etc.

I think it would be ok if I was using actual content in the side parts, but it's just a background to make the border of the real content in the middle.
Reply With Quote
  #20 (permalink)  
Old Aug 1st, 2006, 12:58
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,996
Blog Entries: 1
Thanks: 0
Thanked 32 Times in 32 Posts
Re: CSS Tables vs Tableless

If that is the case then all you need is a repeating background on the body element and your content to be centered as well.
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
Reply

Tags
css, tables, tableless

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is your site tableless? Varitek Web Page Design 14 Nov 30th, 2006 08:22
My tableless coding mikka23 Web Page Design 12 Jul 21st, 2006 18:40
CSS TableLess madeinacari Web Page Design 1 Apr 21st, 2006 16:26
Tableless CSS Troubles Angel Web Page Design 3 Mar 18th, 2006 12:31
If not tables, how? timmytots Web Page Design 1 Nov 17th, 2005 20:45


All times are GMT. The time now is 10:41.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43