Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1570 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

CSS Questions

Thread title: CSS Questions
Closed Thread    
    Thread tools Search this thread Display Modes  
07-22-2005, 01:16 AM
#1
Elivmar is offline Elivmar
Status: I'm new around here
Join date: Jul 2005
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

Elivmar is on a distinguished road

  Old  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
Bennett is offline Bennett
Status: Narassist
Join date: May 2005
Location: USA
Expertise:
Software:
 
Posts: 4,469
iTrader: 32 / 100%
 

Bennett is on a distinguished road

Send a message via MSN to Bennett

  Old

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
Ioana is offline Ioana
Ioana's Avatar
Status: Member
Join date: Jul 2005
Location: Cluj-Napoca, Romania
Expertise:
Software:
 
Posts: 202
iTrader: 0 / 0%
 

Ioana is on a distinguished road

  Old

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
Ioana is offline Ioana
Ioana's Avatar
Status: Member
Join date: Jul 2005
Location: Cluj-Napoca, Romania
Expertise:
Software:
 
Posts: 202
iTrader: 0 / 0%
 

Ioana is on a distinguished road

  Old

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
RenegadeLeader is offline RenegadeLeader
RenegadeLeader's Avatar
Status: Junior Member
Join date: Jul 2005
Location:
Expertise:
Software:
 
Posts: 56
iTrader: 0 / 0%
 

RenegadeLeader is on a distinguished road

Send a message via AIM to RenegadeLeader Send a message via MSN to RenegadeLeader

  Old

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
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

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
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

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
Bennett is offline Bennett
Status: Narassist
Join date: May 2005
Location: USA
Expertise:
Software:
 
Posts: 4,469
iTrader: 32 / 100%
 

Bennett is on a distinguished road

Send a message via MSN to Bennett

  Old

It does make your scripting look better though

07-23-2005, 10:02 AM
#9
Koobi is offline Koobi
Koobi's Avatar
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 312
iTrader: 0 / 0%
 

Koobi is on a distinguished road

  Old

i wish more people would start using XSLT too.
it's a undiscovered gold mine, in most cases anyway

Closed Thread    


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed