| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2007
Location: Nottinghamshire
Posts: 34
|
CSS & Tables - Oooops!
I admit - I did this one the wrong way. Well, that is a matter of opinion I suppose, but when I design a site I look at it in IE6 or IE7 as I am putting everything together. Then I look at it in Firefox and of course the site looks like it's been built by an idiot (be gentle with me here!). (Sorry - edited out cos Google is picking up this post) It is still under construction btw. I realise what I have done but no matter how and where I resize the widths and the columns I cannot get it quite right. In future I will monitor any construction in Firefox first, then IE and maybe Opera too. Does anybody else have this problem? Cheers John Last edited by P&R : 24-12-2007 at 20:00. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Nov 2007
Location: Nottinghamshire
Posts: 34
|
Hello Patrick. Thanks for your reply. You say I shouldn't be using tables, but is this not just another way to position the content? Perhaps tables and CSS should not be mixed. Surely it is a case of getting the columns to add up to the overall page width as set in the css file? The problem seems to be that there are too many columns and width settings which are fighting against each other. My brain (cell) is finding it rather difficult to sort it all out. Cheers John |
|
|
|
#4 (permalink) |
|
Whippet Botherer™
Join Date: Jan 2007
Location: Kent, England
Posts: 1,826
|
Tables are used for tabular data. Use CSS for layout and positioning. This site may help you: positioniseverything Also having 39 HTML errors on your home page may not be helping much. |
|
|
|
#6 (permalink) |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,146
|
You're right in thinking it was done the wrong way. You're also right to decide you'll monitor in Firefox first, IE6/7 after. Instead of wasting valuable time getting your tables to work, spend that same time writing the layout using the more common <div>s and accompanying CSS. To hammer out your tables until they look correct can be compared to beating your wife until she becomes more attractive. |
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Aug 2007
Posts: 95
|
Tables are "old-school". I've been designing websites for over 10 years, and I started out with tables (and :cough:, frames, I admit it). Today, there's no excuse to use tables for layout. Divs + CSS can do pretty much everything tables can do, and are valid "semantic" HTML, and preferred by search engines. |
|
|
|
#9 (permalink) |
|
Registered User
Join Date: Nov 2007
Location: Nottinghamshire
Posts: 34
|
Thanks very much all for your valuable help with this. I must get myself moved up into the new school Smosely. Meanwhile I will try and sort out the mess I have created. Herkalees - you're wicked! ;0) Thanks for the link Tom_E John |
|
|
|
#10 (permalink) |
|
Registered User
Join Date: Nov 2007
Location: Nottinghamshire
Posts: 34
|
It's 90% better in Forefox now. "Best to learn from experience", as they say. Welcome to NCA UK | Home This goes live in a day or two so just enough to time to get things tweaked. Phew! Thanks for your help. That Position Is Everything is very useful! |
|
![]() |