View Full Version : Creating .css files
ionsurge
08-16-2002, 07:39 PM
Please note: I know that you may find many posts like this around the place, but I am trying to learn different aspects of web building, and have posted requests for .asp, .php because I want to use what is best for my site to come.
Back to the point. What kind of program would I use to write .css? I dont understand how I can come about to use it. I know it is a style sheet, but I do not know how to write. The reason for me wanting to learn this is because I have come across many sites which look really good, because they use .css.
I will appreciate urls.
Like always, I thank you all.
SpongeBobby
08-16-2002, 07:47 PM
Are you wanting to know in specific? A CSS from what i know (not a lot) you stick in <style> brackets in your HTML documnets. I dont know of a .css ...
I was no help, and wasn't worth posting...but that is what *i* know.
ionsurge
08-16-2002, 07:52 PM
I am sure if not somewhat certain that I have seen references to .css files... I know about what you said, but when it came to looking at forms which looked flat and really nice, like www.daydreamgraphics.com (http://www.daydreamgraphics.com)'s feedback page, I found that it had nothing in the html page to actually specify the colors and all that one the form... I will post back again in a few minutes while I check.
ionsurge
08-16-2002, 07:55 PM
Yep, I am sure that there are .css files.
Roy Sinclair
08-16-2002, 08:49 PM
This line: <link rel="stylesheet" href="winter/bronze.css" type="text/css" media="screen"> brings in an external CSS file for that page. Check your browser's cache and you can look at the contents of that file.
The definitive reference for style sheets (CSS2 version) is http://www.w3.org/TR/CSS2/ which I use mostly but it's not a great help for a beginner. There are a lot of sites with good beginner information and it won't hurt to check your local bookstore either.
brothercake
08-16-2002, 09:14 PM
http://www.webmonkey.com has some great tutorials, ranged at all levels.
As for programs - all you need is a plain-text editor
brothercake
08-16-2002, 09:15 PM
specifically http://hotwired.lycos.com/webmonkey/reference/stylesheet_guide/ looks good
skorn
08-16-2002, 09:54 PM
hey,
css stands 4 cascading style sheet. available from html 4.0. for a long time, web developers/designers really want something cool like this. to allow them to make something lke dtp style. n there it was.
if u r building a small site, u better only declare them in every page. but if u a running a big site, n most contents will be using the same link colors, text size, font colors etc. u better be using the an external css file.
since u r talking about how to create .css, here r my words.
u can create .css with any text editor, namely notepad if u r running windows. just create new file and name in as sample.css. u need to include the extension. lots of diff app can u do that. to b complex, use mm dreamweaver. the best wysiwyg editor. but if u really wanna learn. here r some tips.
create this in ur sample.css
p { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #FFFFFF;
padding-right: 0.1in;
padding-left: 0.1in;
}
n in ur html page:
<link href="sample.css" rel="stylesheet" type="text/css">
so, everytime u apply a paragraph <p>, it will automatically follows the format u set. all html codes r valid to be used. n it also allows to custom tag. sorry, if my explanation is kinda long.
check this site out: www.mobileirc.net
im still working on this site. it uses .css.
love, sex, compute
ionsurge
08-16-2002, 10:52 PM
Thanx all the response has been great. Will do all the things you all have suggested, and will keep you posted!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.