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.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 21st, 2006, 10:55
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 23rd, 2006, 23:29
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jul 24th, 2006, 12:44
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Jul 28th, 2006, 07:40
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old Jul 28th, 2006, 09:09
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old Jul 31st, 2006, 13:19
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: CSS Tables vs Tableless

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

Not perfect but functional atm. Hope it helps.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #19  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #20  
Old Aug 1st, 2006, 12:58
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 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.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!