Simple 960px html does not work???

I've b een coding pages a while but this has me perplexed.
I have a page with simple code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#960Wrapper {
width: 960px;
background-color: #0F0;
margin-right: auto;
margin-left: auto;
#header {
background-color: #C9F;
#footer {
background-color: #C0F;
</style>
</head>
<body>
<div id="960Wrapper">Content for  id pageWrapper Goes Here
        <div id="header">This area is reserved for logo</div>
    <div id="contentArea">
   <p>Please click a button:</p>
  </div>
     <div id="footer">This area is reserved for footer</div>
  </div>
</div>
</body>
</html>
However everything is going to full width and edge of the browser - all of them.
Maybe my grey cells are tired - or something is corrupt but the machine does not accept it - in or out of dreamweaver.
I've rebooted - run ccleaner and rebooted again but something is not working for me.
I'd appreciate if someone could confirm I'm not going mad please.
Terry

GROAN!
Forgot about that one - it's as simple as that???!
I had a whole page written and then it stopped working - I've even stripped it back to basics and it was as simple as that???
Thank you very much for pointing this out.
Terry

Similar Messages

  • XSLT Transform XML 2 HTML does not work well

    Hi,
    This is my first attempt to use XSLT to convert my XML file into HTML using Java. I have included below the java code I used for the transformation, the xsl file and the xml file.
    As per the xml file, I would like to display the carrier's common-name for each host. However, I can only get to display the carrier-id using the code line
    <xsl:value-of select="./@carrier"/>
    as shown in the last part of the xsl file, but cannot get the carrier's commonname from the carrierid using the code,
    <xsl:variable name="hostCarr" select="./@carrier"/>
    <xsl:variable name="hostcomName" select="id($hostCarr)/common-name"/>
    <xsl:value-of select="$hostcomName"/>
    However this works well if I were to use XML SPY for the conversion, instead of the Transform class in Java. I am using version 1.4.1 of Java.
    Please help.
    Thanks,
    Prasuna
    XML file
    <pathinfo pathogen-name="Brucella spp.">
         <taxonomy>
              <carrier carrierID="wild">
                   <common-name>Wild cies</common-name>
              </carrier>
              <carrier carrierID="sheepandgoats">
                   <common-name>Domestic Pig</common-name>
              </carrier>
              <carrier carrierID="lab">
                   <common-name>Laboratory environment</common-name>
              </carrier>
         </taxonomy>
         <host-list>
              <host carrier="wild"></host>
              <host carrier="lab"></host>
              <host carrier="sheepandgoats"></host>
         </host-list>
    </pathinfo>
    XSL file
    <xsl:stylesheet version="1.0" xmlns:a="http://www.xmlspy.com/schemas/orgchart" xmlns:ipo="http://www.altova.com/IPO" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="ISO-8859-1" omit-xml-declaration="no" indent="no" media-type="text/html"/>
         <xsl:template match="pathinfo">
              <html>
                   <head><title><xsl:value-of select="@pathogen-name"/></title>
                   </head>
                   <body bgcolor="#ffffe5" text="#000000" link="#007a00" vlink="#7a0000" alink="#ff0000">
                        <xsl:apply-templates select="host-list"/>
                   </body>
              </html>
         </xsl:template>
         <xsl:template match="host-list">
              <ol>
                   <xsl:for-each select="host">
                        <li>
                             <xsl:variable name="hostCarr" select="./@carrier"/>
                             <xsl:variable name="hostcomName" select="id($hostCarr)/common-name"/>
                             <!--
                             <xsl:value-of select="./@carrier"/>
                             <xsl:value-of select="$hostcomName"/>
                             -->
                             <xsl:value-of select="$hostcomName"/>
                        </li>
                   </xsl:for-each>
              </ol>
         </xsl:template>
    </xsl:stylesheet>
    Java Code
    import javax.xml.transform.*;
    import java.net.*;
    import java.io.*;
    public class Xml2Html {
    public static void main(String[] args) {
    try {
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer =
    tFactory.newTransformer
    (new javax.xml.transform.stream.StreamSource
    ("temp.xsl"));
    transformer.transform
    (new javax.xml.transform.stream.StreamSource
    ("temp.xml"),
    new javax.xml.transform.stream.StreamResult
    ( new FileOutputStream("temp.html")));
    catch (Exception e) {
    e.printStackTrace( );

    From Michael Kay's book "XSLT Programmer's Reference":
    'A non-validating XML parser isn't required to read attribute definitions from an external DTD. In this situation the XSLT processor will assume there are no ID attributes present, and the id() function will always return an empty result."
    Presumably you didn't set your transformer to use a validating parser, and I don't even see a reference to a DTD there. However the expression id('X') is equivalent to //*[@id='X'], Kay goes on to say. Try that instead.

  • Adobe AIR 2.0.3 Installer does not work in Firefox 3.6.8 (win7/osx leopard) via badge installer

    Using the Air installer feature of the Air App Badge installer from http://www.adobe.com/devnet/air/articles/air_badge_install.html
    does not work in Firefox 3.6.8 on both windows 7 and osx leopard 10.5.8.
    seems to be still functional in firefox windows xp and osx snow leopard 10.6.3
    To reproduce. without having air installed on your windows7 or osx leopard machine, go to http://www.tweetdeck.com/desktop/ and click on the "Download" button to begin air install. the "Yes" and "No" buttons are unresponsive. Air will fail to install.

    There is a thread on the topic on the Photoshop forum: http://forums.adobe.com/message/4124703#4124703
    Strange, it works in CS4
    But you guys are able to go to http://help.adobe.com/en_US/photoshop/cs/using/index.html right?
    It might be useful to know that you can set Community Help Sites as a search engine in your browser (it should offer you to register itself as a search engine, while Safari users have to add Glims to add additional search engines.) http://blogs.adobe.com/communityhelp/2009/01/opensearch_plugins_available_f.html

  • CWA using customized portal does not work IPAD 2

    Hi all,
    I have another interesting case that I have been testing for more than a month but it is not working. Cisco provides templates to create the customized portals for LWA or CWA. However, Success Page HTML does not work on LWA and Cisco ISE uses internal default success page.
    On my specific case, we need to move from LWA to CWA in order to minimize the number of redirections and the customized portal for login and AUP work fine BUT when the SUCCESS PAGE is presented on the IPAD, the button on the top right corner never changes from CANCEL to DONE even though the Authentication is successful. We modified multiple times the HTML Files following Cisco Templates and the following link (which looks like has an error) with the same incorrect behavior. Only works if I click the go back arrow on the IPAD so I move back to the AUP page (not an acceptable workaround).
    Reference Link:
    http://www.cisco.com/c/dam/en/us/td/docs/security/ise/how_to/HowTo-42-Customize_ISE12_Web_Portals.pdf
    In the link, Cisco mentions version 1.2.0.899 patch 8 as the version to be used on the ISE devices running the customized templates. However, we recently moved from 1.1.3.124 to 1.2.1.198 patch 3. I created a brand new VM running 1.2.1.198 patch 3, imported the cisco templates for login, AUP, success and error and I am still getting the same problem on IPAD 2 for SUCCESS PAGE even though I am using Cisco Templates.
    I could give a try configuring another VM running 1.2.0.899 patch 8 and use the Cisco templates + IPAD 2 but that is not a good solution.
    Have anyone experienced the same problem?
    thanks

    I opened a case with Cisco TAC, let's see what happens. In the meantime, I created a VM ISE which will be running 1.2.0.899 patch 8 so I will upload the Cisco HTML Files on it and see it this option works properly on IPAD 2, IPAD 4, Chromebook, Win 7 and Samsung Tablets.

  • My iPhone's screen black, it does not work and I tied to hold press power and home press but it did not work? By the way for seconds I saw iTunes cabal  simple, but unfortunately, I do not have backup for my iPhone in my mac, so how can I restore my iphon

    My iPhone's screen black, it does not work and I tied to hold press power and home press but it did not work? By the way for seconds I saw iTunes cabal  simple, but unfortunately, I do not have backup for my iPhone in my mac, so how can I restore my iphone without loss my date?
    Thanks

    lbryan1987 wrote:
    I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
    You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
    there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
    Seriously? It's physically broken!

  • Personalized Simple Search with new messageLovInput - Search does not work

    I have currently set an Message LOV Input into a Simple Search Panel for IcxPorRcvSrchPG.
    I have got the LOV bringing back the correct values, but when I hit the GO button the Search does not work.
    Can someome please help me on how I am able to get the search working in the Simple Search Panel.
    Details of VO's are as follows:
    xxReceiveItemsDueVO (extended from ReceiveItemsDueVO)
    xxReceiveMyItemsVO (extended from ReceiveMyItemsVO )
    xxReceivePurchaseItemsVO (extended from ReceivePurchaseItemsVO)
    xxReceiveReqItemsVO (extended from ReceiveReqItemsVO)
    Extended Attribute I am looking to search with is xxWono.
    Current search items are working 100% with extended VO's, but when I try and search with new item, I am having no luck. The search is acting as though the new item has not even been created.
    Additional Lov Details are as follows:
    Level: Site
    Item Style: Message Lov Input
    ID: xxWONumSearch
    Data Type: VARCHAR2
    External LOV: /oracle/apps/icx/lov/webui/WorkOrderLovRN
    Prompt: Work Order Number
    Search Allowed: False
    Search Criteria: False
    Lov Map
    ID: xxWipEntityName
    Criteria Item: xxWONumSearch
    LOV Region: WipEntityName
    Programmatic Query: False
    Required: False
    Return Item: xxWONumSearch
    Framework version: 11.5.10.6RUP
    Is there a way of doing this through Personalization?
    With the version of framework I am not able to add a simpleSearchMapping through Personalization.
    Can someone please advise?
    Thanks
    Lee

    When I generate and then view the help, it looks perfect!  I changed the name of the project folder since the information is proprietary.  I have several pictures including the parent folder and the only 3 folders that are generated.  I cannot find the Webhelp output folder.  I think this is what you need to see.

  • Data Binding: Simple code does not work.

    hi... the following simple code is used to display the ename field for a record selected in scott.emp on the console. the code is placed in an event handler. it is as follows:
    DCBindingContainer bindings = ctx.getBindingContainer();
    DCControlBinding binding = bindings.findCtrlBinding("ename");
    String Name = (binding != null) ? binding.toString() : "";
    System.out.println(Name);
    is the code above correct????
    if so, why it does not work???
    thanks for every help in advance & best regards.

    Hi,
    please check the UIModel.xml file for the page if the binding name is "name". The code you have is the same code we published in our QBE workshop and it works there. The only difference is the name of the control binding. So please check if the binding name exists. (e.g. it could be ename1 instead of ename)
    Frank

  • html:link action="" input type="button"... does not work under IE browser

    Greeting,
    I have the following codes in struts1.3.5. It works fine under Firefox, but it does not work at all under Internet Explore (IT) at all. Any clues why under IE it does not work?
    <html:link action="/private/search">
    <input
    type="button"
    value="Search"
    class="search-button">
    </html:link>
    Thanks a lot!

    This would probably generate a HTML in which there will be a button inside anchor tag.
    This is not a standard HTML feature and no wonder this is not supported by IE. I copied the generated html codes into test.html to try on IE, the button does not work at all.
    Firefox is probably lenient here. True. test.html works in Firefox.
    You might want to just have a link or do a form submission on button click.The action designed does not need an actionForm. I updated my code to :<html:button onclick="location.href='processSearch'"
    property ="Search"
    value ="Search">
    </html:button>
    And now both Firefox & IE works fine.
    Thanks a lot!

  • HTML Editor in HTMLDB Does Not Work Properly

    Dear Developer,
    The HTML Editor provided in the Build 1.5.0.00.33 (9i) does not work properly. The problems are:
    1. When you press Enter Key in HTML Editor <P> tag is
    added instead of <BR> tag. This causes inconvenience to the end user while editing & displaying the fields formatted by HTML Editor.
    2. Similar problems occur when Bullets are used.
    3. Maximum field width for varchar is only 4000 & there is no other field provided by HTML DB which can store more than 4000 characters information.
    I would like to know whether:
    1. The problem is fixed in the newest buid ?
    2. Is there any workaround or am I missing something, please comment.
    I am using HTML Editor so that user can write long free flowing HTML text, but end users have inconvenience.
    Thanks.

    Hi Ayush,
    The answer to your question 3 is increase the size of the Maximum width on the item. I increased it to 32767 and was able to insert into a clob. I think the limit is 32767.
    Vivek

  • Changing the font size does not work with Textarea with HTML Editor

    If you change the font size in the text area of a "Textarea with HTML Editor" item it does not work. I've searched the forum and the only solution I've seen is to use an HTML editor foriegn to APEX. Does anyone have a better solution? Thanks, Elizabeth

    I'm having a similar issue except with HTML Editor Standard.
    What I'm doing is allow someone to write to an HTML Editor Standard field and then an HTML marked up text is saved to a db CLOB column. In another page, I reference this DB column and show it in an HTML Region (I do a computation Before Regions for a hidden item that writes out the html with "htp.p")
    Everything shows up fine EXCEPT the font tags and headings. I'm finding that the HTML Region sets the font size only with the < d i v s t y l e="font-size: large" >and NOT < f o n t size:6 >. When the HTML Editor renders the user's text input, any size changes are made with the < f o n t > tag, which is depreciated anyways, and not with "style". That's why the size is not showing up.
    I can't really figure out why the headings aren't showing up except maybe the css style in the region is overridding it...
    Is there another APEX item type like HTML Editor (which uses FCKEditor) that I can use, or maybe another approach to remedy this issue? Or maybe this post calls for an enhancement with the HTML Editor?{size}{size}
    </div>
    Edited by: maui26 on Mar 4, 2009 10:43 AM

  • InDesign DPS: Simple animation does not work in folio?

    I'm building a simple recipe app using InDesign CS6, using the Digital Publishing tools.
    On one page I applied an animation, "fly in from bottom" to an object.
    When I eventually build the folio and view it on my ipad with the Adobe Content Viewer, the animation does not work on that page.
    I've watched a couple tutorials on how to use the animation tools, how to set the path, etc. but none of them mention any other steps for getting the animation to work once you build the folio.
    Am I missing something?
    Thanks!
    Bruce

    Okay, I'm gonna try helping out on this....  I don't think layers have any effect on this, or at least I haven't noticed they do, the just help keep you organized and maybe for arrangment...
    So....
    You can just lock the background, it isn't involved, it is just the background.
    1. Make your button to open/start the sequence and make your finished state and an empty box.  In this case the button the button is just a text frame.  The finished state is a shape, text frame and two lines grouped (to make an "x" for the close button).  In your case it will be your image sequence and the button to close it.  Have all the elements of the finished state grouped.
    2. Select both groups.  In the object states panel, hit the new button.  you should now have a multistate object with two states.  One empty state and one state with your sequence, etc..
    3. Now select your open button.  In the button panel, choose the add action button "+" and choose Got to State (or go to next state) and make sure the object is the multistate object you just created.  For the state, choose the state with your sequence.
    4. Now select your multistate object.  In the object states panel choose the state with your image sequence and close button.  Select your close button.  Go to the buttons panel and add an action to go back to the empty state.
    Test it out, it should work fine now.  I don't have an image sequence handy, but you may have to mess with the autoplay settings, etc.  but it should work just fine.
    Notes of interest:  As buttons display only as raster on an iPad, I find it best to make a clear button on top of the button graphic.  That way the button can be vector. and the clear box becomes raster.
    I really, really reccomend watching some of the videos on Adobe TV, they explain and review a bunch of this.  Also, there is an app called DPS Tips App by Bob Bringhurst for free on the Apple Store, he explains all the goodies quite well.  You can also use Wallaby to convert indesign animation to flash and then HTML5, but that gets more complicated and it can also have a load delay. Good Luck!

  • Simple WD4A Portal Eventing does not work

    Hello togehter,
    I'm trying to get a simple Portal Eventing to work with two WebDynpro ABAP components. I read several threads as well as a blog from Thomas Jung about this but still have no eventing. What am I doing wrong? I think that it might be only a little obstacle but I can't get it. So what I didi is:
    1.) Created 1st WD4A application with a button and an action behind that button:
    DATA: l_api_component  TYPE REF TO if_wd_component,
            l_portal_manager TYPE REF TO if_wd_portal_integration.
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_portal_manager = l_api_component->get_portal_manager( ).
      l_portal_manager->fire(
        portal_event_namespace = 'urn:my.namespace'
        portal_event_name      = 'test_event'
        portal_event_parameter = 'testValue' ).
    2.) Created 2nd WD4A application with the following code in the WDDOinit-Method:
    DATA: l_api_component  TYPE REF TO if_wd_component,
            l_portal_manager TYPE REF TO if_wd_portal_integration,
            view TYPE REF TO if_wd_view_controller.
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_portal_manager = l_api_component->get_portal_manager( ).
      view ?= wd_this->wd_get_api( ).
      l_portal_manager->subscribe_event(
        portal_event_namespace = 'urn:my.namespace'
        portal_event_name      = 'test_event'
        view                   = view
        ACTION                 = 'CATCH_EVENT' ).
    and an action.
    method ONACTIONCATCH_EVENT .
      data: EVT_NAME type STRING,
            evt_parameter type string.
      EVT_NAME = WDEVENT->GET_STRING( NAME = 'PORTAL_EVENT_NAME' ).
      if EVT_NAME = 'test_event'.
        evt_parameter = WDEVENT->GET_STRING( NAME = 'PORTAL_EVENT_PARAMETER' ).
        DATA:
          ls_text TYPE if_main=>element_main,
          node_main TYPE REF TO if_wd_context_node,
          elem_main TYPE REF TO if_wd_context_element.
        node_main = wd_context->get_child_node( name = `MAIN` ).
        evt_parameter = 'IT WORKED'.
      else.
        evt_parameter = 'did not work'.
      endif.
      ls_text-text_receiver = evt_parameter.
      node_main->bind_element( ls_text ).
    endmethod.
    3.) FInally I created two iViews (for each WD4A application) and a page, linked the iViews in the page and made a preview. Unfortunately nothing happend in the second iVIew with the 2nd WD4A application in it.
    Any help?
    Thanx in advance
    Matthias

    Hello,
    thanks for your answers. But the problem is not yet solved, the link gives nothing new for me.
    To amend my first post:
    After having created and activated my both small WD4A applications, I created 2 similar iViews (iViews for WebDynpro -> and chose WD ABAP) in my portal. Both iViews have the same namespace (which is SAP - is this ok?) and no application parameter.
    Then I created both a Standard SAP page and a WebDynpro proxy page and added the 2 iViews as deltalink. The page and the iViews have the same prefix (but this is not important, isn't it?).
    --> In both pages the portal eventing does not work
    The ABAP server and the Portal server are the same machine and I call the portal with the full qualified domain name:
    http://<servername>.<domain>:50000/irj/portal
    When I test my WD4A applications in se80 I get the path http://<servername>.<domain>:8000/sap/bc/webdynpro/sap/z_event_receiver?sap-language=EN
    so this is the same domain.
    I even have an entry in my hosts-file for
    <myInternalIp>  <servername>.<domain>
    - Do I have to specify the domain explicitly in addition when integration the WD4A applications in the portal?
    - Is there a correlation between the Portal Event namespace, the namespace of my iViews and page and the domain name of my server?
    - Does the portal event namespave to have the prefix urn: or not?
    Thanks again in advance

  • CODE ADDED using HTML Snippet Widget does not work

    I am trying to add some code to a web page using the HTML Snippet widget and it does not work on my page. the code is as follows:
    <script src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script src='http://adn.ebay.com/cb?programId=1&campId=5336536214&toolId=10026&keyword= coinset+nationaruba&catId=11116&width=728&height=90&font=1&textColor=333366&linkColor=333333&a rrowColor=8BBC01&color1=B5B5B5&color2=FFFFFF'></script>
    Can anyone help me to get this to work?
    Thanks!
    Gregg

    I got this code from Ebay. It is an Ebay partner link.
    Gregg

  • The "a name" html tag does not work in Firefox.

    The tag works in all versions of Internet Explorer, but does not work in Firefox versions 3, 4, 5, 10, 11, 12.

    I haven't noticed any problems on most pages, but I have read about a problem where a script changes the length of the page content after loading (e.g., by collapsing content under headings, done on some FAQ or glossary pages).
    For example, this should position the browser at the Reset Printer section:
    http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer
    A standard diagnostic step is to try Firefox's Safe Mode to see whether an odd behavior is caused by a custom setting or add-on.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in [[Safe Mode]] using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If links work correctly in Safe Mode, that usually points to an add-on or custom setting as the problem.
    Let us know whether that makes any difference.

  • Zooming out in example "Simple Graph" does not work.

    In Measurement Studio, VC++, the feature "Zooming out" does not work. I only can zoom in a graph by drawing a rectangle with the left mouse button.

    There isn't a built in "zoom out" functionality with the graph. There are several zoom modes of the graph, but if you want to zoom out, say with a right click or a key press, you would have to implement it yourself as it is not built-in.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

Maybe you are looking for