Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-21-2003, 11:49 PM   PM User | #1
barnettgs
Regular Coder

 
Join Date: Sep 2002
Posts: 157
Thanks: 2
Thanked 0 Times in 0 Posts
barnettgs is an unknown quantity at this point
W3C vs Browsers war?

It's basically about centering div because we have to go extra length with extra coding just to make div in centre when we could simply use just 'center' which doesn't work in any browsers.

Has this 'centering' fuss to do with W3C vs browsers war?

Because there seems to be too many issues with CSS compatility conflicts with all the browsers which means we have to work around a lot just to make our pages work for the browsers' sake.

I have seen all the fuss that we should use div instead of tables even when I have seen so many modern corporation sites which use table layout. I guess they are doing the table layout cos they know that it is still the early days yet with W3C's CSS standard which still need to be sorted out with browsers first before they can jump to 'div' bandwagon.

What do you think?
barnettgs is offline   Reply With Quote
Old 09-22-2003, 12:00 AM   PM User | #2
MotherNatrsSon
Senior Coder

 
Join Date: Mar 2003
Location: OHIO
Posts: 1,438
Thanks: 1
Thanked 0 Times in 0 Posts
MotherNatrsSon is an unknown quantity at this point
For a large site, say LL Bea's online store or something of that nature, using style sheets and CSS would be a total nightmare, imho. Sniffing for browsres and making sure each fets a style sheet it understands would be quite the task with a site that large. There would also have to be multiple style sheets for different pages because all pages are not laid out the same. Multiply that by 5 because of extreme differences in browsers, to apply all the necessary hacks to get it to work in every browser and it gets to be an insurmountable task quite quickly.

The site I am curious about is Apple's. I read somewhere Zeldman and Co. had/have something to do with the redesign and layout of that site. Is it "completed", in the procees of, or not happening? I don't go to the Apple site often enough to notice changes but it is a large site as an example. I would think Zeldman and Co. would attempt CSS and standards based layoutss for it..???

I also see sites done in tables with linked style sheets or styles in the head because the layouts don't break so easily I guess.

What do I know anyways? I'm a newbie...

My 2 pennies...

MNS
__________________
[size=1]"If you want to be "in the biz" you are going to have to roll with the changes or get out, basically."
MotherNatrsSon is offline   Reply With Quote
Old 09-22-2003, 11:48 AM   PM User | #3
ronaldb66
Senior Coder

 
Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,253
Thanks: 0
Thanked 0 Times in 0 Posts
ronaldb66 is an unknown quantity at this point
Blame the browser(manufacturer)s, not CSS

In the W3C CSS2 specification, which became a recommendation in may 1998, the centering behaviour for block elements using margin: auto is decribed specifically and in detail; if browser manufacturers started doing their job implementing that specification, we wouldn't have to bother with extra coding to accomodate misbehaving browsers.

In his book, Zeldman describes a transitional approach for complex layouts, or web designers not ready to convert to pure CSS ones, using lean, mean tables for layout, and semantically correct (X)HTML and CSS for everything else (oh, and scripting, where needed). Such an approach, if applied while being fully aware of the drawbacks, could incorporate many of the advantages of using CSS while - for the time being - avoiding some of the snags of CSS positioning, including browser incompatibility.
__________________
Regards,
Ronald.
ronaldvanderwijden.com
ronaldb66 is offline   Reply With Quote
Old 09-22-2003, 11:55 AM   PM User | #4
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
Most problems when it comes to centering is rather the authors not knowing how the box model and the positioning/sizing works in css than anything else. That the box model in older browsers is different doesn't necessarily have anything to do with it. Most corrections needed are not related to the actual centering but rather the box model in ralation to parent and content elements.
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 09-22-2003, 06:14 PM   PM User | #5
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Re: W3C vs Browsers war?

Quote:
Originally posted by barnettgs
I have seen all the fuss that we should use div instead of tables even when I have seen so many modern corporation sites which use table layout. I guess they are doing the table layout cos they know that it is still the early days yet with W3C's CSS standard which still need to be sorted out with browsers first before they can jump to 'div' bandwagon.
The more likely reason that some of those corprate sites are still using tables for layout is that they are huge and re-building them is a significant expense. It just takes time.

The software project we are finishing at work now was using frames and tables for layout but thanks to me when we re-did the design I made it make use of CSS based layout. We've also converted several other internal sites to it as well.
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 04:03 PM.


Advertisement
Log in to turn off these ads.