[advanced search]
Results from the most recent live auction are here.
16 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 01-29-2004, 05:49 AM   · #1
lucesei
New Member
 
Trader Rating: (0)
Join Date: Jan 2004
Posts: 2
NP$: 4.00 (Donate)
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:

.button { color: #403f71; font-variant: normal; font-size: 11px; font-family: "trebuchet MS", verdana, arial, helvetica, geneva; text-decoration: none; background-image: url(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...


Please register or log-in into NamePros to hide ads
lucesei is offline   Reply With Quote
Old 01-29-2004, 08:27 AM   · #2
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
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   Reply With Quote
Old 01-29-2004, 08:54 AM   · #3
blouis
NamePros Member
 
Name: Bryan Louis
Location: GB, WI
Trader Rating: (0)
Join Date: Dec 2003
Posts: 69
NP$: 117.00 (Donate)
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   Reply With Quote
Old 02-01-2004, 10:05 PM   · #4
linuxfan
NamePros Member
 
Trader Rating: (0)
Join Date: Dec 2003
Posts: 67
NP$: 95.00 (Donate)
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   Reply With Quote
Old 02-02-2004, 08:51 AM   · #5
blouis
NamePros Member
 
Name: Bryan Louis
Location: GB, WI
Trader Rating: (0)
Join Date: Dec 2003
Posts: 69
NP$: 117.00 (Donate)
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   Reply With Quote
Old 02-05-2004, 08:47 PM   · #6
Evilhaider
NamePros Regular
 
Trader Rating: (0)
Join Date: Nov 2003
Posts: 252
NP$: 441.00 (Donate)
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   Reply With Quote
Old 02-08-2004, 10:49 PM   · #7
Anthony
Permanent Resident
 
Anthony's Avatar
 
Name: Anthony
Location: NYC
Trader Rating: (142)
Join Date: Dec 2003
Posts: 9,202
NP$: 26.71 (Donate)
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   Reply With Quote
Old 02-15-2004, 03:44 AM   · #8
rrobert
New Member
 
Name: robert rusanu
Location: Germany
Trader Rating: (0)
Join Date: Feb 2004
Posts: 9
NP$: 17.00 (Donate)
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   Reply With Quote
Old 04-07-2004, 01:27 PM   · #9
bassplayinuk
NamePros Member
 
Name: Nathan
Location: Sweden
Trader Rating: (1)
Join Date: Apr 2004
Posts: 47
NP$: 85.00 (Donate)
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   Reply With Quote
Old 04-07-2004, 02:30 PM   · #10
Southern Gal
New Member
 
Southern Gal's Avatar
 
Name: Sara
Location: Navy Town USA
Trader Rating: (0)
Join Date: Apr 2004
Posts: 13
NP$: 18.00 (Donate)
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(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.

Good luck with this!
__________________
Sara
Southern Gal is offline   Reply With Quote
Old 04-08-2004, 08:59 PM   · #11
Wesley
Account Closed
 
Name: Wesley
Location: MD
Trader Rating: (5)
Join Date: Mar 2004
Posts: 526
NP$: 14.00 (Donate)
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   Reply With Quote
Old 04-08-2004, 11:44 PM   · #12
OneEyedDog
NamePros Member
 
OneEyedDog's Avatar
 
Name: Deni J Vanin
Location: Middle Earth (NZ)
Trader Rating: (7)
Join Date: Mar 2004
Posts: 162
NP$: 104.00 (Donate)
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
Deni J Vanin | Freelance Jobs and Forums | Web Design
OneEyedDog is offline   Reply With Quote
Old 04-09-2004, 03:20 AM   · #13
Southern Gal
New Member
 
Southern Gal's Avatar
 
Name: Sara
Location: Navy Town USA
Trader Rating: (0)
Join Date: Apr 2004
Posts: 13
NP$: 18.00 (Donate)
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   Reply With Quote
Old 04-12-2004, 07:21 AM   · #14
AlexBlom
NamePros Regular
 
Name: Alex Blom
Location: Australia
Trader Rating: (1)
Join Date: Feb 2004
Posts: 226
NP$: 48.00 (Donate)
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   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
EscrowDNS Proof is in the Parking Click to Watch Instant Video
Advertise your business at NamePros
All times are GMT -7. The time now is 10:10 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0