View Full Version : regarding css
abmtools
09-19-2003, 03:49 PM
is is necessary to have css with html?
what benefit does it gives?
is there any software for automatically genetating
css from html
thanks in advance
httpman
09-19-2003, 08:12 PM
CSS is used to describe your site layout.
Let's take a short example : you want to display a "page title" on each page of your website; Let's say : bolded font, green color, size 25pt and top-margin = 40 pts. How will you specify this format on each page of your website ?
* You can decide to specify thoses parameters on each page, together with the text.
* Or can put this description in a separate file, let's call it : "style.css", and then just tell on each page of your website to download this format file.
What is the difference between both methods ? Well, if one day you customer tells you to change from "green / 40 pts" to "blue, 30 pts", and you've got 50+ pages to change, what will be the fastest & easier method ?
CSS allows you to put ALL your website layouts in a single CSS file (using a specific CSS language to describe what you want, very easy to learn). And then one single line of code lets you apply those layouts to each of your web pages.
In a few words : thanks to CSS, your web pages have to hold only the CONTENT of your website, while a single CSS file - common to all pages - will hold the whole LAYOUT of your website.
This will allow very fast layout modifications !
Jean-Pierre
starrwriter
09-25-2003, 11:33 PM
Is it necessary to have css with html?
what benefit does it gives?
is there any software for automatically genetating
css from html.
1. No
2. Allows you to lay out page content without tables and add link rollover effects, colored scrollbars, etc.
3. Not that I know of. If anyone comes up with a true WYSIWYG CSS editor, they'll get rich.
Webnauts
10-04-2003, 05:50 AM
To your first and second question I would suggest you to read here:
http://www.meyerweb.com/eric/talks/2002/wdw-boston/meyer-rebuilding.html
To your third question, there is a software called HTML Kit that can do that partially. Worth though to try it.
http://www.chami.com/htmlkit
redcircle
10-04-2003, 07:36 AM
is is necessary to have css with html?
what benefit does it gives?
is there any software for automatically genetating
css from html
thanks in advance
The biggest benefit that I see with CSS is the seperation of data and design.
This allows for quick site wide design changes making management easier.
mysticlighthouse
10-10-2003, 04:19 PM
Dreamweaver MX 2004 is supposed to have really good WYSIWYG css. Haven't tried it out myself though.
AlexBel
11-12-2003, 07:05 PM
Obviously the CSS is best decision for WEB.
You can read about it on the page http://www.sessions.edu/newsletter/Schmitt_C/interview.html (Top 10 Reasons to Learn CSS)