CSS/DIVvsTABLEs (Why Divs when tables work, in all browsers)

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
swiftouch
Forum Commoner
Posts: 80
Joined: Sun Dec 10, 2006 7:35 am
Location: Salt Lake City, Utah

Post by swiftouch »

I love a good passionate discussion.

I figured out how to "reign" in a div with the float: left markup.

So in effect making a 3 column layout is as easy as:

Code: Select all

<div style="float: left;">stuffl</div>
<div style="float: left;">stuffc</div>
<div style="float: left;">stuffr</div>
My co-worker showed me how it was done today....and dispelled some of my ignorance. But I still find css much more difficult because the real meaning behind what some of the markup does is ambiguous.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

swiftouch wrote:My co-worker showed me how it was done today....and dispelled some of my ignorance. But I still find css much more difficult because the real meaning behind what some of the markup does is ambiguous.
Yes, but when you keep adding little bits of knowledge like this to your skillset, you will soon be a convert ;)
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

CSS is just like any other programming / scripting language. There is a learning curve, but once you do get it, it's really not that hard at all. I can make CSS do pretty much anything that I need it to, but Iactually took the time to make a bunch of random layouts and such and practice.
User avatar
ReverendDexter
Forum Contributor
Posts: 193
Joined: Tue May 29, 2007 1:26 pm
Location: Chico, CA

Post by ReverendDexter »

swiftouch wrote:But I still find css much more difficult because the real meaning ... is ambiguous.
So's english, and look at how descriptive you can be with it ;)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Shhhh. He's learning boys, lets not disturb him. :D
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

ReverendDexter wrote:
swiftouch wrote:But I still find css much more difficult because the real meaning ... is ambiguous.
So's english, and look at how descriptive you can be with it ;)
That's *almost* sig worthy..
User avatar
swiftouch
Forum Commoner
Posts: 80
Joined: Sun Dec 10, 2006 7:35 am
Location: Salt Lake City, Utah

Post by swiftouch »

I give up. There's no convincing the masses that tables are better. If you can't beat'em, join'em.

No, really. I've turned to the CSS/DIV side.

I've been forcing myself to learn the DIV/CSS quirks and methods and in the end, while it's mega irritating because I could have gotten something done a hundred times faster with tables, I find the challenge intriguing and find myself not wanting to go back to tables.

CSS has been fun to learn and I have oh so much more to learn. (did i just say that?) I can't believe I'm saying it. I said I'd never turn.

Time to go into the back room cinch up my cilice and flog myself.
User avatar
The Phoenix
Forum Contributor
Posts: 294
Joined: Fri Oct 06, 2006 8:12 pm

Post by The Phoenix »

swiftouch wrote:No, really. I've turned to the CSS/DIV side.

...

Time to go into the back room cinch up my cilice and flog myself.
Huzzah!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

swiftouch wrote:Time to go into the back room cinch up my cilice and flog myself.
I think a better penance would be to convert all your table based designs to CSS based ones. :twisted:
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

We were only jking, we all use tables. They rule :)

On a serious note, well done, you tried it even though you were convinced you wouldn't like it!
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

This topic needs to be saved for future reference.. lol
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I know I am watching this one still...
User avatar
ReverendDexter
Forum Contributor
Posts: 193
Joined: Tue May 29, 2007 1:26 pm
Location: Chico, CA

Post by ReverendDexter »

I think it jumped the shark when he caved and went to the darC SSide.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

Maybe we just witnessed the last remaining table-man switch?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

As they watched in amazement, his hatred for tables dissipated into the cold darkness that is the table side of the world...

:D
Post Reply