I voted in anticipation of the way I will be coding from now on, given the reading I've been doing this past week.
0
KwitkoSheriff of Banning (Retired)By the thing near the stuffIcrontian
edited July 2004
Sorry. My votes are in.
I once tried designing a site that used no tables and only CSS for positioning. The problem was that Mozilla rendered differently than IE, which was a huge PITA. Until IE can render CSS correctly, I'm going to stick with tables.
The problem is IE 4-5.5 subtracts padding and borders from content area, when it shouldn't. This is the workaround:
[php]
div.content {
width: 400px; /* The width it should be in IE 4-5.5 */
voice-family: "\"}\""; /* This makes IE 4-5.5 think the rule has ended because it can't read it */
voice-family: inherit; /* undo last rule for browser that understood it */
width: 300px; /* the correct width for "normal" browsers */
} [/php]
0
KwitkoSheriff of Banning (Retired)By the thing near the stuffIcrontian
edited July 2004
That part I know. I shouldn't have to resort to tricks. It's easier to use tables for now. I did just fine with a combination of CSS and tables for my father's site. Came out XHTML 1.0 Strict compliant, too.
XHTML (strict if possible but many times must settle for trans) + CSS + PHP = the best combo a web developer could ever ask for :bigggrin:
Almost everything I do is completely tableless.. unless it is tabular data.. or unless css won't allow what I am trying to do. Most of the times there are work around and hacks, but occassionally it becomes overly complicated and you have to stick with what works.
Im reading up on coding the entire site in XHTML transitional for the competition, though I would like to use strict. Im trying to go table less with it.
Comments
vB posts threads before the poll is done.
I once tried designing a site that used no tables and only CSS for positioning. The problem was that Mozilla rendered differently than IE, which was a huge PITA. Until IE can render CSS correctly, I'm going to stick with tables.
Most of my markup is now done in XHTML Strict.
[php]
div.content {
width: 400px; /* The width it should be in IE 4-5.5 */
voice-family: "\"}\""; /* This makes IE 4-5.5 think the rule has ended because it can't read it */
voice-family: inherit; /* undo last rule for browser that understood it */
width: 300px; /* the correct width for "normal" browsers */
} [/php]
(The whole tableless thing just appeals to me a lot
Almost everything I do is completely tableless.. unless it is tabular data.. or unless css won't allow what I am trying to do. Most of the times there are work around and hacks, but occassionally it becomes overly complicated and you have to stick with what works.
You've not posted in some time! It's good to see you around.
Im reading up on coding the entire site in XHTML transitional for the competition, though I would like to use strict. Im trying to go table less with it.
CSS of course
Native DOM JS only
PHP and Perl