My tutor a former ASP, VB Genius always used to say this was the defining site of power, and when you can hold your CSS up to this site, you can say your adequite.
It is said that both love and truth walk hand in hand. But if the need is great enough, can we learn to love a lie?
For example I am currently trying to design a tableless site using CSS (mainly for fun although it stopped being fun a while back) and I want separate tables or boxes running side by side. When I preview it in IE they are where they are supposed to be but in Firefox and Opera they are all over the place and in different places for each browser.
Menu lists, horizontal and/or vertical I find are even worse.
I agree with you if you can get CSS right then it is amazing but trying to get something that works across different browsers can not only be time consuming but unless you are a CSS programmer (and I'm not) it can be nigh on impossible.
Firstly do you have any tips where I can learn CSS in a bit more depth? I have done the W3 Schools stuff and whereas I don't want to go too in depth with it I would like to go a bit more. Providing my sanity allows me too.
Secondly one of the sites I use for CSS is this one and I then take some of his stuff and "tweak" them.
He has the IE conditional comments in them although I haven't seen too many comments in the actual CSS such as /*ie*/ that you gave in your example.
He often uses 2 style sheets with an extra comment in the head tags such as:
For example he has the following menu with the 2 style sheets and the xhtml here.
The problem I find is that I change the wrong thing suddenly the drop down disappears or something else goes tits up and it is frustrating and time consuming trying to make things cross browser compatible.
Why you dislike MS Frontpage so much?
I was actually thinking about talking a college course in it
I've always used Dreamweaver and Photoshop/ImageReady myself but after a long period of shit health, I thought I'd learn Frontpage to get me out of the house for a while.
Is it really that bad that it isn't worth the bother?
If you are using Front Page Extensions on your website then you can't use a regular FTP program to upload files as they get corrupted. It also has the inability to accept perfectly valid HTML when input via the 'HTML view'. The FP version of CSS simply doesn't work like you'd expect. When using FP Extensions on a UNIX web server, the webmaster is required to make the configuration files world-writable which makes for a very nice security risk.....and so on.....
That gives an absolute position for an 'element' in any browser - it will always be the size and in the place that you tell it. You'll then find that you won't need so many /*ie*/ fudges and only one stylesheet.