Can I make it stop messing with my style sheet? (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


RickP -> Can I make it stop messing with my style sheet? (3/2/2007 10:10:46)

Is there a way to stop EW from making changes to an attached style sheet?

I just wrote a simple rule (list) for all H-tags - thus:

h1, h2, h3, etc.
{padding:0; etc.}


Having closed and reopened the program EW has decided that despite the rule for every h-tag being the same it has rewritten the whole list as separate items. I now have:

h1
{
padding:0;
}


REALLY BIG GAP!


h2
{
padding:0;
}




h3
{
etc.
}


Can I stop this happening. In fact, stop it from making any changes at all to the code?




jaybee -> RE: Can I make it stop messing with my style sheet? (3/2/2007 18:54:17)

It does separate the lines out but I only get one blank line. Go look in Tools>Page Editor Options > CSS> use manual style application. There are a load of settings in there that I tweaked. Are you using the beta or a full version?




coreybryant -> RE: Can I make it stop messing with my style sheet? (3/3/2007 8:36:40)

All of mine say inline and auto style application under the CSS tab. I even went to re-format my CSS and could not make it replicate that issue. And I could add more properties via Expression Web as well.




jaybee -> RE: Can I make it stop messing with my style sheet? (3/3/2007 9:03:11)

Mine was on auto as well and I'm not having the problem. I tried it on manual too which actually stopped EW from doing something that had been driving me nuts so it's staying there.

I haven't found any reported bugs with it either.




RickP -> RE: Can I make it stop messing with my style sheet? (3/3/2007 10:19:21)

quote:

I tried it on manual too which actually stopped EW from doing something that had been driving me nuts so it's staying there.


What's that then? Is it EW popping up the list of css properties, which get in the way when you're trying to manually enter css code in the style sheet? This is bugging me too anyhow.

As for version, it is the 60 free trial downloaded last week, so presumably the full version not the beta.

The CSS tab under 'page editor options' was already set to manual (by default).

Anyhow, I rewrote the H-tags as a list (and another similar list it messed up!) and this time put the css & braces underneath - previously I wrote the h-tags and the following css on one line, maybe this had something to do with it(?)




jaybee -> RE: Can I make it stop messing with my style sheet? (3/3/2007 10:23:38)

No idea. Doesn't seem to matter how I write it, it formats it automatically anyway or did until I put it on manual.

The annoying bit was that. I like to have my styles in a certain format and it kept overriding them. It also stuck its own styles in the page header even though I was using an external stylesheet. I'd suddenly find spans appearing in the code.




coreybryant -> RE: Can I make it stop messing with my style sheet? (3/3/2007 13:00:15)

Under Authoring in the Page options, what is your CSS Schema?




RickP -> RE: Can I make it stop messing with my style sheet? (3/3/2007 13:06:43)

it is set to 2.1 (default) - should this be set to 2.0? - what are the (main) differences betwixt the two?




coreybryant -> RE: Can I make it stop messing with my style sheet? (3/4/2007 8:21:00)

Mine is set for 2.1 as well. While you can combine the tags on 2.0, I did not know if Expression was aware of that :) From what I can remember, there was no 2.0 - well maybe when it was being released but it was 2.1 when released fully. CSS Specifications also only shows 2.1.

Just curious - what default DOCTYPE are you using?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
here but I think the default was HTML 4.01




RickP -> RE: Can I make it stop messing with my style sheet? (3/4/2007 12:56:29)

I think the EW deafult was XHTML transitional but I have changed it to strict.

The current pages in question are on my own site (link at foot), which I have been adjusting (from HTML to XHTML, among other things), while trialing EW.




jaybee -> RE: Can I make it stop messing with my style sheet? (3/4/2007 13:29:59)

On your other thread I've posted a problem with your css file. This may well be linked to it. Suggest you do what I said over there, open the stylesheet in Notepad, get rid of the BOM at the beginning. Tidy up the code as you want it and then save the file.

I've done this in the past with css and php files that both FP and EW have decided to play around with.




natz -> RE: Can I make it stop messing with my style sheet? (8/30/2008 19:15:56)

Can I just say that I have exactly the same problem as PickP, and it's driving me up the walls.
I don't like my CSS being modified automatically. The default should be "leave it alone".
I have played with the settings endlessly. Nothing seems to fix it. Manual or Auto style application, inline or classes etc.
The worst is the time you spent writing a valid CSS and EW is messing with it, undoing your work.

If anyone has figured out how to solve this problem once and for all, I'd appreciate if you could share it here.
Thanku!!


PS. I have also been getting unwanted language spans inserted into my code, until I realised that I have to set the page language to my keyboard language... just another example of EW editing without asking.




RickP -> RE: Can I make it stop messing with my style sheet? (8/31/2008 10:01:30)

Hi natz - I'm glad someone has brought this up again - it's still driving me loony!!![&:]

I am wondering, is it only on Vista it does this? What OS are you using?

I thought I solved it the other day by redoing the 20 lines of code EW had produced and putting it back into one line with commas - but this time with no spaces between each selector - e.g. h1,h2,h3,ect. { etc:etc; } - it left it alone for about a week while I happily worked on the site, then, suddenly for no good reason EW decided to rewrite it all as 20 lines of individual code again!!! I only use the H-tag here for example, it happens with all classes, IDs etc. etc. [8|]




natz -> RE: Can I make it stop messing with my style sheet? (8/31/2008 10:06:32)

Defo nothing to do with the OS. It does the same on my XP laptop as it does on my Vista (home Prem.) desktop PC.
It have also been frustrated with the setting between "Auto style application" and "manual style application". They both have their downsides and I just wish there was an option that says "do not apply anything automatically".

When people say they can't replicate the issue... I wonder, why I cannot get rid of it.
I'm just glad I'm not alone with this, Rick. :o)




RickP -> RE: Can I make it stop messing with my style sheet? (8/31/2008 10:30:44)

quote:

I'm just glad I'm not alone with this, Rick. :o)


I only wish you were alone with it [:D] No harm meant!

Well, if others can't replicate it I guess we're just special [;)]




natz -> RE: Can I make it stop messing with my style sheet? (8/31/2008 10:35:31)

Let's just make a pact, that...

Whichever one of us finds a solution must tell the other. [8|]

Ok?




RickP -> RE: Can I make it stop messing with my style sheet? (8/31/2008 10:57:32)

I'll certainly try my best to remember this thread in the day of triumph - if it ever comes ;^)




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.109375