Bug & solution: DW8 not finding stylesheet

Back on 13th April, 2006, I posted a message below about DW8
not picking
up the stylesheet on a site I was managing in it. The same
problem
recurred with another site I've just created from scratch, so
this time I
set to tracking the bug down. Basically, the problem is with
DW8's
stylesheet parsing. It balks at tags within CSS comments. So
the
following will generate a problem:
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9em;
/* Background colour commented out to allow Javascript
background colour changer to work, as it can't overrule the
stylesheet.
bgcolor set in page <body> tag.*/
/* background: #fff;*/
color: #000;
Change the above by scratching <body> from inside the
comments to leave:
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9em;
/* Background colour commented out to allow Javascript
background colour changer to work, as it can't overrule the
stylesheet.*/
/* background: #fff;*/
color: #000;
and DW8 behaves as it should. This is annoying, as any code
parser should
completely ignore anything within comments. Anyway, I report
the problem
as a public service, so that the Macroserfs can squash it,
and the rest
of youse can be aware of it.
Cheers
Fred
fred DOT riley AT nottingham DOT ac DOT uk
Message posted 13th April, 2006, subject "DW8 not finding
stylesheet":
Ok, here's Dreamweaver doing it again, driving me around the
bend. On one
particular site of mine, DW8 has suddenly decided not to see
the site
stylesheet, even though:
a) the files display fine in a browser and on the server
(www.eurocall-
languages.org)
b) the CSS link ref in the template page headers are fine
(otherwise (a)
would fail)
c) all my other sites are ok
I've just been moved to a new PC, from a previous PC where I
was using DW
MX. I exported my site definitions from MX as .ste files. I
imported them
into DW8 on the new machine. They're all in the Site Manager,
and the
settings haven't changed. The pages in those sites all appear
fine, apart
from this one site.
The HTML is fine. The CSS is fine. What's not fine is that DW
won't find
the CSS file. If I open a template, press Shift-F11 and link
to the CSS
file, which is sitting in the site root directory, when I
press Ok I get
the really helpful error message:
"An unexpected error occurred while trying to read
style-sheet
information"
If I try to preview the template file in a browser, I get the
even more
helpful error:
"An invalid argument was encountered"
Searching for either error message in the DW Knowledge Base
returns
nothing. The DW installation is fresh as a daisy off the
disk, and the
machine is a spanking new XP machine with nothing complicated
on it.
If I manually open the template file in a browser, though, it
displays
fine. So, there's something in the DW code on the pages in
this
particular site that DW8 is rejecting, even though DW MX had
no problems
with it at all (hell, the site was created in MX).
I would be grateful if someone could point me to possible
solution(s),
other than doing what I keep threatening to do, which is to
go back to
hard-core HTML/CSS coding in a programmer's file editor. The
only thing
that keeps me using DW is the site management capabilities
;-\. There are
times, happily not as frequent as they used to be, when the
perversity of
DW and its incomprehensible error messages drive me to
serious mouse and
keyboard abuse.
Cheers
Fred Riley
Learning Technologist, School of Nursing, University of
Nottingham, UK

I put this into a new page -
body {font-family: Arial, Helvetica, sans-serif;
font-size: 2.9em;
/* Background colour commented out to allow Javascript
background colour changer to work, as it can't overrule the
stylesheet.
bgcolor set in page <body> tag.*/
/* background: #fff;*/
color: #0F0;
and text that I enter on that page is huge and green. What's
the problem?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Fred Riley" <[email protected]> wrote in message
news:[email protected]...
> Back on 13th April, 2006, I posted a message below about
DW8 not picking
> up the stylesheet on a site I was managing in it. The
same problem
> recurred with another site I've just created from
scratch, so this time I
> set to tracking the bug down. Basically, the problem is
with DW8's
> stylesheet parsing. It balks at tags within CSS
comments. So the
> following will generate a problem:
>
> body {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 0.9em;
> /* Background colour commented out to allow Javascript
> background colour changer to work, as it can't overrule
the stylesheet.
> bgcolor set in page <body> tag.*/
> /* background: #fff;*/
> color: #000;
> }
>
> Change the above by scratching <body> from inside
the comments to leave:
>
> body {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 0.9em;
> /* Background colour commented out to allow Javascript
> background colour changer to work, as it can't overrule
the stylesheet.*/
> /* background: #fff;*/
> color: #000;
> }
>
> and DW8 behaves as it should. This is annoying, as any
code parser should
> completely ignore anything within comments. Anyway, I
report the problem
> as a public service, so that the Macroserfs can squash
it, and the rest
> of youse can be aware of it.
>
> Cheers
>
> Fred
> fred DOT riley AT nottingham DOT ac DOT uk
>
>
> ------------------------
>
> Message posted 13th April, 2006, subject "DW8 not
finding stylesheet":
>
> Ok, here's Dreamweaver doing it again, driving me around
the bend. On one
> particular site of mine, DW8 has suddenly decided not to
see the site
> stylesheet, even though:
>
> a) the files display fine in a browser and on the server
(www.eurocall-
> languages.org)
> b) the CSS link ref in the template page headers are
fine (otherwise (a)
> would fail)
> c) all my other sites are ok
>
> I've just been moved to a new PC, from a previous PC
where I was using DW
> MX. I exported my site definitions from MX as .ste
files. I imported them
> into DW8 on the new machine. They're all in the Site
Manager, and the
> settings haven't changed. The pages in those sites all
appear fine, apart
> from this one site.
>
> The HTML is fine. The CSS is fine. What's not fine is
that DW won't find
> the CSS file. If I open a template, press Shift-F11 and
link to the CSS
> file, which is sitting in the site root directory, when
I press Ok I get
> the really helpful error message:
>
> "An unexpected error occurred while trying to read
style-sheet
> information"
>
> If I try to preview the template file in a browser, I
get the even more
> helpful error:
>
> "An invalid argument was encountered"
>
> Searching for either error message in the DW Knowledge
Base returns
> nothing. The DW installation is fresh as a daisy off the
disk, and the
> machine is a spanking new XP machine with nothing
complicated on it.
>
> If I manually open the template file in a browser,
though, it displays
> fine. So, there's something in the DW code on the pages
in this
> particular site that DW8 is rejecting, even though DW MX
had no problems
> with it at all (hell, the site was created in MX).
>
> I would be grateful if someone could point me to
possible solution(s),
> other than doing what I keep threatening to do, which is
to go back to
> hard-core HTML/CSS coding in a programmer's file editor.
The only thing
> that keeps me using DW is the site management
capabilities ;-\. There are
> times, happily not as frequent as they used to be, when
the perversity of
> DW and its incomprehensible error messages drive me to
serious mouse and
> keyboard abuse.
>
> Cheers
>
> Fred Riley
> Learning Technologist, School of Nursing, University of
Nottingham, UK
>
>
>
>

Similar Messages

  • Is this a hack? or a BB bug? -- Could not find "end" on a telemarket​er's call.

    I get annoying calls from Telemarketers. Don't we all? So, I hang-up on them. Yesterday, when the auto-talking spiel started I went to press "end" and it disappeared! I went to the icon page but could not get the "phone" to load. Finally, I had to shutdown the cell to end the call. Was that a hack? Or is this a BB bug?
    I saw a sister to this problem on another string [I've had this happen to --very frustrating]:
    e: bug list/feature observations for BB10 on Z10
    ‎02-15-2013 01:57 PM
    When you try and call through a linked phone number in an email the phone sometimes dials out without the ability of getting you to the dial pad to end calls. Super frustrating as you have to reboot to end a call. This is no constant but seems to happen frequently when I hit someones number from outlook.

    Not a solution, but perhaps switching on Airplane Mode would be quicker than restarting the phone...
    Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands

  • Please explain me, how to remove an usb stick or memory chip? With experiences only in pc:s, I do not find on my first apple e.g. MacBook Air a solution. Until now I have succeeded to destroy one chip full of photos and - there's no life more in the port.

    Please explain me, how to remove an usb stick or memory chip? With experiences only in pc:s, I do not find on my first apple e.g. MacBook Air a solution. Until now I have succeeded to destroy one chip full of photos and - there's no life more in the port...
    Someone told me just to remove the chip in clicking it to the trash can and voilá - it would be done. But as I did so, on the screen appeared a text which let me know, that that way had been the wrong one...
    I should have clicked Finder plus something.... which I do not now remember but which was then not found behind the Finder.
    So please would someone be so kind and tell me, where I can find explanations for the most simple functions. The manual I got does not include a clue.
    Thank you!

    First make sure that no application is using or has open any files on the disk. Then:
    Click and drag the disk icon on the desktop to the trash. Wait for the system to recognize the action, and the icon should disappear from the desktop. It is then safe to remove the device.
    Alternatively, you can secondary click on the disk icon, and then primary click "Eject (name of disk)". Wait for the icon to disappear off the desktop, and then it is safe to remove the drive.
    Here is a detailed help document on the subject.
    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp1056.html

  • Recently I am having trouble viewing some videos on Yahoo using Safari 5.1.1 on MacBook Pro 10.6.8. I am not finding a solution on internet.

    Recently I am having trouble viewing some videos on Yahoo using Safari 5.1.1 on PowerbookPro 10.6.8. I am not finding a solution on internet.

    An example link & a clear description of the trouble will help.

  • Can't Find Solution for Could not find Digital Editions folder

    I have checked many posts but I cannot get my ADE to work.  I get the message "Could not find Digital Editions folder."  I am running Windows 7 Enterprise.  I have tried several solutions but the things they are talking about do not exist on my computer (D drive for instance).  Can someone please, please, please help me or either direct me to the proper answer....

    I don't know much about your efforts from your email - such as what you did
    to install ADE and when, and whom you're talking to about your problem (ADE
    or Microsoft).  So, I'll have to wing an answer - and I hope it helps!
    When ADE installs, it sets up an Adobe Digital Editions folder, which
    contains the software and, by default, is installed on Drive C.  If you
    elected to install the software, but did not complete the installation, Win
    7 will show you an icon but won't have the software to back it up.  On your
    desktop, right-click on the ADE icon, and click on Properties at the bottom
    of the drop-down window.  A small window should appear with the location of
    the software.  If it's empty, ADE was not installed properly. It should show
    you a drive and folder.
    So, if it's there, then what's next, you say.  Something is wrong with the
    registry if Win 7 won't open ADE and it shows up in the icon properties.
    ================

  • I have a problem with itunes account did not find a solution.

    Good morning
    I have a problem with itunes account did not find a solution.
    The problem: your apple id has been Dasabld
    I can not if download applications from the iTunes store
    Hoping to help me solve the problem
    Note my English is very weak
    I want to re-activate the iTunes account
    Thank you

    To Contact iTunes Customer Service Use this Link...
    Apple  Support  iTunes Store  Contact

  • HT3964 Hello, my isight camer is not working properly, i was using photo booth and suddenly the image was black or too dark and also ichat and facetime are too dark as well, please helpme out i can not find any solution.

    Hello, my isight camer is not working properly, i was using photo booth and suddenly the image was black or too dark and also ichat and facetime are too dark as well, please helpme out i can not find any solution.

    read this and see if it helps: http://support.apple.com/kb/ht2090

  • Hello please I want the solution I have in my iTunes I own $ 112 and you purchase from the game of war gold price of gold and 99.99 discount iTunes money did not come in the gold game of war and that I am two days ago, I did not find the solution please I

    Hello please I want the solution I have in my iTunes I own $ 112 and you purchase from the game of war gold price of gold and 99.99 discount iTunes money did not come in the gold game of war and that I am two days ago, I did not find the solution please I want the solution quickly

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • There is a bug in firefox that wants me to install programs every time I open firefox. How do I get it cleaned off. AVG Security did not find it.

    Every time I start firefox there is another page in the backround that starts up and wants me to install software. I have updated to the newest firefox and latest AVG security software and scanned my whole computer and this bug is hid some where. I have scanned with firefox up and running and with it not running and did not find it. How can I get rid of it?
    Running windows vista service pack 2 64 bit .

    What software does it want you to load? '''Mozilla.org''' installer programs
    only install Firefox, nothing else. If you did not get the program from
    '''Mozilla.org''', it may be an altered program from someone else.<BR><BR>
    That may be an update message from a program you already have. Please
    send a screen shot if you can.
    =====================================================
    Whenever you get a message / popup that software / files need to be updated,<br><br>
    <u>'''''DO NOT USE ANY OF THE PROVIDED LINKS'''''</u>.<br><br>
    While this may be a legitimate message, it could also be <u>'''''Malware or a Virus'''''</u>.
    Any time you want or need to check for upgrades,
    go to the web site of the <u>'''''True Owner'''''</u> of the program in question.
    For example, to check out Firefox, go to '''''[https://www.mozilla.org Mozilla.org]'''''.
    =====================================================
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • When I'm trying to add files to media, the program is suddenly closed by windows and says that can not find solution to this problem...

    when I'm trying to add files to media, the program is suddenly closed by windows and says that can not find solution to this problem...

    Hello Wyodor,
    thanks for your reply on my question.
    You are wright the index file is 308 KB.
    And offcourse that I delete my files and documents is not an Iweb problem, but because my English is not that good, that I thougt I try to tell the whole story, and hope people can read trough the lines.
    Why I didn't use Iweb to upload to the server is because the server company recommanded to use file zilla. And I am a nobody with this kind of things, so I did exactly what they tell me to do.
    No, i did not make a backup of Iweb and the domain file, but reading other messages on this forum showed me that I can maybe try to make empty the cashfile (?)
    and otherwise I have bad luck and have to make my website again. Offcourse I have a lot of examples from all the pages (copied from the local map to my USB stick) and my website is aprox. 15 Mb, (not so big) so it will cost me a few nigths.
    But I'm still hoping on a miracle :-)
    greetings Lasource

  • Thank you for providing immediate  feedback.   bt that solution did not help me to solve the problem.still am nt able to make outgoing calls. i dont find any problem in recieving calls also right. bt i dont have any problem in recieving calls.

    Thank you for providing immediate  feedback.   bt that solution did not help me to solve the problem.still am nt able to make outgoing calls. i dont find any problem in recieving calls also right. then i dont what is wrong with my iphone.The same sim which i used in iphone4s is working in all other phones.its not the problm of carrier.
    Iphone 4s Black 16gb

    Rather than starting a new thread every time it would be easier to follow you if you stick to the one thread

  • July IOS software install which was to iphone 5 on my ipod touch 5g, now can not find the solution to restore the software.

    July IOS software install which was to iphone 5 on my ipod touch 5g, now can not find the solution to restore the software.
    plis help me.

    Your question is unclear... On which iDevice do you wish to restore the software...
    Try Here  >  http://support.apple.com/kb/HT1414

  • I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I

    I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I have tried all suggestions in this thread and nothing works. I also hooked up to laptop through iTunes with micro USB nothing!!!

    The new appletv software came out 2 or 3 days ago, how would Apple get it on the device in the box in a store?
    Why don't ou update the appletv software?

  • HT201210 I cannot sync my ipod touch, message says an error occured (6) ! did not find solution ?

    I cannot sync my ipod touch, message says an error occured (6) ! did not find solution ?

    Errors related to third-party security software
    Error 2, 4 (or -4), 6, 40, 1000, 9006
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    There may be third-party software that modifies your default packet size in Windows by inserting a TcpWindowSize entry into your registry. Your default packet size being set incorrectly can cause these errors. Contact the manufacturer of the software that installed the packet size modification for assistance or follow this article by Microsoft: How to reset Internet Protocol (TCP/IP).
    Verify that access to ports 80 and 443 are allowed on your network.
    Verify that communication to albert.apple.com or photos.apple.com is not blocked by a firewall, or other Internet security setting.
    Discard the .ipsw file, open iTunes and attempt to download the update again. See the steps underAdvanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations.
    Restore your device while connected to a different network.
    Restore using a different computer.

  • Ive been tryingto find a way to get the answers to my sercurity questions but non of the ways work anyone hav a solution thats not on the apple support page

    Ive been tryingto find a way to get the answers to my sercurity questions but non of the ways work anyone hav a solution thats not on the apple support page

    Security questions:
    https://discussions.apple.com/docs/DOC-4551
    http://support.apple.com/kb/HT5312

Maybe you are looking for

  • Display document data in dialog box

    I am using a folder level script to do the following: Get a specific XMP field value from an open PDF file: this.info.InDesignFileName Define a dialog box Create a menu item that calls the dialog box But for the life of me, I cannot get the dialog cr

  • SKF transactional values based on company code

    Can anybody let me know the logic how we can seggregate transactional value passed to statistical key figure based on company code or is there anytable where we can direclty find SKF transactions involved based on company code ? Need to upload SKF tr

  • Sga_max_size in 9i

    Hi Sorry about this simple question but little bit confused. If I set "sga_max_size" parameter in 9i, Does the sga compenents change (increase/decrease) dynamically while the database is up? or This is parameter only necessary if I want to increase t

  • How do you highlight words

    How Do you highlight words ??

  • Line Tool Issue

    When using the line tool in 'pixels' mode, with 'anti-alias' unchecked, I drew a line holding the shift key for angle snapping. While drawing a lengthy 45 degree line, I'm able to offset the line by tiny increments of .3 +/- , resulting in a line tha