|
|
|
|
Thread title: CSS Questions |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
07-22-2005, 01:16 AM
|
#1
|
Status: I'm new around here
Join date: Jul 2005
Location:
Expertise:
Software:
Posts: 1
|
CSS Questions
Ok I have some CSS questions. I am pretty good at html and can do a bit of php so I am interested in learning CSS(I already know a bit) but I cant really find out what the advantage of css is. Like how does it make your site look better? Could someone give me an example of a site using CSS and A site not using CSS?
Sorry if this is in the wrong category.
Thanks in Advance
-Elivmar ~(E)~
|
|
07-22-2005, 01:23 AM
|
#2
|
Status: Narassist
Join date: May 2005
Location: USA
Expertise:
Software:
Posts: 4,469
|
CSS is helpful because you can manage entire website's designs with one or two files. The ability to change font color, design placement, sizes, alignments, etc are nothing short of what CSS can do. As well; it requires much less code.
|
|
07-22-2005, 10:14 AM
|
#3
|
Status: Member
Join date: Jul 2005
Location: Cluj-Napoca, Romania
Expertise:
Software:
Posts: 202
|
hello.
I suggest to open this web site in Firefox and then go to menu -> View -> page style and choose 'no style'. You will notice the difference between a css site and a non-css site
|
|
07-22-2005, 10:17 AM
|
#4
|
Status: Member
Join date: Jul 2005
Location: Cluj-Napoca, Romania
Expertise:
Software:
Posts: 202
|
i usually do all the design of the site in css. The html file contains only the content (text, images) - no tables and no desing at all. Then with a .css file i give the site the design. This way i can only have one content and as many designs as i want
|
|
07-22-2005, 12:47 PM
|
#5
|
Status: Junior Member
Join date: Jul 2005
Location:
Expertise:
Software:
Posts: 56
|
Yes, it makes things very easy. Like Ioana does, she codes it the way she wants it then just works on the .css file, and that's it.
A classic example is imagine your a webdesigner for a big company and your boss just said to redesign the site. Okay, normally, one would have to go back and change all the <font> attributes and all the margin attributes. That would take ages. With CSS one would just be able to edit the css file and change the design completely.
A good example of same-code, different CSS is http://www.csszengarden.com
You'll like CSS, I know I do.
|
|
07-22-2005, 03:54 PM
|
#6
|
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
Posts: 2,246
|
CSS doesn't make a site look better, it makes a site function better, because it seperates style from structure, giving you more freedom and control, ala zengarden.
if you write all the CSS as <font>tags and bgcolor attributes, it'll still look the same as css vlaues.
|
|
07-23-2005, 05:11 AM
|
#7
|
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
Posts: 5,572
|
Originally Posted by Elivmar
Ok I have some CSS questions. I am pretty good at html and can do a bit of php so I am interested in learning CSS(I already know a bit) but I cant really find out what the advantage of css is. Like how does it make your site look better? Could someone give me an example of a site using CSS and A site not using CSS?
Sorry if this is in the wrong category.
Thanks in Advance
-Elivmar ~(E)~
|
CSS does not make a site look better, It just separates the content from the design style. The advantages of this is you can alter the entire look of the site by editing a single file instead of every single page. It helps search engine spiders crawl your site faster and easier. It means faster page loading times because once your browser has cached the .css file it only has to read each new .html page to load the content. It means you can design without tables therefore helping search engine spiders, again. It means you will not have bloated .html files anymore as it cuts down on tons of unecessary tags. It means you can also join the bandwagon that everyone seems to be jumping on.
|
|
07-23-2005, 05:44 AM
|
#8
|
Status: Narassist
Join date: May 2005
Location: USA
Expertise:
Software:
Posts: 4,469
|
It does make your scripting look better though
|
|
07-23-2005, 10:02 AM
|
#9
|
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
Posts: 312
|
i wish more people would start using XSLT too.
it's a undiscovered gold mine, in most cases anyway
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|