NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page CSS: what's the use of it?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 01-29-2004, 06:49 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jan 2004
Posts: 2
lucesei is an unknown quantity at this point
 



CSS: what's the use of it?


Hey, don't let the title confuse you, I'm studying CSS really hard, because I love it. My goal is to build a site using 100% CSS...At least, this WAS my goal.
I just made a simple but nice CSS button, to use on my site. Here's the code:
????: NamePros.com http://www.namepros.com/programming/18869-css-whats-the-use-of-it.html

.button { color: #403f71; font-variant: normal; font-size: 11px; font-family: "trebuchet MS", verdana, arial, helvetica, geneva; text-decoration: none; background-image: url(http://cdn.namepros.com/images/grad_20_dn.gif); text-align: center; text-transform: uppercase; vertical-align: middle; border: solid 1px #79789b; width: 97px; height: 20px; cursor: hand }

As you can see, all plain definitions, nothing complicated. No alpha filters, for example. I tested it in several browsers, just to make sure. Well, I got a big surprise: I really thought that Netscape, at least with version 7.1, had caught up at least with the CSS basics. I was WRONG! It misses about half of the definitions: no font-variant, no text-transform, no width, no background-image. In other words, the button is unusable.
If it can't even render such a simple thing, what chance do I have with a complete website?

My question to the world is: why bother creating CSS in the first place, if we can't use it? I mean, I'm not talking about a minor browser like Konqueror, I'm talking about Netscape, I can't afford to build a site that is unusable with Netscape!

I'd like to have your comments...
lucesei is offline  
Old 01-29-2004, 09:27 AM   #2 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
building a site using 100% css?

its not possible!!

i use css all the time and ti works fine
adam_uk is offline  
Old 01-29-2004, 09:54 AM   #3 (permalink)
NamePros Member
Join Date: Dec 2003
Location: GB, WI
Posts: 69
blouis is an unknown quantity at this point
 



Quote:
Originally posted by adam_uk
building a site using 100% css?

its not possible!!

i use css all the time and ti works fine

i use CSS all the time as well, i have no problems with it.....and yea you cant have a 100% CSS web site, you can do alot to the page with CSS and DIV tags and ****.
__________________
Bryan Louis
-Xeplin Development-
http://www.xeplindevelopment.com
-Personal-
http://www.bryanlouis.net
blouis is offline  
Old 02-01-2004, 11:05 PM   #4 (permalink)
NamePros Member
Join Date: Dec 2003
Posts: 66
linuxfan is an unknown quantity at this point
 



You can make a complete site with CSS!

And I use konqueror half the time.
linuxfan is offline  
Old 02-02-2004, 09:51 AM   #5 (permalink)
NamePros Member
Join Date: Dec 2003
Location: GB, WI
Posts: 69
blouis is an unknown quantity at this point
 



Quote:
Originally posted by linuxfan
You can make a complete site with CSS!
absolutly no <html> tags in there, if so, sweet. i learned something today. im gonna look up more info on that.
__________________
Bryan Louis
-Xeplin Development-
http://www.xeplindevelopment.com
-Personal-
http://www.bryanlouis.net
blouis is offline  
Old 02-05-2004, 09:47 PM   #6 (permalink)
NamePros Regular
Join Date: Nov 2003
Posts: 252
Evilhaider is an unknown quantity at this point
 



I think the point being made is not a site that has absolutely no HTML tags. Rather the distinction that the structure of the site is primarily css based rather than nested table based as is the case with a majority of the sites on the web now. You would still need HTML of course. But by using CSS you could make the code a lot less messy by removing the crazy nested tables that you have to use sometimes. Not only that, it'd probably increase the page load times by decreasing the page size. From what I've read however, there is limited support for this. CSS 2.0 is aiming towards making this a REALITY but most browsers apparently do not support 2.0 yet. We'll see what the future holds
Evilhaider is offline  
Old 02-08-2004, 11:49 PM   #7 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,134
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

Check out this for working with CSS for multiple browsers:
www.alistapart.com/topics/css/
Anthony is offline  
Old 02-15-2004, 04:44 AM   #8 (permalink)
New Member
Join Date: Feb 2004
Location: Germany
Posts: 9
rrobert is an unknown quantity at this point
 



According to the latest investigation (NSA, FBI, CIA, KGB ;-)), above 75% of the browsers currently in use (I mean, really used by real people who surf on the web) are MSIE5+. They are fully CSS compatible (or almost!). Until Netscape will catch the CSS train, consider making a small (very small, indeed) page in which you can suggest them to download a proper browser.
Anyway, it's clear that CSS is the future, so, sooner or later all browsers will have to be fully compatible with it (or die).
rrobert is offline  
Old 04-07-2004, 02:27 PM   #9 (permalink)
NamePros Member
Join Date: Apr 2004
Location: Sweden
Posts: 47
bassplayinuk is an unknown quantity at this point
 



CSS is great. Here's an example of what can be done with it. My mates site has a theme selector.

http://www.wastedyouthconsortium.com/

Goto the bottom of the right hand column and look under Themes to find a drop down menu box full of different themes to use. I used a similar thing on a site I used to run.

This is quite a basic thing to do withh CSS but a good example. CSS can do so much and makes my life much easier and my html code much tidier and therefore easier to manage.
bassplayinuk is offline  
Old 04-07-2004, 03:30 PM   #10 (permalink)
New Member
 
Southern Gal's Avatar
Join Date: Apr 2004
Location: Navy Town USA
Posts: 13
Southern Gal is an unknown quantity at this point
 



Re: CSS: what's the use of it?


Quote:
Originally posted by lucesei
.button { color: #403f71; font-variant: normal; font-size: 11px; font-family: "trebuchet MS", verdana, arial, helvetica, geneva; text-decoration: none; background-image: url(http://cdn.namepros.com/images/grad_20_dn.gif); text-align: center; text-transform: uppercase; vertical-align: middle; border: solid 1px #79789b; width: 97px; height: 20px; cursor: hand }
Well, you probably did a little overkill with the button. I have mine pared down to this:

Code:
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}
Anything more than that probably won't be read by any browser.
????: NamePros.com http://www.namepros.com/showthread.php?t=18869

Good luck with this!
__________________
Sara
Southern Gal is offline  
Old 04-08-2004, 09:59 PM   #11 (permalink)
Account Closed
Join Date: Mar 2004
Location: MD
Posts: 524
Wesley is on a distinguished road
 



I personally don't get why you're bothering with this project... Why not just use tables?
Wesley is offline  
Old 04-09-2004, 12:44 AM   #12 (permalink)
NamePros Member
 
OneEyedDog's Avatar
Join Date: Mar 2004
Location: Middle Earth (NZ)
Posts: 149
OneEyedDog is on a distinguished road
 



Quote:
Originally posted by Wesley
I personally don't get why you're bothering with this project... Why not just use tables?
Its better for the search engines and easier to update, tables are becoming more and more old skool by the day.
__________________
Script Installation, Avatars, Banners and Buttons for $NP or Paypal, PM me your requirements :D
Deni J Vanin | Freelance Jobs and Forums | Web Design
OneEyedDog is offline  
Old 04-09-2004, 04:20 AM   #13 (permalink)
New Member
 
Southern Gal's Avatar
Join Date: Apr 2004
Location: Navy Town USA
Posts: 13
Southern Gal is an unknown quantity at this point
 



Tables are good for some sites...I still use them in the hosting site. Everything loads pretty quickly so I'm probably going to keep them there.

All of my other sites use .CSS only...it loads quicker!

Wesley,
It's so great to just change one thing in a style sheet for 50 pages vs. each of the 50 pages.
__________________
Sara
Southern Gal is offline  
Old 04-12-2004, 08:21 AM   #14 (permalink)
NamePros Regular
Join Date: Feb 2004
Location: Australia
Posts: 227
AlexBlom is an unknown quantity at this point
 



Yes. CSS is great. Is also good for pc/mac sites, makes it easier to keep it the same.
AlexBlom is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:49 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger