CSS is a wonderful technology, in fact, it is one of the best things to
happen to the web since server-side pages themselves. The reason for this is
the fact that you can have more control over how elements are rendered (for
example, different specifications for each border, spacing between elements,
exact widths for all elements, etc.). Because different browsers render some
elements slightly differently, this can make it much easier to make your
pages more compatible with more browsers. The thing that you need to be
careful about is to make sure all the CSS properties you use are implemented
in any browsers you expect users to view your site with (which, in most
cases, should be any browser). Although most modern browsers support most
CSS properties, there are a few that are not yet implemented by all
browsers. CSS can also save you a lot of work if you decide you want to
change the look of your site, because if you use CSS classes you only need
to change things such as the color, font, border, etc. in one place. And in
case you are not aware, many HTML attributes are being deprecated in favor
of CSS, so it would be a good idea to start using it and becoming familiar
with it as soon as possible.
--
Nathan Sokalski
http://www.nathansokalski.com/
"Mike" <> wrote in message
news:...
> The problem isn't with CSS itself, just with how different browser
> developers choose to implement all or part of it at whim.
>
> As far as how these solutions were arrived at, there seems to be a small
> group of people out there who derive great satisfaction from finding these
> "bugs" and producing fixes for them. Personally, I'd rather stick pins in
> my eyes.
>
> I know one thing, if I were tempted to use CSS that required "hacks", I'd
> give up. Now, even the Holly hack needs a hack to make it work with IE7.
> I mean, who could be bothered?
>
>
> "Ian Semmel" <> wrote in message
> news:2EFDFCD49817432EA66DCB1C915DBD69@DIMITY...
> I have looked at various tutorials on css and get the concept.
>
> Then I decided to look at a real example and downloaded the vs Commerce
> example and checked out its css and master pages.
>
> My question is, did someone work this out or is it a result of an infinite
> number of monkeys pounding away at keyboards until they got something to
> work ?
>
> Comments from the css
>
> /* Critical Safari fix! */
> /* Holly hack for IE \*/
> /* helps IE get the child percentages right. */
> /* Hides from IE-mac \*/
> /* IE 3px display bug fix (in conjunction with the rule following below)
> */
>
> In the master page
>
> <!-- Conditional comment to give IE/5/6/Win the javascript hack that helps
> them do max-width. -->
> <!-- Box model fixes for IE 5.0 and 5.5 -->
> <!-- IE7-specific fixes -->
>
> <body>
> <div id="sizer">
> <div id="expander">
> <div id="wrapper" class="clearfix">
>
> etc
>
> In the real world, do designers work out wquivalent things or is it
> standard to just copy and paste from earlier works ?
>
> I don't know who invented css, but it seems to be the product of a
> disorganised and illogical mind.
>
>
>