gangelo
July 2nd, 2002, 09:29 PM
Am I the only one that thinks CSS sucks? Actually, it seems to be the stupid Browers. Does anyone here seriously and successfully use CSS in their large projects?
Thanks
Thanks
|
Click to See Complete Forum and Search --> : Am I the only one that thinks CSS sucks? gangelo July 2nd, 2002, 09:29 PM Am I the only one that thinks CSS sucks? Actually, it seems to be the stupid Browers. Does anyone here seriously and successfully use CSS in their large projects? Thanks Zvona July 3rd, 2002, 03:25 AM All I can answer: CSS doesn't suck at all. Cascading StyleSheets are very efficient way to define style of the document. If one writes strict XHTML or XML, he/she knows that there aren't other ways for styling than using CSS/XSL. If you're having a particular problem, you can post it here and I'm pretty sure that a solution is found. spufi July 8th, 2002, 01:02 PM Add to the fact that one can use external CSS and then change around a site's colors, and layout with editing just one page. External CSS are basically made for large projects. gangelo July 8th, 2002, 04:28 PM Have you ever set your site's background color and text color in the Body using css, and view it in Netscape < 5? The bgcolor works okay, but It does not even inherit the text color to the child elements on the pages. You have to leave the text attribute on the body tag so what is the point? There are surprisingly few css styles that are supported by either NN < 5 or and IE < 6. I do not know about 6. The browsers just do not seem to handle css consistently or correctly. Perhaps you can help me by letting me know what css styles you work with because there is not much css that seems to work consistently on both NN and IE. What styles do you mostly stick with? MachInfinity July 9th, 2002, 10:15 AM you just haave to check for what browser they are using and send them to a page that works with what they have. if they have NS4 then make a seperate page that doesn't use CSS. and tell them to upgrade, HAHAHA. if they have a better browser then CSS is great because of its ease of change and its power. spufi July 9th, 2002, 12:39 PM Here's my disclaimer. I don't code for a business. I only do it as a hobbie, and to learn how to do it. I currently use IE 5.5, NN 6.2 and Mozilla for testing. You say, "but ah, you don't test with a version 4 browser. You bet I don't and here's why. Netscape 4.0 (http://www.alistapart.com/stories/netscape/) That's an article by a site who carries articles about web programming. People wrote in and asked why the site doesn't code for older browsers and this is their reply. Basically, don't code for buggy browsers. Somewhat. CSS itself, is fine. The old browsers didn't handle CSS as well because IE and NN weren't following the standards set up by w3c. Unlike programming languages that start out with a standard, HTML/CSS was far from well formed. Thankfully, all of the browser makers I know of are trying to become more inline with the w3c standards. There even is starting to be a transition to XHTML and eventually it will be XML, which as stated before HAS to have a style sheet in order to display properly. Put it another way, what happens if you have a bug in a computer game, and you ask tech support about it? They tell you to download the latest patch, aka the latest version. As for what my site uses, I'm currently doing a make over with my site, so it's tough to just say here's what I use because it's changing. When I'm done, I'll tell people on my intro page that the site vaidates against w3c standards, and which browsers it works best in. body { background-color:#661111; color:white; font-size:100% } That's what I have set up in my external CSS currently for the body tag. It works correctly in all of the browsers I test against. gangelo2 July 26th, 2002, 07:33 AM I think CSS is really cool. Will be even cooler when the browsers fully support it. websmith99 October 9th, 2002, 03:50 PM As a professional Web Application developer, I can say that CSS comes in very handy. You just need to know the limitations with regard to the browsers that you support. It's best to consult some of the many CSS compatibility charts out there. example: http://www.immix.net/html/CSSGuide.htm I can definitely say that Netscape 4.x is the quirkiest browser that "supports" CSS. Waldo2k2 October 9th, 2002, 09:51 PM unfortunatly you're not the only one...but you should be css is great, if you think it sucks then you obviously haven't done any advanced javascript (ex: dhtml). Sure, setting the background color is arbitrary, but you can't have any real power over style without css. schaap_blaat July 20th, 2006, 09:24 AM unfortunatly you're not the only one...but you should be css is great, if you think it sucks then you obviously haven't done any advanced javascript (ex: dhtml). Sure, setting the background color is arbitrary, but you can't have any real power over style without css. That's true, but don't forget that CSS can be a pain in the backside. It's great for fonts, textfields, internal classes and use in combination with PHP (arrays and stuff) But if you try to make a page 100% height from "header" till "footer" you'll have a puzzle. CSS isn't read by all browsers in the same way. For IE and FF i make different ones that i call with php on browserdetect. But, even then it can consume time. Why? try to make a <div> and place another one inside it, then make both 100% stretch in height, both with own content. Unless you make there position:absolute; they will allways create a scroll bar... Then you must calculate some padding to keep the distances the same.... To wrap a long story short, it's for most users/projects only good for the nice font stuff, pic placement, padding/margin, properties of <div's> which are placed as position:relative; in a table... Besides that, just use a table for lay-out (or frameset) and place your div's inside... Then link the spec's of the html/body/table/tr/td/div to your css... I know, there is a way arround, but it can't be used in every project. I use CSS a lot, on every project. But most of the time i'm wishing that we can dump this outdated CSS code and get an update. Mainly for the width/height problems with CSS (i really hate tables/framesets but still need them), rest rocks... PeejAvery July 20th, 2006, 12:44 PM schaap_blaat, I realize that this is your first, and so far only, post. You will notice that this one is 4 years old. Dr. Script July 21st, 2006, 08:56 AM schaap_blaat, I realize that this is your first, and so far only, post. You will notice that this one is 4 years old. I know, and this got reported by multiple people. The problem with the board software is if you delete a post, it still is bumped up to the top even though the most recent post in from 2002. Or at least that is how I think it works. PeejAvery July 21st, 2006, 09:07 AM I know, and this got reported by multiple people. The problem with the board software is if you delete a post, it still is bumped up to the top even though the most recent post in from 2002. Or at least that is how I think it works. Thanks for the info. :thumb: Alsvha July 21st, 2006, 02:46 PM I know, and this got reported by multiple people. The problem with the board software is if you delete a post, it still is bumped up to the top even though the most recent post in from 2002. Or at least that is how I think it works. Not in another vBuillitin board I help moderate, but could be differnet version ...... :) Dr. Script July 22nd, 2006, 07:48 AM That's possible on another verson, but at least the last time I checked, this forum isn't like that. I oculd be wrong, but with all thes eposts now, whatever. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |