Using conditional comments for IE7

I'm working on my first try at applying a conditional comment. My page looks ok in browser lab for all browsers except IE7, which appears to need a change in left padding on a particular div. My main css for that div looks like this:
#div {
padding-top: 192px;
padding-left: 138px;
height: 38px;
width: 120px;
position: relative;
I've adding the following after the start of the div tag in the HTML code:
<!--[if IE 7]>
<style-type=text.css>
#div {padding-left:100px;}
</style>
<![endif]-->
As I understand it, the main css instructions should still be in effect, only the left padding will change. But when I view the page in browser lab, the condition comment has no effect. What am I missing?

Hi
downloading a pdf thru php
The two simplest ways -
1.     Just including the link to the file will open the file in the browser allowing the user to save the file as required.
2.     zip the pdf file and include a link on the page, as it is a zip file the browser will start the download dialogue.
Zipping a file is relatively simple and most os's include this as standard, on windows select the file then right-click and go to 'sent to' then select 'compressed 'zipped' folder'.
PZ

Similar Messages

  • Using BrowserLab, comment conditional CSS [for ie7] on a local WordPress set up using MAMP

    Hiya,
    I have asked this on the BrowserLab forum but thought I'd ask here as well [you never know].
    Trying to fix some IE7 issues on my WordPress site within Dreamweaver CS5/MAMP, I can't get BrowserLab to show any changes I make to the CSS file for IE7.
    To test this MAMP set up and BrowserLab, I changed the body bg colour in the IE7 CSS file [to a turquoise like colour instead of gray] and it didn't render in BrowserLab - even after refreshing in BrowserLab [just got a white square].
    After restarting the Mac Pro, it did render correctly - turquoise! At least I now know the link to the IE7 CSS file works. I'd prefer to not have to restart after every CSS change so is there something I've overlooked to get BrowserLab to render in IE7 after I've edited the IE7 specific CSS file?
    Dreamweaver doesn't 'see' the IE7 CSS in the long list of CSS, PHP, JS and XML files in Live View but I can live with that.
    Thanks
    steve
    http://www.stevedrake.net

    Fixed [I think]. See: http://forums.adobe.com/message/3856510#3856510
    steve
    P.S. A sneaky PS; any ideas on how to get the side bar to the top of the page [level with left content] would be welcome - I've got it to sit on the right with a large left margin but it sits, vertically, after the left content but above the footer.

  • Using BrowserLab, conditional CSS [for ie7] on a local WordPress set up using MAMP

    Hiya,
    A rare post on the Adobe forums though I'm a frequent reader.
    Sorry about the long title.
    Trying to fix some IE7 issues on my WordPress site within Dreamweaver CS5/MAMP, I can't get BrowserLab to show any changes I make to the CSS file for IE7.
    To test this MAMP set up and BrowserLab, I changed the body bg colour [to a turquoise like colour instead of grey] and it didn't render in BrowserLab - even after refreshing in BrowserLab.
    After restarting the Mac Pro, it did render correctly - turquoise! I'd prefer to not have to restart after every CSS change so is there something I've overlooked to get BrowserLab to render in IE7 after I've edited the IE7 specific CSS file [Dreamweaver doesn't 'see' the IE7 CSS in the long list of CSS, PHP, JS and XML files in Live View but I can live with that]?
    Thanks
    steve
    http://www.stevedrake.net

    Hi Amit,
    Thanks for the reply:
    The link is: <!--[if IE 7 ]> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/styleIE7.css" media="screen" type="text/css" /> <![endif]--> This folows the normal CSS link. I obtained the basic code for the link from the WordPress 'Conditional Comment CSS' codex page [http://codex.wordpress.org/Conditional_Comment_CSS].
    In DW/BrowserLab panel I'm using Local Network.
    The URL in BrowserLab begins with dreamweaver: if I use http, I see a 403 authentication message [never noticed that before!].
    However, I think it works. What I was doing wrong is not selecting Preview in the DW/BrowserLab panel: just hitting refresh within BrowserLab after any changes to the IE7 CSS file. I've just triple checked this by changing the body bg colour to yellow [it worked] then to pink [it worked] and now pale blue [it worked].
    This problem was me being dim; now to get things to work in IE7 [there's a part of me that says don't worry about IE7!].
    Thanks again Amit and Bruce.
    steve

  • Using Facebook Comments for iWeb Blog (non mobile me domain)

    Upon moving from a mobileme hosted iWeb created blog to a personal domain, I obviously lost ability to use iWeb commenting. That in-of-itself was frustrating, so I've been scouting out new possibilities. Some have recommended IntenseDebate and others, but I'm curious if anyone has had luck using Facebook Comments? http://developers.facebook.com/docs/reference/plugins/comments
    I've been able to use the Facebook Like HTML as a Widget not a problem, but haven't been able to get Comments to work.
    www.kellerowski.com
    Thanks in advance!

    That is because it is a plugin and plugins won't work with iWeb as far as I am aware.
    I would try http://www.intensedebate.com. It is very easy to set up and it works and you will be notified by e-mail every time somebody posts a comment. I use IntenseDebate on my own site and it works very well for me.
    Your other alternative of course is to ditch the iWeb blog and create a blog link to a blog created in WordPress - you can use http://www.wordpress.org too if you uploading to another host, so you will then have www.domain.com/Blog.

  • Output generation using condition type for deliveries - emailing output

    Hi,
    I have created a specific output type using a condition type functionality. The output generates when delivery picking is complete. I need the output to be in email format. However I require the email to send to a specific address, distinct from the email address defined for the ship-to. Which is the best transmission medium to use? Is there any way an external email address can be defined within a condition record? Can an email address be used for the transmission type 7 Simple Mail?
    Regards,
    Gary

    Good Morning,
    If you want to send an external e-mail use the medium 5. If you want to
    send a mail with SAPoffice than you can not use an e-mail address.
    Instead you should use the name of the user (partner who receives the
    output).
    The medium '7' means internal mail, It was designed for internal use
    for that reason you can set up the execution parameters in order to
    run directly the transaction.
    Another solution could be to reate several partner roles, each partner
    with one own email-adress; run output determination several times,
    each time with different partner (and email-adress).  Although this
    increases the amount of master data that has to be maintained.
    If you have acess to OSS notes, please refer to the following:
    960088     FAQ: Sending SD messages externally
    454893     CHECKLISTSD: Sales document output as an e-mail
    152474     Testing fax and e-mail
    I hope you find this information very helpful and hopefully it will solve your problem.
    Regards,
    Martina McElwain
    SD - Forum Moderator

  • Using conditional format for company logo

    Hi
    Before running the report, customer, will enter some data into the promt(Entity dimensions - Holding structure)
    Every company has unique logo, and depending on selection , in report should display the company's logo
    Is it possible?
    Regards
    Alexander

    One way you might be able to do this is to have each logo/graphic on a separate text row and then add conditional suppression on the rows only to show that row if it matches the required value for the entity.
    Depending on how many entities you have it could be confusing and be maintenance intensive if new entities were added.
    Hope this helps. Cheers.

  • Adding Bottom Margin Pixels for IE Conditional Comment - JQuery Slide Show

    My JQuery slide shows looks great on all browsers except IE...the div below the slide show with written text is covered by the slide images when I go live with it in IE only.  I realize the soluion is to add a conditional comment for IE by comanding 300px to the bottom margin of the div#.  I've created a separate .css file (ie.css) and created a duplicate #div rule.  In my source code, I've added:
    <!--[if IE ]>  <link href="css/ie.css" rel="stylesheet" type="text/css">  <![endif]-->  (yes, the new css file is located within a "css" folder on the root.)
    Now, so that only IE takes the command off of my new "ie.css" file and not the other browsers, what should I have for the margin rule?  I've tried the follwing and a billion other variations with no luck.
    <!--[if IE]>
    #LayoutDiv18 {
         margin-bottom: 300px;
    <![endif]-->
    Where am I going wrong here?
    BIG Thanks
    site ref: www.thethinman1934.com/thethinman

    Chris Wessling wrote:
    <!--[if IE ]>  <link href="css/ie.css" rel="stylesheet" type="text/css">  <![endif]-->  (yes, the new css file is located within a "css" folder on the root.)
    I might be punchy, but I can't find
    http://www.thethinman1934.com/css/ie.css
    Nor can I find a link to it

  • ANN: Conditional Comments Snippets Extension

    I used to be a regular at these forums. Years back I migrated from Windows to Linux and thus ended up migrating from Dreamweaver to Geany. At a recent contract job I was forced to use Windows and Dreamweaver out of which was born this utility extension.
    http://ranjandatta.com/dw-cc-snippets/RDCCSnippets0.4.0.mxp
    what is does
    Contitional Comments Snippets by Ranjan Datta
    Internet Explorer Contitional Comments Snippets, a right click away:
            -Insert Empty CC
            -Insert Conditional Comments for IE less than 7
            -Insert Conditional Comments for IE 7
            -Insert Conditional Comments for IE 8
            -Insert Conditional Comments for IE 9
            -Insert Conditional Commented body tag
    how to use
    Right-Click (Command-Click on Mac) and choose the Coding Snippets flyout
    All Snippets are meant to be used in Code View
    license
    Released under MIT license http://www.opensource.org/licenses/mit-license.html
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies....
    source code
    The source is at http://ranjandatta.com/dw-cc-snippets/

    "Necessity, who is the mother of invention."
       ~ Plato 
    Thanks for sharing.  :-)
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Can I use conditional formatting in OWA?

    Can I use conditional forwarding for emails in OWA. I would like to set up rules in OWA that will allow certain messages to change their display upon receipt.

    Hi,
    Based on my knowledge, I'm afraid that we can't do it via OWA. You need to setup the conditional formatting on Outlook. Here is the steps for your reference.
    On the View tab, in the Current View group, click View Settings, and then click Conditional Formatting. Click Add to create a conditional formatting rule.
    For more information, here is a blog for your reference.
    Conditional Formatting: Highlight your most important mails
    http://blogs.office.com/2012/05/10/conditional-formatting-highlight-your-most-important-mails/
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Recent loss of embedded QT movies on many page for IE7 using ActiveX object

    I have many pages that allow you to select from 4 video formats including QT .mov. An example is at http://www.cwdjr.net/video4/cancanL.php . The QT object uses ActiveX when on IE only(I use Windows conditional comments) and an ordinary object for most other browsers. Until sometime very recently all of these pages worked when you select the QT file. Now QT works on none of them. I suspected the problem might be due to a very recent Windows XP update which is a large one including .NET updates and other things(K8951847) X 86. I was able to restore to a day before this update, but this did not solve the problem. Of course some portions of some updates can not be removed be restoring to an earlier time, so the result does not prove the update was not at fault.
    The involved pages are mostly written in php on the server, so you will not be able to see very much by viewing the source code. To make the problem more simple to view, I made a test page for QT only and with the ActiveX object only. Thus this test page can not be viewed on most browsers that do not support ActiveX. The test page is at http://www.cwdjr.info/broadbandMedia/formatsAX/qtmovtest2.php . Since I serve pages as valid xhtml 1.1 using the correct mime type application xhtml+xml, no IE browser can view the page, since no IE browser can support xhtml served properly. Thus I have a php include at the very top for header exchange between the browser and server. If this says the page does not support the mime type for xhtml, then php using regular expressions, etc is used to rewrite the page as html 4.01 strict for the outmoded browser. Thus don't be surprised if you find some pages in xhtml and others in html when you check properties.
    The ActiveX object used for QT on the test page is below:
    QT MOV
    (CLICK ABOVE LINK IF NO PLAYER)
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="295" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="autoplay" value="true" />
    <param name="controller" value="true" />
    <param name="kioskmode" value="true" />
    <param name="src" value="http://www.cwdjr.info/movie/cancan.mov" />
    </object>
    Once the page comes up on IE7, it is rather slow to respond. Then it gives:
    "Web site wants to install the following ActiveX control: 'Quick Time' from 'Apple Inc'".
    If you do try to install, nothing happens. In contrast to my regular pages, I added the code show above just before the start of the object. Clicking this on will bring up the QT video, but of course it is not embedded on the desired page. This may work as a temporary fix for IE. I likely can hide it from other browsers by enclosing it in Microsoft conditional comments.
    I would be interested if anyone else has had such a problem recently or any ideas concerning this strange response on IE7. I am talking about viewing the page on the server. Since this is a php page it can be viewed locally only if you have a server installed on your computer and I do not. The pages with the first url example given above have operated well on IE7, Firefox, Opera, Safari for Windows, Flock, K-Meleon, Google Chrome and SeaMonkey. There are a few players that have some issues with some of the formats, but this and the fact that some players may not be installed is the reason for offering the video in 4 formats. I sometimes offer high broadband versions as well as low broadband versions.
    It seems I spend more time correcting IE issues than for all of the other mentioned browsers combined.

    Thanks for the reference. I use nearly no JS anymore, since it often causes problems with true xhtml served properly even when you use external script files. Often one can use php script on the server and avoid these problems. When one serves as true xhtml using the correct mime type of application/xhtml+xml, the page is parsed with a very strict xml parser rather than a loose-as-a-goose html parser. (If one serves a page written in xhtml code as mime text/html, as is incorrectly done perhaps 99% of the time, you are using only html, not xhtml, and are fooling only yourself. The page is parsed as html instead of xhtml.) The xml parser has to be very strict to account for any possible xml content. Even a single, or even several, errors often will not prevent a html page from showing, but even a single error on an xhtml page served properly will often get an error report from the xml parser rather than a view of the page. One of the most laughable examples of misunderstanding of this issue is the home page of Microsoft. It claims to be xhtml. However it is served as text/html and thus would be better written in html 4.01 in the first place. Moreover, if you validate the page as xhtml at w3c, you find hundreds of xhtml errors. If Microsoft served their home page properly as application/xhtml+xml it of course would not work on any IE browser, at least through IE7, since none of these IE browsers can handle true xhtml. In addition the page likely would not show up on any browser if served as true xhtml until all of the hundreds of xml and other errors on the page were corrected. Instead, one likely would get a very long error report rather than a view of the page.
    Back to JS, document.write will not work in properly served xhtml, because it easily could produce code with XML errors. For instance it might produce code that contains an unclosed tag, which is a major xml error that can cause an xml device to malfunction. The xml parser thus rightly finds document.write as an error and prevents viewing of the page. However one often can generate the same code as document.write would produce on a browser with php on the server. The finished code is what gets downloaded to the browser, so the xml parser can check everything in the finished code rather than quess what a JS document.write might produce. And don't think you can sweep document.write under the rug by using an external JS file. The very strict xml parser finds it.
    Of course embed has never been a w3c tag, but rather is a bad hangover from the browser war era, a gift of Netscape. No page that includes embed can validate as w3c xhtml or xml of any flavor, at least through xhtml 1.1. However the page may work, despite the error, if server as text/html.
    All I know is that something has happened recently that has caused my problem to surface. It likely has to do with some change in the XP OS or IE browser. I have tried viewing several pages written by others that use many types of code for .mov, and all of them I have viewed that use an ActiveX embed for the benefit of IE now have the problem I mentioned. If anyone else with XP and nearly all updates, including the very recent one I mentioned, and the most recent version of QT has had this problem, I could be more confident that the problem comes from an external source. If not, it is still possible the sudden change could be something concerning a specific issue that has developed in my computer.
    Again, thanks for the JS reference. Some of this likely can translate into php so I can compare how the JS and php server script I am using relate.

  • Using If condition in For EACH Group

    Hi all,
    I want to use if condition in for-each-group. Basically my requirement is that i want to use dynamic grouping. There will be two groups and the upper group and lower group will be selected on the basis of a report parameter.
    I hope i made it clear enough. So please help me in this. Any ideas will be highly appreciable.
    Thanks and regards
    Naveed

    You can add a If condition filed after the for-each field
    for EG : <?if:ADDRESS_TYPE = 'Employee Address'?>
    and then add anothet field which has <?end if?>
    Hope this helps.
    Thanks,

  • Sales Order Unable to Use New Condition Tables for Tax Condition Type

    Dear All,
    I am currently working on SAP R/3 4.0. I have a new requirement for my tax where I need to create new condition tables other than the 4 standard SAP tables which are Customer/Material, Division/Customer, Departure Country/Destination Country, Domestic Taxes and Export Taxes. My new tables consists of Departure Country/Destination Country/Shipping Point/Tax Code. The requirement is that the tax code is based on the chosen destination country and shipping point. The problem I am facing now is that no matter what types of table I create or even I generate with reference to the standard table, the access sequence will only refer to the 4 standard SAP tables above. Even if I put my own table in the highest priority for the access sequence, the same thing happens. My sales order will only pick up date from the standard table.
    I wonder if anyone encountered the same problem as me.
    Kindly advise.
    Thank you.
    Regards,
    Yvonne

    Hi
    Yvonne
    I suggest fist check a simple thing ,whether u have successfully determined shipping point for each line item ,it is possible that just adding a line item will not trigger shipping point determination . So after u update the shipping point on line level u can rerun pricing and check agian if u r getting it .
    Secondly for tax purposes I suggest   Try to have Customer and material tax classification approach  this allows to u have long term flexibiliy and also reduces your maintenance activity . As if u change or add number of shipping points and business changes using the sequence of shipping point ,the logic of just using shipping point will not work.
    In Tax classification u cna add new condition table for each new tax category and use it in different access sequences.
    This information can be passed on to FI using Different Tax code for Different combination.
    I hope this helps
    Regards
    Mandar

  • Using RB00 condition type for Price Adjustment

    Hi,
    I have to do a price adjustment due to some rounding issues in the pricing of my sales order.(Using standard Pricing Procedure RVAA01). I am thinking of using manual condition type RB00 at Item level that can accept both positive and negative values depending on the situation.
    If the calculated value>expected value then the user will enter negative RB00 value manually and
    if the calculated value<expected value then the user will enter positive RB00 value manually.
    The account key is however different in standard Pricing procedure for RB00 and it is ERS and for standard Base Price (PR00) it is ERL.
    So, my question is that does that make any difference if I maintain condition records in VKOA for RB00 same as PR00?

    Hi
    If you are looking for rounding then you round the decimals by not maintaining any decimals.But if it is a price adjustment then your approach is correct
    If it is VK11 then there is no need to maintain condition record for RB00 as it is a manual condition type at item level
    If you are talking to maintain revenue account determination VKOA then you have to maintain as whenever you give discount then it will hit some G/L account .So you should assign a G/L account also
    Regards
    Srinath

  • Commenting a Line in ABAP Editor when using SAP GUI for java

    Hi,
    In ABAP editor we can highlight the line which are to be comment and use cmd+< sign to comment those lines. What will be the command to be used to achieve the same functionality when using SAP GUI for JAVA on an iMac.

    Hello Kedar,
    please check with SAP GUI for Java 7.20 rev 5 before submitting a bug report.
    Also please verify, that cmd-< and cmd-> are not assigned as "Keyboard Shortcuts" in the "Keyboard" control panel of "System Preferences".
    Bug reports can be submitted with the [SAP Message Wizard|http://service.sap.com/message], for SAP GUI for Java please use component BC-FES-JAV.
    Best regards
    Rolf-Martin

  • The condition record for use B can not be displayed

    Hi gururs,
    What does this message (number : VE896 ) mean ?
    How to make it desapear ?
    P.S : it's about output type for purchase orders.
    This message is displayed when I click on : "Goto -> Determi analysis" in tcode ME22N.
    Regards,
    Bahia.

    Hi
    It means you are trying to veiw the executed condition record. System found the condition record for entered transactional data which you cannot see by clicking on it (when you see green record in condition analysis).
    For given condition type -> and access sequence/ access - system shows the condition record that is determined. You can see its details by clicking the access which shows the message that condition record has been found with its determined parameters.
    Ex: For batch determination I have set up one search strategy with a condition type (with access sequence). I created one condition record. When creating say sales order -batch determination takes place based on condition record parameters. System shows a green light for determined condition record. You cannot see its details - if you try to see then system issues a message like ''The condition record for use B can not be displayed''. If you want to see click on its immediate predecessor (access ).
    Thanks

Maybe you are looking for

  • Unpivot using order by clause

    Hello everyone , can somebody please explain the difference in the VALUE column when DESCRIPTION = 'dept' when the query is run with and without the order by clause. SELECT * FROM SELECT * FROM emp --ORDER BY job )UNPIVOT (VALUE FOR DESCRIPTION IN (s

  • Change in privilege level for the command show logging

    I have recently discovered a change in behavior in IOS. The command show logging has traditionally been available at user level. Now it has become a privilege level 15 command. I thought that this was strange and opened a case with Cisco TAC about it

  • Workprocess in Private Mode

    Hi, In our BI system, we want to avoid that dialog workprocess entering in private mode. Now we have the next situations: Number of dialog workprocess: 30 rdisp/wppriv_max_no: 25 rdisp/max_priv_time: 600 We had thought to change this parameters to: r

  • Please help - Did not respond error

    I have used iChat AV successfully in the past. However now, when I try to initiate a video conference, it comes up with the message "Video conference failed to start because I didn't respond". How did I not respond when I sent the invitation. And why

  • It compiles but can't run it!

    Hi I am really new to java. I got this code from net and tried to compile it. Idoes compile but when i run it , i get the messege, "java.lang.NoSuchMethodError: main Exception in thread "main" . Here is me code.Can someone pleaese tell me y i can't r