I can't save site.css (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


Sid -> I can't save site.css (1/22/2004 17:46:45)

Ok, I'm using FP2000, and going through the tutorial lesson of using css sheets.
On part 3, #2, the instruction is to paste the style sheet below and save as site.css
Therein lies my problem. Everytime I go to save it, I get a frontpage error message that says frontpage encountered a problem and needs to close.
What am I doing wrong. I copied from notepad. Is file name suppose to be site.css, and then what is the file type??? Anyone know what I'm doing wrong?
Thank you!!!!!!!!!!!!

Here is the instruction
1. Create a new web in FP. When it is open click File>New Page. Choose the 'Style Sheets' tab and then choose 'Normal Style Sheet'.

2.Paste the style sheet below into that page and save the file as 'site.css'.

P {font-family: Arial, Helvetica, sans-serif; font-weight: normal; color: blue;}

H1 {font-family: Verdana, Helvetica, sans-serif; font-weight: bold; color: green;}

H2 {font-family: Verdana, Helvetica, sans-serif; font-weight: bold; color: red;}

H3 {font-family: Verdana, Helvetica, sans-serif; font-weight: bold; color: #CC0099;}

A:link {text-decoration: underline; color: #ff3399;}

A:hover {text-decoration: none; color: #990000;}

A:visited {text-decoration: underline; color: #3399FF;}




c1sissy -> RE: I can't save site.css (1/22/2004 18:19:41)

Hi Sid, I dont do my css in front page, I hand code both pages and css pages myself. Thoug I'll need to learn how to do this in fp once I know the code.

Anyhow, your code looks fine, and the way that you are saving the file sounds correct. A css gets saved as you have it.
site.css

is correct.

I'm sure that someone who is more familar with this might be able to help you.




ritarun -> RE: I can't save site.css (1/22/2004 18:54:24)

I used the same version as you mentioned (FP 2000) and had no problems. I could follow the steps ok.

quote:

get a frontpage error message that says frontpage encountered a problem and needs to close.

Whenever I get this message I do a close out of FP and restart my computer. That usually fixes it.




Sid -> RE: I can't save site.css (1/22/2004 19:57:53)

I shut down computer and restarted twice. I still can't save the page and the same message comes up that FP has encountered a problem and then it shuts down. (FP, not the computer).

I just saw the post below me, wow , I guess I'm in for a long haul!!!!!!!

Anyway, I will be as detailed as possible.
A) I created a new web
B) I went to file, new page and chose style sheets,and then normal style sheet.
C) I pasted the code in notepad and then copied and pasted on this new page.
D) On the new page, I have that small box that says style in the middle of it. Am I suppose to do something with that? I just left it.
E) I go to save and next to file name I type site.css I also tried just typing site, but that didn't work either. The file type I left alone which reads Hypertext Style Sheet
F) I also went to page options and went to compatibility and under technology they are all checked except Javascript.

Thanks for your help in advance!
Sid




c1sissy -> RE: I can't save site.css (1/22/2004 20:07:24)

quote:

I just saw the post below me, wow , I guess I'm in for a long haul!!!!!!!

[;)]It isn't as difficult as you might think it is.

I'm sure that you would pick it up quickly. I'm working on positioning right now, and since I do all online learning, there isn't too much in the advanced area of css. I do have tons of books that I have been reading. So I'm hoping that it falls together really great. I totally love css. Also xhtml seems to be fairly easy as well.

Anyhow, back to your thing. Maybe you need to uninstall fp and do a reinstall?

Or, maybe you could do a similar post in one of the advanced or begining areas?

Like I said, your code and the way you are saving are fine, no problem with that. It appears that this is a front page related issue. And I'm sorry that I don't know much in that area[&o]




Sid -> RE: I can't save site.css (1/22/2004 22:00:14)

I've read about everything I can find under help in FP in regards to css.
My best guess is I have some settings wrong to be able to do this.

Help mentions that I may need to enable or desable specific versions of css under tools/page options/compatiblility. What should I do when I'm there?

Help also says to type in proper css syntax. What's this and how do I know if I am? How about that little style box that appears when I first click a new page?
What's that for?

I do know this much. I can save a blank page as css. But when I paste the code on the page and then try to save it is when the error message pops up and then automatically closes FP. That's why I'm thinking my settings are wrong somewhere. Can the style of the text be it??

Thanks Again!




Giomanach -> RE: I can't save site.css (1/23/2004 3:36:36)

Copy the code over into Notepad, and save it into the web directory. That should do it

Dan




Sid -> RE: I can't save site.css (1/23/2004 10:16:06)

Well here is how I did it. I opened up frontpage, and you know how it always opens with a new page. I pasted the code there and then saved it as a hypertext style sheet. I then went to the web I created for this tutorial and inserted that file into a new page (the new htm page that pops up when you open the web and then saved it as a hypertextstyle sheet).
It is saved now a a css file!
Am I going to have problems because I inserted it into a htm page and then saved it as a css??




Sid -> RE: I can't save site.css (1/23/2004 16:05:49)

Here I go again. The very next step said to do this.

Now insert the following into the <head></head> section of a normal page in an FP site.

<LINK REL=STYLESHEET TYPE="text/css" HREF="site.css">

This is the method used to link a HTML file to a style sheet.

OK, I did this, but when I went back to view in html, it does not stay between head><head. It automatically moves to between body><body.

So of course it doesn't work for me, as my headings stay black, when they are suppose to black, red and green.

Anyway, its obviouse I'm having way to much trouble with this. My questions is when I upgrade to FP2003 next week, will that help much?
Is css any easier with FP2003??
Thanks




skip -> RE: I can't save site.css (1/24/2004 0:05:08)

i ran into this same problem and never figured it out
i know your frustration, i couldn't do anything with css after that error started and i had used the program and css for a long time before this happened
i assumed it was a software bug or a virus
i gave up on it... time is money[;)]
or as they say about productivity... does it grow corn?

when i recently bought a new computer i loaded fp2003
it is working great

i loaded a full version of fp2003
i didn't want to load the fp2000 and then have the same problem in an upgrade

i still have fp2000 loaded on my old computer
so if there is a fix i could use it

css is the only way to go for me
i am glad i made the upgrade to fp2003




Peppergal -> RE: I can't save site.css (1/24/2004 9:07:18)

When you save the style sheet, if you've already opened a "Style Sheet" template, then try just putting "site" in the file name area when you save it. FP may already know it's a css file, and by your typing "site.css" in it, FP could be trying to save it as "site.css.css" and maybe that's what's flipping it out. Just type "site" and save it, see what happens.

I use FP2002.




Sid -> RE: I can't save site.css (1/24/2004 9:58:58)

No, that's not the problem. You are right though, you only need to type site, and FP saves is as site.css. I am upgrading to FP2003 shortly and I'll see then if I have the same problem.
Thanks for all your help!




jaybee -> RE: I can't save site.css (2/3/2004 15:46:40)

It's not you. I have exactly the same problem. Worked for a while and then just refused to save. If I take the same style sheet into work and load it there, I can save it for the first couple of attempts and then that stops as well.

I now avoid Frontpage like the plague when doing CSS. I've got Cascade for doing basic layout. Do I love that little freebie or do I love that little freebie! It makes first draft so easy then I just add the rest of the code in notepad.

I'm just finishing off a site for a client which is my first full CSS site. Only a small site but am I a happy bunny or what!




fiachra -> RE: I can't save site.css (2/5/2004 14:19:30)

Don't use frontpage2000 or indeed any version of frontpage for doing your css. Create your css using something else. Save it in a seperate folder in your web. Then link to it.

Don't use the fronpage stylesheet linker either. Go here:

http://www.jimcoaddins.com/

and download a copy of their free style sheet linker.

TTFN

Fiachra




womynaloud -> RE: I can't save site.css (2/5/2004 17:27:02)

fiachra,

I created my style sheet in style assistant, but pull it up and edit it in front page. Is that going to create a problem? I don't use the front page style editor, I just open it and change whatever I need to, then save.

edit - I did use the jimco add-in to link the style sheet. I'd read here not to use the front page one.

Am I screwing up royally?

Gayle




fiachra -> RE: I can't save site.css (2/5/2004 18:58:29)

quote:

ORIGINAL: womynaloud

fiachra,

I created my style sheet in style assistant, but pull it up and edit it in front page. Is that going to create a problem? I don't use the front page style editor, I just open it and change whatever I need to, then save.

edit - I did use the jimco add-in to link the style sheet. I'd read here not to use the front page one.

Am I screwing up royally?

Gayle


Style assistant is a great piece of software (hope you downloaded the update too.) If not toddle over there and get it. It's well and truly "gorilla endorsed" and as its free probably your bank balance likes it too!

http://www.styleassistant.de/download.htm

The jimco style sheet linker is a hell of a lot more robust than the frontpage one (which can give endless problems.)

So no problems there.

You could very well have problems editing your stylesheets in frontpage though. The consensus seems to be that it just doesn't "play nice" with them. Extraneous character codes, sometimes corrupted files, or frontpage just keeling over.

IMO avoid anything to do with css coding in frontpage. The gorilla group recommend windows users to create it in whatever and to edit it a plain text editor such as notepad or notetab.

www.notetab.com

Hope this helps. - Off to bed as I travel tomorrow.

TTFN

Fiachra.




Nancy -> RE: I can't save site.css (2/10/2004 2:18:27)

Thanks Fiachra for the link to Notetab.

I checked it out - and promptly bought the pro version. I love the outline feature as well as all the libraries.

Nancy




Giomanach -> RE: I can't save site.css (2/10/2004 3:55:48)

Can I just get one thing clear here:

When writing CSS, use Fiachra advice, and don't use FP. Also I might add, FP2000 isn't fully complient with CSS, if you want to work with CSS and FP, move to FP2002/3, they handle it better. Or if you want superb handling of it, use DWMX2004. But if using CSS with FP, first write it in Notetab, or Notepad.

Dan




gorilla -> RE: I can't save site.css (2/15/2004 6:47:00)

quote:

ORIGINAL: Giomanach

1. Also I might add, FP2000 isn't fully complient with CSS,

2. if you want to work with CSS and FP, move to FP2002/3, they handle it better.
Dan


Dan,

1. Please expand what exactly do you mean by FP2000 not being compliant with css - compliance referes to UAs mostly browsers.

2. In what way do you mean this? Like the ghost in Hamlet "I could a tale unfold."

Mháircaish

Folks, some important points:


  • The difficulties in saving css in front page have to do with file formats and file associations.
  • Frontpage often adds extraneous codes to what should be plain text.
  • No non-specialised editor and I include dreamweaver in that statement does a good job with css.
  • If you have to use a css creator get something that's been designed and coded to do that and only that. Right tool for right job.
  • Given the current state of the art I don't think that you should spend any money on any css editor. - The freebies do just as good a job.
  • Contrary to popular belief topstyle - although it is a very good piece of software doesn't handel complex layouts well.
  • There's no substitute for learning how to do it yourself. Then you'll know how the tool works and how it is meant to work and will be able to work much quicker.


BTW the piece of software that Jaybee is talking about is I believe "Balthisar Cascade" This is a very good freeby indeed. It also includes aural settings btw and I regularly make use of that feature.

http://www.balthisar.com




c1sissy -> RE: I can't save site.css (2/15/2004 15:10:09)

quote:

There's no substitute for learning how to do it yourself


I totally agree with you on this one. Actually, this should be point #1![;)]

It can be frustrating self teaching all of this at times, but in the end it is going to be so worth it.




Giomanach -> RE: I can't save site.css (2/16/2004 3:59:48)

quote:


1. Please expand what exactly do you mean by FP2000 not being compliant with css - compliance referes to UAs mostly browsers.


What I mean by this is:

I myself now and then use FP2000. It was released before CSS was starting to be integrated into the Web Design tools, therefore, not fully supporting all forms of coding. It will take the CSS file, however, all CSS implementation has to be done manually, and it doesn't always work. Also I might add, FP 2000 does not handle div layers too well, it tenda to throw about at it's own leisure.

The CSS and FP2000 matter should really be solved by Microsoft, but, they claim that FP2003 is fully "CSS enabled", and that you should upgrade to it. If wanting to use CSS and FP2000, learn CSS first, that way, the hard part is transfering the web document over to CSS.

quote:

2. In what way do you mean this? Like the ghost in Hamlet "I could a tale unfold."


Not quite, FP2000 and CSS is more like the almighty speach from Hemlet himself in the play:

To CSS, Or Not To CSS? That is The question, whether tis nobler in the mind to code......(yada yada blah blah)[:D]

Dan




jaybee -> RE: I can't save site.css (2/16/2004 11:42:45)

quote:

ORIGINAL: gorilla

BTW the piece of software that Jaybee is talking about is I believe "Balthisar Cascade" This is a very good freeby indeed. It also includes aural settings btw and I regularly make use of that feature.

http://www.balthisar.com



Actually, the Cascade I was talking about is another freebie at www.price-media.demon.co.uk. But I'm now comparing the two. Thanks for the tip off.




gorilla -> RE: I can't save site.css (2/16/2004 13:23:40)

Ah, thanks Jaybee I've actually downloaded an earlier version of that myself and very quickly had a look at it. Now going to download the latest version that you linked to and have a look. Do you happen to know if it handles positioning decently?

BTW a lighteninig fast one that I post links to all the time is styleassistant. Superb!

http://www.styleassistant.de/download.htm

The site is German but the software itself is in English for a fast easy style creation IMO this one can't be beat.

Download the main package first and then the update. It is very novice friendly btw for anyone reading this who is a bit nervous about stylesheets.




jaybee -> RE: I can't save site.css (2/16/2004 18:48:06)

Well it handles positioning fairly well. I like it because I can plug in text boxes and image boxes fast. Shift them around and then hit output to have a look. It makes layout really fast.

It isn't so hot on the </p> s though. (Seems to miss those completely) so I don't tend to use it for text formatting. But it does a nice job on coloured scroll bars etc. I think the two cascades working together might be a winner but I'll take a look at your latest suggestion. [8|]




jaybee -> RE: I can't save site.css (2/16/2004 18:50:18)

Errrrrr what's the difference between the gerpackten and the set-up versions?

My German isn't too hot. [&:]

OK got it. Is ignorance any defense when you can't read the licence?




gorilla -> RE: I can't save site.css (2/16/2004 23:05:56)

LOL jaybee I think everybody'd let you away with that one.

Folks jus to clarify the first download (the larger one) is the main install. The second fixes a few minor bugs.




ritarun -> RE: I can't save site.css (2/17/2004 6:49:03)

I also could not understand the German. Sent a quick e-mail to see if the Readme and instructions could be translated into English. Have not heard back anything yet. Since I am new at CSS I need a little more information.




gorilla -> RE: I can't save site.css (2/17/2004 8:19:28)

Doubt if you'll get any. He works in German and it is freeware a lot of free developers don't give that sort of support. You could try googling for an automatic translator site. But those can produce absolutely hilarious results. The program itself is very easy to use so if you have a css book beside you or have a css site open you'll be fine. Wouldn't use myself it and recommend it to others if it wasn't so easy to use. You're a quick learner so I think I'd just dive in [:)]

There's actually nothing of majort importance in either the readme or the instructions.




ritarun -> RE: I can't save site.css (2/18/2004 6:34:25)

with your words of confidence I'll give it a shot. Thanks!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.15625