Derokorian;11010691 wrote:Lets see - I created all the styles per the designers screen shots and we had a 600 line stylesheet (with brackets on their own lines) and it looked beautiful in Chrome. Then to get it working in FF, IE6+ and Safari (on Mac) we now have a 1750 line stylesheet and the additional 1150 lines took about 4 times longer to write than the original styles. Basically I think EVERYONE should dump whatever they are using and go to Chrome because it is so easy to design client side for.
Geez, what were you doing in your CSS? Were you doing some crazy CSS3 transitions and transformations or something? Nine times out of ten everything works for me across browsers in a single go minus IE7 and sometimes IE8.
Derokorian;11010691 wrote:And let's not talk about getting JS to work cross browser please.
jQuery isn't infallible, but it eliminates 99% of cross-browser issues for me.
Also I find Firefox to be much more agreeable than Chrome. I don't know, I just prefer Gecko to Webkit. I also find that Gecko/Firefox seems to be the only browser that's capable of displaying fonts without making them look terrible. I view my site in anything but Firefox and all the fonts look jagged and ugly. I view it in Firefox and they're smooth and look amazing. Actually, IE9 makes them look pretty good, too, but not quite as good since it doesn't support text-shadow.
cretaceous;11010779 wrote:Are those css drop shadows? Looks like it - I noticed they were browser inconsistent when I used them.
Yeah there are two slight box-shadows on the <ul>, but they don't affect the width or size (it was one of the first things I removed).
cretaceous;11010779 wrote:I wouldn't add fixed padding to text and expect it to be 100% consistent - I always try and build in breakability on text size especially in navs - what happens if someone resizes text in the browser?
It depends on the design, but in navigation menus I tend to give the <a> tags display:block and some padding because then you only have to hove over the menu item rather than the menu link, and I find it's nicer not only for looks, but also a little nicer for useability.
As for people changing their font size... not my problem. If they want to deliberately change the defaults of their browser they can't expect everything to work for them, and it's my understanding that the browser's font and size only kick in if the website hasn't chosen one. For example I changed my default of Times New Roman and 14px to Segoe UI and 16px, but it only takes effect if the site I am viewing doesn't have a font set.
We had a client complain before that when he zoomed in all the images on his website looked blurry. :glare:
cretaceous;11010779 wrote:..cough, splutter.. <tables> might fix it ;-)
:glare:
cretaceous;11010779 wrote:But there can't be a gap of less than a pixel - it's not possible to show anything less than a pixel (but you know that).
Yeah it confused me. If I increased it by one pixel, it would spill over. If I decreased it by one pixel there would be a gap. I unno.
cretaceous;11010779 wrote:I refuse to use conditional css ! - apart from the odd one liner like the star hack (and similar) for IE
To be honest most of my conditional CSS is to fix stuff with IE7 and occasionally with IE8. I just put in the <!--[if IE 7]>style sheet link<![endif]--> in the HTML and link to a specific style sheet. It doesn't break standards and only IE browsers care about them. Most of the stuff is relevant to drop down menus.
cretaceous;11010779 wrote:I still build in FF and at the end test in IE and Chrome and usually it's good to go
(had an annoying thing in Safari recently with images not allowing text to wrap)
But it's part of the job and there to drive us all mad.
Yeah I prefer developing in Firefox, too. I test as I go in all the browsers just in case I run into something funky along the way and have to go back and change a bunch of stuff to get it working.
paulnaj;11010809 wrote:After a particularly massive rant I had about IE, a colleague mentioned that without browser inconsistencies a lot of web dev would be a whole lot easier to automate, and thus there'd be a lot less work about.
Maybe we should thankful, heh heh!
My boss says pretty much the same thing. 🙁
cretaceous;11010821 wrote:automate?
wordpress does a lot of automating.. it's enough for many
tbh I'd rather debug html than debug WP when users add x, y and z plugins, with themes that don't support them, and wonder why it no longer works properly.. while not remembering what they've actually done..
I work with WordPress nearly everyday so debugging it has become second nature to me. The good thing is though we don't usually have to dive into a plugin to fix something, though I have had to make minor adjustments in their source code a few times. We also usually code our own custom plugins to get work done.