How To Turn Off Automatic Code Editing

C

CrimsonSkyGraphics

I've searched around and can't find a way to do this. Here's my problem:

When I'm writing codes for FrontPage templates I've noticed that often
FrontPage will "clean up" the code after I click save. It doesn't happen
every time, but most times. By cleaning up, I mean it shortens the code. For
example:

It would turn this code:
background-image:url('images/template/CSG_pageBG.jpg');
background-repeat: repeat-x;
background-position: center;

into something like:
background: images/template/CSG_pageBG.jpg repeat-x center 50%;

I've noticed that the edited version of the code doesn't work in all
browsers and can sometimes mess up my templates. I've spent literally hours
trying to get my templates to save the code I type in without changing it.
It's starting to annoying me. :(

Is there an option in the program that I've missed to stop this from
happening? I figure there must be somewhere.

Thank you!
 
R

Ronx

There are no CSS editing options in FrontPage, other than allowing CSS at
all.
Tools->Page options- Authoring Tab

I cannot reproduce the behaviour in FrontPage 2003 - CSS is saved as it is
written. However, I am surprised the shortened version you show works at
all. It should be:

background: url('images/template/CSG_pageBG.jpg') repeat-x center 50%;

which works in all browsers from IE5.5 or Netscape 6

Expression Web (and some other editors) might change the CSS to the
shortened form on using Reformat HTML (there is such an option in EW) but EW
gets the shortcut version right.
--
Ron Symonds
Microsoft MVP (Expression)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
C

CrimsonSkyGraphics

Thank you for replying.

Well, that's just strange. I don't have Expressions Web or any website
software outside of Frontpage. I've had this problem for a long time, though.
The shortened version doesn't work in IE or Firefox. I haven't tried it in
others, but those are the main ones I want it to work in.

It's a shame you can't replicate it. It doesn't do it every time I save,
maybe 60% of the time. However, it's been such a problem for me. I guess I'll
have to just put up with it for now, though.

Thanks for trying. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top