Template problem - displaying css in Safari

Safari disables CSS after adding an Editable Region to a
template.
Safari seems to be choking on
<!-- TemplateBeginEditable name="" -->
<!-- TemplateEndEditable -->
tags. When these tags are deleted the page shows up just fine
in Safari. However if they are added anywhere, Safari does not take
into account the CSS associated with the page (take a look
http://www.earthskysea.com/ERSS/departmentinfo/index.html
in Safari and Firefox to see what I am talking about- Firefox
displays the page correctly, Safari does not).
Any work-arounds/solutions to this problem would be much
appreciated.
Thanks,

That'd be it. Good catch....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Loco-Motive" <[email protected]> wrote in
message
news:flg59k$atl$[email protected]..
> Hi rca-in-marina,
>
> Its not the
> <!-- TemplateBeginEditable name="" -->
> <!-- TemplateEndEditable -->
> Safari and IE are choking on.
>
> its the comment tag in the <script>
>
> this is in your source
> <script type="text/javascript">
> <!--
> function displayRandomImage(imageName,array){
> document.images[imageName].src=array[new
Date().getTime()%array.length];
> }
>
>
urls=["../images/_banner/1.jpg","../images/_banner/2.jpg","../images/_banner/3.j
> pg","../images/_banner/4.jpg","../images/_banner/5.jpg"]
> </script>
>
> But the comment isn't closed.
> Add the comment closing tag like this, and it will work
>
> <script type="text/javascript">
> <!--
> function displayRandomImage(imageName,array){
> document.images[imageName].src=array[new
Date().getTime()%array.length];
> }
>
>
urls=["../images/_banner/1.jpg","../images/_banner/2.jpg","../images/_banner/3.j
> pg","../images/_banner/4.jpg","../images/_banner/5.jpg"]
> -->
> </script>
>
> Good Luck!
> Superficial...
>

Similar Messages

  • CSS and Safari

    I'm having problems with CSS and Safari. Class styles don't show up. They show up in Firefox. But Safari will not recognize them.
    What's wrong?

    There is something up I noticed it too - the work around I'm using at the moment is to split classes with the same tag into separate CSS and use @import in the main CSS file.
    For instance, suppose i have CSS for body and then body.myClass - Safari ignores "myClass" when specified unless it's saved into a separate CSS file.
    I first noticed this behaviour in 10.4.4

  • Problems viewing text in Safari 2.0.4

    I'm hoping someone can help me; when a user visits this website in Safari 2.0.4 on certain sub-category pages the text either runs off the page and under the graphics on the right handside or words get cut off in the middle and word wrapping does not work.
    Text gets cut off - http://www.totallybarbados.com/barbados/Barbados_News/3025.htm
    Text runs off the page and behind the graphics - http://www.totallybarbados.com/barbados/Accommodations/
    This website is newly designed and works perfectly in IE, Firefox, Netscape, Opera and other Mozilla based browsers but not Safari. These pages and website all pass W3C World Wide Web standards but isn't displayed properly in Safari.
    Can anyone help give me any advise on this problem and if there can be a solution?
    Much appreciated.
    islandman

    Where did you get 67 errors? http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.totallybarbado s.com%2F shows the only error is the "pre" tag which are necessary hacks for formatting the "pre" tag. The other "warnings" are no different than checking apple.com http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http://w ww.apple.com
    They also do not assign background-color to "every" css element. Why would you (to bloat CSS)? So, there is exactly "one" error which is well documented and is supported in CSS2.1 when released.
    The problem is that Safari does not adhere to white-space or "pre" tags (preformatted text). This has been an ongoing problem since it's incarnation. All other browsers (FireFox, Netscape, IE, Opera, Mozilla..etc) do. http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#h-9.3.4
    edited: Sorry, had to edit as this forum software actually rendered the <"> tags (without quotes)

  • Problems with Mail and Safari

    Hi,
    I'm running OS 10.11 and am having some consistent problems with Mail and Safari on my MacPro Dual 2.66. Here they are:
    Sometimes, for no apparent reason, selecting these applications from the dock no longer opens the application (or a new window if already opened), but causes them to be revealed in the finder.
    In Safari, when this problem occurs, another symptom seems to be that new windows will ONLY open in a new tab, even though I have preferences set to open links in a new window. If I click on a bookmark within a folder in the bookmark toolbar, Safari will open ALL the bookmarks in the folder in new tabs!!
    In Mail, when I open my Inbox, clicking on various messages will highlight (in blue) ALL the messages I'm clicking on, instead of simply displaying the highlighted message in the reader.
    The only way to get things back to normal is to reboot my machine, which is getting to be a total drag, especially since this seems to happen fairly often.
    One other thing that may be related- if my screen saver is running, and I move the mouse to go to an active screen, the computer will "freeze." It stays like this indefinitely- I figured out that if I press the button on the machine itself it will go to sleep, and I can wake it up and then everything is fine, but I don't understand what's going on.
    I have tried using Disk Utility and Disk Warrior, and have used OnyX to clean out my system cache and aall sorts of other stuff, but to no avail.
    Is anybody else experiencing any of this? I'm starting to get really frustrated. Thanks for any advice.
    Cheers,
    Andrew

    Scott,
    I had posted earlier that I had Flash payer problems and then QuickTime and PDF preview problems too, on my Intel PowerMac. I could not figure out what the problem was, because fixing permissions and moving plugins did not work. Console indicated that the Quicktime components were not found, with the problem in a webkit pref file somewhere (nil field value). Anyway, I bailed and reinstalled Leopard from a 10.5.0 DVD, and then updated using the combo updater to 10.5.3. Everything worked. Then, after the 'Java for Mac OSX 10.5 Update 1', it all broke again. This time, repairing permissions resulted in:
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/jvm.cfg", should be 0, user is 95.
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/classlist" , should be 0, user is 95.
    Now it all works again. This is obviously a flaw with the Java update, and also somehow Disk Utility did not find it earlier. Anyway, take a look at reverting the Java update, or manually changing user for those files (I suppose user 0 is root, but maybe it is nobody).
    Obscure....

  • Thumbnails are not displayed correctly in Firefox, but displayed correctly in Safari and G. Chrome

    Firefox display problems regarding this customers site:
    http://gardenia.dk/collections/collection/
    Thumbnails are not displayed correctly in Firefox - only a tiny bit of the picture is visible, incorrect scale (displayed correctly in Safari and Google Chrome).
    Can I do anything to make it work in Firefox, too?
    Kind regards,
    Annette

    This article might help you-
    https://support.mozilla.org/en-US/kb/websites-look-wrong-or-appear-differently

  • Fonts Do Not Display Correctly in Safari and Firefox

    Certain fonts do not display smoothly in Safari and Firefox. They appear to have little pieces of the letters missing. I'm sure others have experienced this problem before but I could not find how to fix this. On the Apple Discussions the fonts look fine... on Google for example, they look messed up. I do not know specifically which font(s) are displayed weird but it happens frequently. This happens in Safari and Firefox on my MacPro and MacBookPro. Is there a setting to fix this?
    Thanks,
    -flash

    Hello Flash, welcome to Apple discussions; )
    Look for Helvetica Fractions and Times Phonetic Fonts, if you have them,
    they can be the usual suspects.
    Check the Text encoding in both Safari & FF, under the "View" menu.
    In System preferences-> Personal (top section) in Appearance tab->
    on the last portion of the panel Font smoothing Style: set that to Automatic
    If those don't help, see this users tip excellent article Kurt Lang's ~ Font Management in Mac OS X
    Look into this application to find any corrupt font[s]Font Finagler
    Good luck, let us know how you fare.
    Eme'~{)
    edited by: Eme

  • Strange display fonts in Safari...

    What would account for fonts not displaying correctly in Safari? Sometimes sections of a web page appear as jumbled, random characters. Often, it will only be headlines, while the body copy displays correctly. I have my display fonts set to Helvetica and the Encoding set to Western (ISO Latin 1).
    Does this have to do with a conflict of another Helvetica with the System Helvetica dfont?
    Any suggestions would be appreciated.

    Actually I tacked on to this thread because the symtom was the same. I have very few fonts installed.
    in Classic's /System Folder/Fonts:
    - Chicago
    - Courier (Type 1)
    - Geneva
    - Helvetica (Type 1)
    - Symbol (Type 1)
    - Verdana
    In /Library/Fonts: None
    In /System/Library/Fonts:
    - Keyboard.dfont
    - LastResort.dfont
    - LucicaGrande.dfont
    - Monaco.dfont
    - Some Asian fonts
    In ~/Library/Fonts
    - MS PMincho.ttf
    - MT Extra
    - QuickBooks Fonts
    - Monotype Sorts
    - MS Gothic.ttf
    - MS Mincho.ttf
    - MS PGothic.ttf
    Finally, via Suitcase, I have enabled:
    - Arial
    - Arial Narrow
    - Times
    - Times New Roman
    - Courier New
    But I've worked like this for a couple of years, with this small start-up set, then enabling what I need in Suitcase, as disabling fonts is key to my work, and I've not had this problem before, even when duplicates existed. I had some VPN and BlueTooth bugs I could not fix, so I backed up my system, reinstalled, and then had the font problem. (But VPN and BlueTooth work okay.)
    Additionally, the HTML tags PRE and ADDRESS also give the garbage results, even though the typical default for these is Courier New, and it's enabled.

  • Problems displaying in IE

    While I love iWeb's ease of use, it seems to have serious problems displaying on IE. There is really no point blaming IE, since it is the dominant browser and most people who will see our sites will use it. The point of iWeb should be to allow people to communicate broadly and effectively, not just to Mac & Safari users.
    Lists do not work well. The indents do not display properly. Text in boxes shift alignment and location. Bullets show up with different sizes. I have had to hand indent and line space all the lists in the sites I make, which is a mess and not scaleable.
    See fieldsforkidsmamk.org.
    Are there any workarounds or fixes?
    The other obvious issues with iWeb are worth noting:
    * inconsistent display in browsers -- pages look different in Safari and Firefox, even on the Mac (let alone IE)
    * difficulty adding html code
    * page names must be identical to nav names, so pages with multiple words (Get Involved) display urls as /Get%20Involved (can't be corrected unless you have Get_Involved as a header.)
    * need to publish whole site for any change
    * need to publish all sites for each change to any site
    * can't change color, display, location, function etc for Nav
    I assume everyone is aware of these problems. The question is, what to do? Grin and bear it? Any help, tips or ideas would be appreciated.
    Thanks!
    MacBook Mac OS X (10.4.8)
    MacBook Mac OS X (10.4.8)
    MacBook Mac OS X (10.4.8)
    MacBook   Mac OS X (10.4.8)  

    * page names must be identical to nav names, so pages
    with multiple words (Get Involved) display urls as
    /Get%20Involved (can't be corrected unless you have
    Get_Involved as a header.)
    You can fix this the same way you add html code, by post processing.
    * need to publish all sites for each change to any
    site
    You can fix this by separating your sites into different Domain files so you only publish one at a time.
    Contrary to the other response, "encoding" is not connected to the points you made. There is never any need to add a UTF-8 "tag" to an iWeb page. If you see question marks or Â's when your page is displayed on any browser, Mac or PC, then you may need to fix your ftp or server settings.

  • MX won't display CSS in Design View

    I built a site for a client using CSS for the layout. The
    client wants to do her own updates with Dreamweaver MX. We've found
    that the layout does not show in Design View, so she's doing minor
    updates in code view (which she's comfortable with).
    A secod site she manages was done with tables and displays
    properly in Design View.
    Can I assume that the problem is just that MX does not
    display CSS layout? She needs an answer so she can ask her boss to
    spend the money for an upgrade.
    -Jesse

    Yes .. I agree. :)
    However .. I would still recommend Contribute for a
    non-webpro.
    Nancy
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:g2othk$f5d$[email protected]..
    > If I were going to give a client DW, I would surely not
    give them DMX.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "Nancy" <[email protected]> wrote in message
    > news:g2orsi$d9l$[email protected]..
    >> CSS display improved markedly as of DW 8. Even
    better with CS3.
    >>
    >> I would be hesitant to give a client Dreamweaver
    however .. I would
    >> rather recommend giving a client Contribute.
    >>
    >>
    >> --
    >> Nancy Gill
    >> Adobe Community Expert
    >> Author: Dreamweaver 8 e-book for the DMX Zone
    >> Co-Author: Dreamweaver MX: Instant Troubleshooter
    (August, 2003)
    >> Technical Editor: Dreamweaver CS3: The Missing
    Manual,
    >> DMX 2004: The Complete Reference, DMX 2004: A
    Beginner's Guide
    >> Mastering Macromedia Contribute
    >> Technical Reviewer: Dynamic Dreamweaver MX/DMX:
    Advanced PHP Web
    >> Development
    >>
    >> "JesseLY" <[email protected]> wrote
    in message
    >> news:g2orog$d4k$[email protected]..
    >>>I built a site for a client using CSS for the
    layout. The client wants to
    >>>do
    >>> her own updates with Dreamweaver MX. We've found
    that the layout does
    >>> not show
    >>> in Design View, so she's doing minor updates in
    code view (which she's
    >>> comfortable with).
    >>>
    >>> A secod site she manages was done with tables
    and displays properly in
    >>> Design
    >>> View.
    >>>
    >>> Can I assume that the problem is just that MX
    does not display CSS
    >>> layout? She
    >>> needs an answer so she can ask her boss to spend
    the money for an
    >>> upgrade.
    >>>
    >>> -Jesse
    >>>
    >>>
    >>>
    >>>
    >>
    >>
    >

  • Dreamweaver templates dwt - no css in browser

    Should dwt's display css correctly when previewed in a browser?
    Mine doesn't but the file created from the template displays fine
    I've just gone back to using dw templates after many years away and I can't remember.

    When things go wrong, 98% of the time it's caused by coding errors.  Start by validating your code and fix reported errors.
    Code Validation Tools
    HTML - http://validator.w3.org/
    CSS - http://jigsaw.w3.org/css-validator/
    Nancy O.

  • Netflix display error with Safari 8/OSX 10.10 Yosemite

    I am having an issue with playing Netflix content through Safari since upgrading to Yosemite. Specifically, Netflix will start to play the content and then display an error after a few seconds. The error reads "Whoops, something went wrong... display error. There appears to be a display problem. Please ensure your monitor is HDCP compliant and is not mirror using airplay."
    My monitor is HDCP compliant (HP ZR30W) and it's the only monitor connected to my 2014 MacPro. I presume this is an issue with the latest version of Safari and all the next extensions Apple added to support Netflix streaming without the Silverlight plugin.
    Anyone have a solution for this or seen the same problem? The new Safari is crazy-fast and I'd prefer to use it with Netflix. Hate bailing to Chrome.

    I just got it to work, and I think I may know why, just in case it helps anyone.
    My setup: 
    Mac Mini (late 2012), with two monitors connected:
         One dell HDMI monitor, hdcp compliant, plugged into the Mac Mini HDMI port.
         One dell monitor plugged into thunderbolt via thunderbolt-VGA adaptor.
    Unplugging the second monitor from the thunderbolt-VGA adaptor fixed the issue, and now Netflix plays with the HTML5 setting turned on!  So it would appear that the second monitor was the problem.  Which would track with what this page says:
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    The page states that a Thunderbolt-DVI connector should work.  Luckily this monitor has both, so the next thing I will try is to buy a Thunderbolt-DVI adaptor and retest with both monitors attached (I don't have one at the moment).  If that works, I'll post the results, maybe next week.
    This kind of stinks because I've always been  two-monitor dude, I like having a movie playing on one monitor while I work on the other for example.  For now, until I get the adaptor, I'll switch netflix back to using silverlight, which seems to still work with both monitors attached.

  • Problems with css-designer Panel

    can't display CSS selectors/properties  - just gives me an empty grey area. When I click in this gray area, dreamweaver crashes.
    Does anyone have similar problems and can help?
    Thanks in advance!
    (OS X 10. 7. 5. / macPro)

    very strange - I installed Illustrator CC and then I had no more problems with Dreamweaver! No more crashes when close or create files and no more problems with the CSS designer. Error messages during create fluid grid layouts are also gone ...
    Congratulations "pcepp" that you too have found a solution.

  • HT5648 OS10.6.8 Firefox 24.0  The new Yahoo mail shows no graphics.  However, the new Yahoo mail displays correctly in Safari and Chrome.  I believe this has to to with the settings for Javascript.  Help me, please.

    OS10.6.8, Firefox 24.0 
    The new Yahoo mail shows no graphics using Firefox 24.0 - just identical rectangles where new icons should be.\.  However, the new Yahoo mail displays correctly in Safari and Chrome.  I believe this has to to with the settings for Javascript.  Those settings aren.t easy to access in the most recent Firefox 24.0 version.   Help me, please.

    The settings for Javascript are either on or off, Fireefox 24 doesn't give you a option to turn off Javascript, unless you installed something like NoScript extension (or some other Javascipt blocking add-on)
    If NoScript, then you need to use the View > Toolbars > Customize and drag the NoScript "Temp Allow All" button to the toolbar area to enable all enabled scripts (including Javascript) on that web page.
    Under the Firefox Help menu is a option to restart with add-ons disabled to see if something you might have installed is causing your problem.
    Reinstall Firefox or create another user account and run Firefox there to try to localize your issue.
    I'm having no problem here on 10.6.8 in Firefox, Chrome or Safari, Yahoo Mail works perfectly.

  • Search box not displaying correctly in Safari

    How can the search bar on the Apple site not display correctly in Safari? I find this odd that Apple would allow this. It displays like 2 search boxes overlapping each other. It still functions correctly but it is a little embarrassing since I am always bashing windows pro browser display.

    Hi
    Welcome to Apple Discussions
    Might be a corrupted cache or cookies issue. First, go to Safari Preferences>Security>Show Cookies. Type Apple in the Spotlight panel. Highlight/remove the cookies. Then, go to the Safari Menu>Empty Cache. Try the Apple site.
    If the double search panel still appears, go to the Finder: Your User Account>Library>Caches. There, move to the trash the com.apple.safari file. Restart Safari and try the Apple site again.
    Post back

  • Problem with css processing in Firefox8 on Win7.

    Hi guys. I have a problem with css processing in Firefox8 on Win7. I need to make div which width and left css properties should be dynamically changed. Inside this div i have an swf object. When i change width and left css styles for my div, it jumps on the page, but other browsers render that well. What can you suggest to fix this problem? Thanks

    A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

Maybe you are looking for

  • I am very disappointed

    I love my galaxy nexus but how can I love a phone that drops my calls regularly? I just got off the phone with Verizon technical support after a week-long struggle and they can't do anything for me. So when I first got my phone I had dropped calls an

  • How to remove the "share" button in Pages?

    I just bought the latest version of Pages from the App Store. To my surprise, the latest update still has the "Share" button in the Tool bar. What is the purpose of that button, since when you click on it all you get is: "iWork.com has been discontin

  • Hi sap expert

    can u brifely give a example of infotypes and macros in abap hr

  • Using the same top include of a function group inside a report

    I have a function group . I want my report to use the top include of the function group. Is this possible.How? I tried the use the include statement inside report it didnt work...

  • PS freezes when loading -  Reading Text Global Resources

    Make sure you have view hidden and system files turned on in windows explorer (tools> folder options) Delete the file: New Doc Sizes.psp from folder: C:\Documents and Settings\USER_NAME\Application Data\Adobe\Photoshop\8.0\Adobe Photoshop CS Settings