|
| |
|
|
RickP
Posts: 693 Joined: 11/13/2004 From: Kent, U.K. Status: offline
|
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?
_____________________________
Regards, Rick On-The-Web-Now!
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: online
|
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.
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
RickP
Posts: 693 Joined: 11/13/2004 From: Kent, U.K. Status: offline
|
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(?)
_____________________________
Regards, Rick On-The-Web-Now!
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: online
|
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?
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
RickP
Posts: 693 Joined: 11/13/2004 From: Kent, U.K. Status: offline
|
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?
_____________________________
Regards, Rick On-The-Web-Now!
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: online
|
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
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
RickP
Posts: 693 Joined: 11/13/2004 From: Kent, U.K. Status: offline
|
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.
_____________________________
Regards, Rick On-The-Web-Now!
|
|
|
|
natz
Posts: 12 From: London, UK Status: offline
|
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
Posts: 693 Joined: 11/13/2004 From: Kent, U.K. Status: offline
|
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.
_____________________________
Regards, Rick On-The-Web-Now!
|
|
|
|
natz
Posts: 12 From: London, UK Status: offline
|
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
Posts: 693 Joined: 11/13/2004 From: Kent, U.K. Status: offline
|
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 ;^)
_____________________________
Regards, Rick On-The-Web-Now!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|