Sent by Aleksandar Vacić on 3 December 2003 02:02
On Tue, 2 Dec 2003 15:08:28 +0000 (UTC)
Ian Hickson [EMAIL-REMOVED]> wrote:
> We (the working group) _really_ want to support that. Unfortunately, we
> have not, in over 4 years of trying to find a solution, found one (or been
> given one) that gets around the problems I've outlined above.
> Do you have a solution? I would (seriously) love to hear of a solution.
First, thanks for in-depth answer - I don`t think I can find better "how
CSS is worked out" answer - short and to the point.
Now...if you haven't found the solution for 4 years, I can hardly
find it for one evening :). For what you said about W3C proposed flow
and Microsoft's way of doing it, I could suggest that you combine the
two worlds - insert another step between yours 3 (layout doc) and 4
(paint doc) which will do additional CSS property setup, depending on
the layout and relations between elements.
This sounds rather easy to say, which is why I think you have
probably thought about that. If you have, what was the reason against it?
I'm merely a designer, who just finished and delivered the redesign of
large commercial site, based on HTML+CSS, which uses a lot of tables
(they are the heart of the web site), so I'm a bit touchy about all this,
hence the harsh words; I appologize if I offended you or someone else.
Out of ten commandments I was given for the redesign, first 9 are:
make it quick.
So, for HTML markup, I opted for this:
<table class="smth">
<col width="xx" class="yy"> # width only if necessary
...
<tr>
<th>..</th>
..
</tr>
<tr class="zz"><td>...</td>...</tr>
...
</table>
Client wanted to have columns of alternating bg colours, where some
of them should been right aligned, some bold etc. He also wanted to have
rows separated by lines. 99% of users are IE5+ Win.
This was the minimal markup I come up with. Result can be seen at
http://www.stanjames.com/betnav/sportview.asp?sID=230%2E2&Name=%2D+This+Week
If you look at it in IE and firebird, you'll see the difference.
So, if I can't use text-align or font-size, font-weight etc, I would
have to use the class on each TD. Or, I can try to wrestle with advanced
selectors, which is problematic for two reasons:
- IE does not support them
- tables can have various numbers of columns
(to be honest, styles got so complicated at the end that the second
reason was not being so important)
So, in this case, IE's way of doing it is God send. Although the
clients always say "do it to be quick", they often come up with "but
why can't the prices be closer to checkboxes? on that and that web site
they do it and it is not that slow..." etc, etc. Because the % mentioned
above, they are happy.
--
AV
http://www.aplus.co.yu
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/