Trouble with presence visible/hidden script

This is my first post on this forum. I have tried to figure this out on my own, but no solution.
I am creating a PDF with LiveCycle Designer ES v 8.2. and trying to a show state dropdown list if US is selected and province dropdown list if Canada is selected using an "if, else if" statement.
My form opens with both dropdown lists hidden and I want to show a picklist only if United States or Canada is chosen.
Here is my script for when the Country is chosen from the dropdown box. Can anyone figure out what is happening?  The dropdown list field names are:
     cboCo_Name_Country
     cboCo_Name_State
     cboCo_Name_ProvinceI
PROBLEM: No matter which country I choose, it always go to the final else statement where both are hidden. I know this because in trouble-shooting I made combo boxes initially visible and no matter what country I chose, both fields became hidden.
form1.sf_Page_1.sf_CompInfo.sf_CustAddress.cboCo_Name_Country::change - (JavaScript, client)
// Change the presence attribute of the state and province fields.
if (this.rawValue == "United States") {                    // If country selected is US, 
    cboCo_Name_State.presence = "visible";          // show US States field,   
    cboCo_Name_Province.presence = "hidden";     // and hide Provinces field. 
else if (this.rawValue == "Canada") {                        // If country selected is Canada,
    cboCo_Name_Province.presence = "visible";        // show Provinces field,
    cboCo_Name_State.presence = "hidden";            // and hide US States field.
else {                                                                      // Otherwise, if any other country is selected  
    cboCo_Name_State.presence = "hidden";              // hide US States field,
    cboCo_Name_Province.presence = "hidden";          // and hide Provinces field. 
Any help is appreciated.

I found the problem. The rawValues needed to be US and CA, and not "United States" and "Canada". I found it on the binding tab.

Similar Messages

  • Having trouble with third party upload script...

    I have installed a third party upload java app for use in a PHP application I am making (the java app is called Postlet, see:: http://www.postlet.com/ (for the build)). Initially, when I was testing the java, everything worked fine (see: http://www.kilbad.com/DEV/postlet/ ); however, once I put it within my site "wrapper" it started, what seems to be, pulling in meta data from the website header (see: http://www.kilbad.com/home/new_album ).
    I am new to Java, and wanted to know if someone would help me solve this problem? Or, is there another, simple, open source java multi file upload script you would recommend?
    Thank you all in advance!

    To run ore.*Apply or ore.doEval functions using FUN parameter the user you are connecting to in ore.connect needs to have an RQADMIN role. Once the role is granted you need to reconnect your R session. If you are only using FUN.NAME parameter to run existing scripts RQROLE role is sufficient.
    Please, verify that your user has both RQROLE and RQADMIN roles and try to restart your R sessions and reconnect to ORE. Let me know if that worked for you. If not, could you, please, tell me what version of ORE you are running (1.0 or 1.1), how did you create the DB user you are connecting to in ORE and whether this is a fresh install or an upgrade from 1.0. Did you have Beta version installed on the same system?
    Thanks,
    Denis

  • Having trouble with ore.tableApply() demo script

    I have verified that RQSCRIPTCREATE exists in SYS schema, and my demo user has RQROLE assigned, and I tried assigning RQADMIN as well (redundant). Any ideas?
    ORE> # O R A C L E R E N T E R P R I S E S A M P L E L I B R A R Y
    ORE> #
    ORE> # Name: table_apply.R
    ORE> # Description: Execute R code on all rows of a table
    ORE> # passed in at once
    ORE> #
    ORE> #
    ORE>
    ORE> ## Set page width
    ORE> options(width = 80)
    ORE> # List all accessible tables and views in the Oracle database
    ORE> ore.ls()
    [1] "IRIS_TABLE"
    ORE> # Create a new table called IRIS_TABLE in the Oracle database
    ORE> # using the built-in iris data.frame
    ORE>
    ORE> # First remove previously created IRIS_TABLE objects from the
    ORE> # global environment and the database
    ORE> if (exists("IRIS_TABLE", globalenv(), inherits = FALSE))
    + rm("IRIS_TABLE", envir = globalenv())
    ORE> ore.drop(table = "IRIS_TABLE")
    ORE> # Create the table
    ORE> ore.create(iris, table = "IRIS_TABLE")
    ORE> # Show the updated list of accessible table and views
    ORE> ore.ls()
    [1] "IRIS_TABLE"
    ORE> # Display the class of IRIS_TABLE and where it can be found in
    ORE> # the search path
    ORE> class(IRIS_TABLE)
    [1] "ore.frame"
    attr(,"package")
    [1] "OREbase"
    ORE> search()
    [1] ".GlobalEnv" "package:datasets" "ore:RQUSER"
    [4] "package:ORE" "package:ORExml" "package:OREeda"
    [7] "package:OREgraphics" "package:OREstats" "package:MASS"
    [10] "package:graphics" "package:grDevices" "package:stats"
    [13] "package:OREbase" "package:ROracle" "package:DBI"
    [16] "package:utils" "package:methods" "Autoloads"
    [19] "package:base"
    ORE> find("IRIS_TABLE")
    [1] "ore:RQUSER"
    ORE> # Build a regression model using in memory data
    ORE> mod = lm(Sepal.Length ~ . - Species, data = iris)
    ORE> # Use tableApply to predict using the model on all rows of IRIS_TABLE
    ORE> ore.tableApply(IRIS_TABLE,
    + function(dat, mod)
    + {
    + cbind(dat, PRED = predict(mod, newdata = dat))
    + },
    + mod = mod)
    Error in .oci.GetQuery(conn, statement, ...) :
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'SYS.RQSCRIPTCREATE' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORE>

    To run ore.*Apply or ore.doEval functions using FUN parameter the user you are connecting to in ore.connect needs to have an RQADMIN role. Once the role is granted you need to reconnect your R session. If you are only using FUN.NAME parameter to run existing scripts RQROLE role is sufficient.
    Please, verify that your user has both RQROLE and RQADMIN roles and try to restart your R sessions and reconnect to ORE. Let me know if that worked for you. If not, could you, please, tell me what version of ORE you are running (1.0 or 1.1), how did you create the DB user you are connecting to in ORE and whether this is a fresh install or an upgrade from 1.0. Did you have Beta version installed on the same system?
    Thanks,
    Denis

  • A way to clear digital signatures with presence = "hidden"

    LCD 9, Dynamic forms using digital signatures, Reader 9x
    I discovered this by accident, so wondering if this is a design feature or a bug.
    I have a dynamic form and have sub-forms throughout it.  I create a flowed subform for my digital signature that has fields to collect information and then place a fixed subform inside that that actually contains the signature field.
    Page1 (flowed)
    - SignatureBlocks (subform - flowed)
                    - Field1 (textfield)
                    - Field2 (textfield)
                    -InitSig (subform - flowed)
                                    -Field3 (textfield)
                                    -Field 4(textfield)
                                                    -FixedSub (subform - fixed)
                                                                    -DigitalSig (signature field)
                    -ReviseSect1 (checkbox)
                    -CALCchkRevise (checkbox – calculated read only)
    DigitalSig locks down various fields in the form.
    My problem has always been that when the form goes to the next person for review there was no option to push the form back a state and allow the prior user to change info that was locked by DigitalSig.  Until I discovered this:
    If I place a checkbox (ReviseSect1) outside of “InitSig” subform and then run a calculation checkbox (CALCchkRevise) that sets the PRESENCE to “hidden” for InitSig if ReviseSect1 == 1, then toggle ReviseSect1 back to 0 my digital signature is cleared and thus all fields that were locked are now un-locked!
    CAR-1601-FM01.Section1.SignatureBlocks.CALCchkRevise::calculate - (JavaScript, client)
    if(ReviseSect1.rawValue == 1)
        SignatureBlocks.InitSig.presence = "hidden";
    else
        SignatureBlocks.InitSig.presence = "visible";
    Is this a design feature or a bug?  I like it as I now can have a reviewer toggle the ReviseSect1 checkbox which erases the digital signature and thus opens all those locked fields back up for editing.  Before I push this throughout my form (which has many signatures and review cycles) I want to be sure this is not a fluke that will go away when Adobe pushes its 1,037th update for the week for Reader.  If you hide a subform that contains a digital signature then un-hide it is it the design feature of hidden/visible to clear the signature?  Or is this a bug that will be patched?

    A better way is to set two codes on the ReviseSect1 checkbox.  CLICK sets the subform invisible and also sets the value of the checkbox to 0 (so that the user does not come back to un-click it and wipe out the signature again).  Then put a MOUSE EXIT code that sets the subform to visible.  In that way the user clicks the box and the signature subform hides, erasing the signature and un-locking the fields.  As soon as they mouse out of the checkbox the subform with the signature becomes visible again.  Nice.

  • Trouble with Post Migration Scripts

    I try to run the volrepair script but am getting errors. I have run the Update NDS option from nssmu but still now luck.
    ccs_fs1:~ # /opt/novell/migration/sbin/serveridswap/scripts/repair/volrepair.rb -a admin.ccboe -p darabc -f /var/opt/novell/migration/
    Information: Checking NSS status ...
    Information: Getting GUID for NSS Pool ADMIN
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_ADMIN_POOL)(objectClass=nssfsPool)) " "g uid" -W
    Error: Failed to get guid for pool ADMIN
    Information: Getting GUID for NSS Pool APPS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_APPS_POOL)(objectClass=nssfsPoo l))" "gu id" -W
    Error: Failed to get guid for pool APPS
    Information: Getting GUID for NSS Pool SYS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_SYS_POOL)(objectClass=nssfsPool ))" "gui d" -W
    Error: Failed to get guid for pool SYS
    Information: Getting GUID for Volume APPS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_APPS)(objectClass=Volume))" "guid" -W
    Error: Failed to get guid for Volume APPS
    Information: Getting GUID for Volume SYS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_SYS)(objectClass=Volume))" "guid" -W
    Error: Failed to get guid for Volume SYS
    Information: Updated NSS Pool objects successfully
    Information: MPVGUID v1.1 - Modify Pool or Volume GUID
    List is Empty, there are no Volumes
    GUIDModify failed, status -1
    Failed to Parse the XML from Buffer
    Information: Updated NSS volume objects successfully
    Information: MPVGUID v1.1 - Modify Pool or Volume GUID
    List is Empty, there are no Volumes
    GUIDModify failed, status -1
    Failed to Parse the XML from Buffer
    Warning: The following NSS Pools does not exist on the source server. Use "nssmu " option "Update NDS" for these Pools to repair.
    Warning: ADMIN
    Warning: APPS
    Warning: SYS
    Warning: The following NSS Volumes does not exist on the source server. Use "nss mu" option "Update NDS" for these Volumes to repair.
    Warning: APPS
    Warning: SYS

    $(UYou need to have the same set of pools and volumes on the source server and target server (atleast the names should be identical).
    The error says the pools or volumes that exists on the target server doesn't match with those on the source server.
    Try updating them from nssmu or iManager.
    Refer section "9.0 Preparing for Transfer ID -> 9.1. Prerequisites " of http://www.novell.com/documentation/....html#bookinfo
    -Ramesh
    >>>
    From:
    dmilam<[email protected]>
    To:
    novell.support.open-enterprise-server.migration
    Date:
    05/03/2010 11:06 PM
    Subject:
    Trouble with Post Migration Scripts
    I try to run the volrepair script but am getting errors. I have run the
    Update NDS option from nssmu but still now luck.
    ccs_fs1:~ #
    /opt/novell/migration/sbin/serveridswap/scripts/repair/volrepair.rb -a
    admin.ccboe -p darabc -f /var/opt/novell/migration/
    Information: Checking NSS status ...
    Information: Getting GUID for NSS Pool ADMIN
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
    "ldaps://192.168.0 .6" -x -D "admin.ccboe"
    "(&(CN=CCS_FS1_ADMIN_POOL)(objectClass=nssfsPool)) " "g uid" -W
    Error: Failed to get guid for pool ADMIN
    Information: Getting GUID for NSS Pool APPS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
    "ldaps://192.168.0 ..6" -x -D "admin.ccboe"
    "(&(CN=CCS_FS1_APPS_POOL)(objectClass=nssfsPoo l))" "gu id" -W
    Error: Failed to get guid for pool APPS
    Information: Getting GUID for NSS Pool SYS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
    "ldaps://192.168.0 .6" -x -D "admin.ccboe"
    "(&(CN=CCS_FS1_SYS_POOL)(objectClass=nssfsPool ))" "gui d" -W
    Error: Failed to get guid for pool SYS
    Information: Getting GUID for Volume APPS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
    "ldaps://192.168.0 .6" -x -D "admin.ccboe"
    "(&(CN=CCS_FS1_APPS)(objectClass=Volume))" "guid" -W
    Error: Failed to get guid for Volume APPS
    Information: Getting GUID for Volume SYS
    Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
    "ldaps://192.168.0 .6" -x -D "admin.ccboe"
    "(&(CN=CCS_FS1_SYS)(objectClass=Volume))" "guid" -W
    Error: Failed to get guid for Volume SYS
    Information: Updated NSS Pool objects successfully
    Information: MPVGUID v1.1 - Modify Pool or Volume GUID
    List is Empty, there are no Volumes
    GUIDModify failed, status -1
    Failed to Parse the XML from Buffer
    Information: Updated NSS volume objects successfully
    Information: MPVGUID v1.1 - Modify Pool or Volume GUID
    List is Empty, there are no Volumes
    GUIDModify failed, status -1
    Failed to Parse the XML from Buffer
    Warning:The following NSS Pools does not exist on the source server.
    Use "nssmu " option "Update NDS" for these Pools to repair.
    Warning: ADMIN
    Warning: APPS
    Warning: SYS
    Warning: The following NSS Volumes does not exist on the source server.
    Use "nss mu" option "Update NDS" for these Volumes to repair.
    Warning: APPS
    Warning: SYS
    dmilam
    dmilam's Profile: http://forums.novell.com/member.php?userid=11991
    View this thread: http://forums.novell.com/showthread.php?t=409414

  • Troubles with rule action scripting, again

    I'm baaack, I have another question with a rule action script that I can not figure out how to get to run. In this instance I want the script to sort messages from various members of a group into their respective mailboxes. The mail rule selects the group and sends it to the following Script.
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    repeat with eachMessage in theMessages
    set theSender to sender of eachMessage
    if theSender contains "+the full address of the sender+" then
    set mailbox of eachMessage to mailbox "+the desired mailbox+ "
    end if
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    What am I missing this time? This is the most recent version of several attempts.I may as well add, when I expand this to include the numerous members of the group, do I end each of the "if" statements with a "end if" or will the script evaluate several "if" statements in one toss. tT

    The most likely place it could fail is in the comparision:
    if theSender contains "the full address of the sender" then
    You should add some debugging to see whether this evaluates to true or false. If it's true and the message doesn't move that's a whole different problem from it evaluating false.
    As for the 'if' question, you can do it either way. Depending on the situation, one path may be more or less efficient than the other, so it may take some experimentation:
    In general, I try to group the statements into the action, not the clause - for example, if there are three clauses that cause a specific action then I'd have one if statement with three clauses rather than three separate if statements that all lead to the same task.

  • Beginner: Problems with presence attribute

    Hello,
    I have two problems understanding how the presence attribute works.
    1.
    I want to be able to control the visibility of certain objects with a checkbox.
    First, I tried to control the presence of a simple button by adding the following script to the change event of the checkbox:
    if (this.rawValue == "0")
    button1.presence = "invisible"
    else
    button1.presence = "visible"
    This works flawlessly, but I wanted the button to be invisible immediately after loading the document.
    So I added the following script to the initialize event of the button:
    button1.presence = "invisible"
    Now the button is already invisible after opening the document.
    However, I am unable to make it visible again, the state of the checkbox seems to be ignored.
    2.
    I tried to hide a subform using the presence attribute and unfortunately it doesn't work at all.
    Here's the script:
    if (this.rawValue == "0")
    subform2.presence = "hidden"
    else
    subform2.presence = "visible"
    You can download the whole document with my attempts here:
    http://hendrik.feuerware.com/presence.pdf
    Thanks in advance!

    The way it is set up now subform2 can only fit on it's own page. The only way for that second page to be removed from the document when subform2 goes invisible is for the document to be dynamic so it can truly change from being two page to one page or one page to two pages.
    When ever I make dynamic forms I use that initial sub form that appears by default when starting a new form then I add other sub forms with in it each one containing the fields and elements that make up the form. At some point I will set the content of that sub form to flowed which makes it so it can expand to fit the elements. That way if there are certain sub forms that need to be added as the form is being used then it can grow to more pages and everything can shift up or down.
    StevenD

  • Having trouble with flowed form

    Maybe this is a referencing problem, but I am pulling my hair out because I just don't see what the error is.
    The 2 page dynamic form in the link below...
    https://files.acrobat.com/preview/8c174446-6064-46b6-9e39-7c99bcf08918
    ...works fine, UNTIL the first page flows into a 2nd page. THEN, the script in the dropdown list that WAS on the 2nd page (but which is now the 3rd) no longer makes visible the hidden fields. I know you pros out there will know right away what the problem is, and if you can help me out, I'd greatly appreciate it.
    Thanks!
    Jo

    Nifty problem  :-)
    I would personally report this to enterprise support team, as I consider this a bug to be honest.  Anyway ...
    First of all, I noticed that you don't have the problem if you first make a selection in the dropdown and then make the textfield larger and then use the dropdown again.  So, first I thought it was the resolveNode in your code, which is actually not needed.  But that did not solve the problem.  I see this as a layout problem, so I tried to issue an relayout() and ... that works.  But I have no clue why I should issue a relayout(), so for me this is a bug, unless somebody from support picks this up and gives a reason for it.  Anyway, here is how I rewrote your code.  I don't get paid per character I type, so I like short syntax.  Replace your code with this, or add the last line to yours, whatever you prefer.
    Text1.presence = ( this.rawValue == "1" ? "visible" : "hidden" ) ;
    Text2.presence = ( this.rawValue == "2" ? "visible" : "hidden" ) ;
    Text3.presence = ( this.rawValue == "3" ? "visible" : "hidden") ;
    xfa.layout.relayout() ;

  • Using a tag manager with the Elq. tracking script.

    Has anyone had any luck using a tag managment tool to package the eloqua tracking scripts. We are using Google Tag Manager and not having any luck registering click-throughs on our emails.
    Let me know if you're having success and what you're doing to get there. Thanks.

    Jim -
    I've seen the scripts deployed and working properly across sites using various platforms from tag management to CMS that are truly tracking but where the tracking validator built into Eloqua doesn't validate the presences of the scripts.  The best way to check it is two fold: 1. visit the pages on with an uncookied browser, submit a form, etc. to get a cookie and then surf around and check the contact record in eloqua about 20 min later.  2.  look at the site map in eloqua to see if your pages are all visible.
    Lauren

  • Having problem in visible/hidden

    I am using same script under two subform section 1 and section 2. When click on button under section1, this script is working well, but section 2 not working.
    Again if I click on the button section 2, it is working well, but section 1 not working then. Each section withstand other section. I have seen presence action get corrupted.
    var sec = xfa.resolveNodes("images.thumb[*]");
    outer:
    for(var i=0; i<sec.length; i++)
        if(sec.item(i).thum.rawValue == null)
            if (event.target.importDataObject("name"))
                var attachmentObject = event.target.getDataObject("name");
                var filetype = attachmentObject.path.substring(attachmentObject.path.lastIndexOf(".") + 1);
                if (filetype === "jpg" || filetype === "JPEG" || filetype === "png" || filetype === "bmp" || filetype === "JPG")
                    var imageStream = event.target.getDataObjectContents("name");
                    var imageStreamEncoded = Net.streamEncode(imageStream, "base64");
                    sec.item(i).presence = "visible";
                    sec.item(i).thum.rawValue = util.stringFromStream(imageStreamEncoded);
                    break;
                else {app.alert("Please insert correct format image");}
            else { break outer;} //if cancel
    What should I do now?

    Thanks for your reply.
    I am getting browser option to attach image too. I have seen section 1 and 2 are not flowable, but auto hide. All parent subforms are flowable. When I make all flowable all working well. Now I have changed layout, all working well.
    Do you think only child subform which is auto hide, withstands 2nd time to visible?  Actually I like your idea, stong script. You know this attachment script is yours. I like your blog too.
    Thanks for sharing your profound knowledge with us.

  • Trouble with css background

    Hey guys, I am having trouble with some code. I have nested divs inside of a container dive for the body copy, but I am having trouble with the background of the container div going behind the nested divs. I only have this issue with the background when I go to float the nested divs.
    Below is a copy of my html and a copy of my linked css style sheet.
    <!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>Welcome to Optimus Lens</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <style type="text/css">
    #sector {
         background-repeat: no-repeat;
         background-position: left;
         width: 869px;
         margin-top: -51px;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    #oag {
         width: 574px;
         margin-left: 23px;
         float: left;
         /* [disabled]position: relative; */
    #small_col {
         width: 279px;
         margin-right: 23px;
         float: right;
         /* [disabled]position: static; */
    </style>
    </head>
    <body onload="MM_preloadImages('images/home_over.jpg','images/our_mission_over.jpg','images/products_over.jpg','images/news_over.jpg','images/order_over.jpg','images/contact_over.jpg')">
    <div id="CONTAINER">
           <div id="header"><img src="images/header_top.png" width="916" height="39" />
           <img src="images/header_logo.jpg" width="916" height="95" />
          <img src="images/header_image.jpg" width="916" height="266" />
           <img src="images/header_bar.jpg" width="916" height="9" />
    </div>
          <div id="menuContainer">
         <!-- NAVIGATION -->
                    <ul>
                    <li>
                    <img src="images/fold_left_top.png" width="22" height="35" /><img src="images/menu_left.jpg" width="197" height="35" />
                    </li>
                    <li>
                        <div class="menu n1"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/home_over.jpg',1)"><img src="images/home_up.jpg" alt="home" name="home" width="66" height="35" border="0" id="home" /></a></div></li>
                    <li>
                      <div class="menu n2"><a href="mission.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Our Mission','','images/our_mission_over.jpg',1)"><img src="images/our_mission_up.jpg" alt="Our Mission" name="Our Mission" width="124" height="35" border="0" id="Our Mission" /></a></div></li>
                    <li>
                        <div class="menu n3"><a href="products.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/products_over.jpg',1)"><img src="images/products_up.jpg" alt="products" name="Products" width="98" height="35" border="0" id="Products" /></a></div></li>
                    <li>
                        <div class="menu n4"><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('News','','images/news_over.jpg',1)"><img src="images/news_up.jpg" alt="News" name="News" width="77" height="35" border="0" id="News" /></a></div></li>
                    <li>
                        <div class="menu n5"><a href="order.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Order','','images/order_over.jpg',1)"><img src="images/order_up.jpg" alt="Order" name="Order" width="77" height="35" border="0" id="Order" /></a></div></li>
                    <li>
                      <div class="menu n6"><a href="contact.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','images/contact_over.jpg',1)"><img src="images/contact_up.jpg" alt="Contact" name="Contact" width="80" height="35" border="0" id="Contact" /></a></div></li>
                    <li>
                      <img src="images/menu_right.jpg" width="197" height="35" /><img src="images/fold_right_top.png" width="22" height="35" /> </li>
                    </ul>
          </div>
           <div id="header_bottom"><img src="images/fold_left_bottom.png" width="22" height="38" /><img src="images/header_bottom.jpg" width="916" height="38" /><img src="images/fold_right_bottom.png" width="22" height="38" />
        </div>
         <div id="bodycopy">
           <div id="sector">
          <img src="images/home/sector_top.png" width="869" height="341" alt="sector frames" />
          </div>
           <p> </p>
           <div id="oag">
          <img src="images/home/oag_join.png" width="574" height="281" alt="save with oag" />
          <p> </p>
          <img src="images/home/bottom.png" width="574" height="132" />
          </div>
          <div id="small_col">
          <img src="images/home/optimize_small.png" width="279" height="132" />
          <p> </p>
          <img src="images/home/intuition_small.png" width="279" height="132" />
          <p> </p>
          <img src="images/home/intuition_small.png" width="279" height="132" />
          </div>
         </div>
        <div id="footer"><img src="images/footer.png" width="916" height="52" />
      </div>
    </div>
    </body>
    </html>body {
         margin: 0px;
         background-image: url(images/background_fade_04.jpg);
         background-repeat: repeat-x;
         background-position: top;
         background-color: #DCDCDC;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 13px;
    #box1 {
         background-image: url(images/bodycopybox_01.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 54px;
         width: 869px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    #box2 {
         background-image: url(images/bodycopybox_02.png);
         background-repeat: repeat-y;
         background-position: left;
         width: 869px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    .bodycopybox {
         padding-right: 40px;
         padding-left: 40px;
    .bodycopyboxheader {
         padding-right: 40px;
         padding-left: 40px;
         font-weight: bolder;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 14px;
         color: #21368b;
    #box3 {
         background-image: url(images/bodycopybox_04.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 31px;
         width: 869px;
         margin:0 auto;
    #box4 {
         background-image: url(images/bodycopybox_03.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 31px;
         width: 869px;
         margin:0 auto;
    p {
         margin: 0px;
    #header_bottom {
         width: 960px;
         margin:0 auto;
    #CONTAINER {
         width: 100%;
         margin:0 auto;
    #header {
         width: 916px;
         margin:0 auto;
    #menuContainer {
         width: 960px;
         margin:0 auto;
         height: 35px;
    #menuContainer ul{
         list-style:none;
         height:35px;
         margin:0;
         padding:0;
    #menuContainer li{
         float:left;
         height:35px;
         margin:0;
         padding:0;
    #menuContainer li a{
         text-align:center;
         float:none;
         height:35px;
         margin:0;
         padding:0;
    div.menu{position:relative;}
    .n1{
         width:66px;
         float:left;
         display:inline-block;
         clear:both;
    .n2{
         width:124px;
         float:left;
         display:inline-block;
         clear:both;
    .n3{
         width:98px;
         float:left;
         display:inline-block;
         clear:both;
    .n4{
         width:77px;
         float:left;
         display:inline-block;
         clear:both;
    .n5{
         width:77px;
         float:left;
         display:inline-block;
         clear:both;
    .n6 {
         width:80px;
         float:left;
         display:inline-block;
         clear:both;
    #bodycopy {
         background-color: #FFFFFF;
         width: 916px;
         padding: 0px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    #footer {
         width: 916px;
         margin:0 auto;
         padding: 0px;

    Try this:
    #CONTAINER {
    width: 900px;
    margin:0 auto;
    background: #FFF;
    overflow:hidden; /**float containment**/
    /**There is no need for #sector division, you can delete it.**/
    #oag {
    width: 574px;
    float: left;
    margin-left: 25px;
    #small_col {
    width: 279px;
    float: right;
    margin-right: 25px;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Trouble with Toshiba built-in webcam: "unable to enumerate USB device"

    I am running archlinux on a Toshiba Satellite L70-B-12H laptop, and having troubles with the Webcam. *Once in a while*, everything goes well and I get
    # lsusb
    Bus 004 Device 002: ID 8087:8000 Intel Corp.
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 004: ID 04f2:b448 Chicony Electronics Co., Ltd
    Bus 003 Device 003: ID 8087:07dc Intel Corp.
    Bus 003 Device 002: ID 8087:8008 Intel Corp.
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    # dmesg
    [ 3433.456115] usb 3-1.3: new high-speed USB device number 4 using ehci-pci
    [ 3433.781119] media: Linux media interface: v0.10
    [ 3433.809842] Linux video capture interface: v2.00
    [ 3433.826889] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
    [ 3433.835893] input: TOSHIBA Web Camera - HD as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/input/input15
    [ 3433.835976] usbcore: registered new interface driver uvcvideo
    [ 3433.835977] USB Video Class driver (1.1.1)
    Unfortunately, *most of the time* the camera seems invisible to my system, and I get
    # lsusb
    Bus 004 Device 002: ID 8087:8000 Intel Corp.
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 003: ID 8087:07dc Intel Corp.
    Bus 003 Device 002: ID 8087:8008 Intel Corp.
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    (note the missing "04f2:b448 Chicony Electronics Co., Ltd" device), and
    # dmesg
    [ 480.104252] usb 3-1.3: new full-speed USB device number 4 using ehci-pci
    [ 480.171097] usb 3-1.3: device descriptor read/64, error -32
    [ 480.341235] usb 3-1.3: device descriptor read/64, error -32
    [ 480.511375] usb 3-1.3: new full-speed USB device number 5 using ehci-pci
    [ 480.578007] usb 3-1.3: device descriptor read/64, error -32
    [ 480.748151] usb 3-1.3: device descriptor read/64, error -32
    [ 480.918282] usb 3-1.3: new full-speed USB device number 6 using ehci-pci
    [ 481.325196] usb 3-1.3: device not accepting address 6, error -32
    [ 481.392091] usb 3-1.3: new full-speed USB device number 7 using ehci-pci
    [ 481.798926] usb 3-1.3: device not accepting address 7, error -32
    [ 481.799166] hub 3-1:1.0: unable to enumerate USB device on port 3
    Searching on the web, most results I found lead to this page, where it is said that the problem is due to badly tuned overcurrent protection, and advocated that unplugging and switching off the computer for a little while gets things back into normal. This does not really work for me; the problem seems to occur more randomly, unfortunately with high probability (my camera is available after less than one boot out of ten).
    I tried to ensure that the ehci-hcd module is loaded at boot with the ignore-oc option (with a file in /etc/module-load.d/), to no avail.
    I also wrote a script which alternatively removes and reloads the ehci-pci driver until my device is found in lsusb. It is sometimes helpful, but usually not. And even when my device is found that way, it can only be used for a while before disappearing again.
    Anyway, such a hack is unacceptable... So, my questions are:
    is it indeed related to overcurrent protection ?
    is there anything else I can try ?
    should I file somewhere an other of the numerous bug reports about "unable to enumerate USB device" already existing ?
    If of any importance, I am running linux 3.15.7, because at the time I installed my system, I couldn't get the hybrid graphic card Intel/AMD working under 3.16.
    Last edited by $nake (2014-10-18 16:29:06)

    uname -a
    Linux libra 3.9.4-1-ARCH #1 SMP PREEMPT Sat May 25 16:14:55 CEST 2013 x86_64 GNU/Linux
    pacman -Qi linux
    Name : linux
    Version : 3.9.4-1
    Description : The linux kernel and modules
    Architecture : x86_64
    URL : http://www.kernel.org/
    Licences : GPL2
    Groups : base
    Provides : kernel26=3.9.4
    Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
    Optional Deps : crda: to set the correct wireless channels of your country
    Required By : nvidia
    Optional For : None
    Conflicts With : kernel26
    Replaces : kernel26
    Installed Size : 65562.00 KiB
    Packager : Tobias Powalowski <[email protected]>
    Build Date : Sat 25 May 2013 16:28:17 CEST
    Install Date : Sun 02 Jun 2013 15:30:35 CEST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature

  • Problem with wpa and hidden ssid

    hi,
    I have a powerbook g4 (1,67ghz). i am having trouble connecting to a netgear router mr814 v3 if i use wpa and hidden ssid, i get a message, that the router would not support wpa!
    there is no problem with wep and hidden ssid or wpa with no hidden ssid.
    is also have no problems with wpa and hidden ssid with an ibook.
    the problems occur only with the powerbook with os x 10.3.9 as well as 10.4.2. even after the recent airport update, no change.
    thanks for the help,
    ben

    I would use WPA and broadcast your SSID.
    It use to be useful, but closing your Airport or wireless network (sometimes referred to as not broadcasting your SSID) is really no longer a real option when it comes to wireless security.
    Unfortunately "Closed" networks, MAC access control lists, and reduction in transmission power are all more "feel good" security rather than real security. All these various approaches are dated and mistakenly lead to overconfidence.
    WPA is your friend if you value wireless security.
    My recommendation is not to worry about broadcasting your SSID but use WPA. This will be more secure than a closed WEP encrypted network. Closing your network makes it very difficult for neighbouring networks to see which channels are free thus causing potential interference problems.
    Another thing to consider is that a closed network is still broadcasting and therefore is detectable (regardless of whether it is broadcasting a SSID). If someone was determined to hack into your network, then not broadcasting your SSID and MAC address access control is not going to stop them.
    WPA is virtually uncrackable (only really vunerable to a dictionary attack if a real word is used as a password) and therefore will stop the casual user and the determined hacker.

  • Trouble with "body" images lining up at the top

    Hi, I am having troubles with the #body style in my web page. I have inserted a table into the #body area and the the body editable region will not line up on the top with the sideBar editable region when I add text and apply my css to it. Can you look at the code and let me know what I am doing wrong? Thanks!
    <!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" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Ram Restaurant &amp; Brewery</title>
    <!-- TemplateEndEditable -->
    <meta name="keywords" content="Ram Restaurant, The Ram restaurant, Ram Restaurant and brewpub, Ram Restaurant Group, Ram International" />
    <meta name="description" content="Welcome to The Ram!  Your stomach wants food.  Your tastebuds want beer.  Satisfy them both at the Ram Restaurant & Brewery." />
    <style type="text/css">
    <!--
    body {
    background-color: #333;
    margin: 0 auto;
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px;
    .navbar_center {
    text-align: center;
    -->
    </style>
    <link href="/RamWebsite_NEW/cssstyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    color: #F00;
    margin: 0px;
    padding: 0px;
    a:link {
    color: #666;
    text-decoration: none;
    h1 {
    font-size: 36px;
    color: #000;
    h2 {
    font-size: 24px;
    color: #000;
    h3 {
    font-size: 18px;
    color: #000;
    h4 {
    font-size: 12px;
    color: #000;
    a:visited {
    text-decoration: none;
    color: #000;
    a:hover {
    text-decoration: underline;
    a:active {
    text-decoration: none;
    -->
    </style>
    <!--[if lte IE 8]>
    <style type="text/css">
    ul.MenuBarHorizontalul  li ul li ul li.MenuBarHorizontal, ul.MenuBarHorizontal li ul li.MenuBarHorizontal {
    width:100px;
    height:23px;
    </style>
    <![endif]-->
    <script src="/RamWebsite_NEW/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <link href="/RamWebsite_NEW/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body link="#000000" topmargin="0" onload="MM_preloadImages('/RamWebsite_NEW/images/Menu_rollover.jpg','/RamWebsite_NEW/imag es/EventsLink2_rollover.jpg','/RamWebsite_NEW/images/GiftCards_rollover.jpg','/RamWebsite_ NEW/images/BeerLink2_rollover.jpg')">
    <div id="wrapper">
    <div id="header">
        <table width="900" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="200" height="36" rowspan="2" align="center" valign="middle" scope="col"><a href="http://www.theram.com"><img src="/RamWebsite_NEW/images/Ram-Logo-red.gif" alt="Ram Restaurant &amp; Brewery Logo" width="175" height="69" border="0" /></a></th>
            <th width="350" height="50" align="center" valign="middle" scope="col"> </th>
            <th width="200" align="center" valign="middle" scope="col"> </th>
            <th width="150" align="right" valign="middle" scope="col"><a href="http://www.facebook.com/home.php?#!/theramrestaurant?ref=ts"><img src="/RamWebsite_NEW/images/FacebookBox.gif" alt="Becoma a Facebook Fan!" width="40" height="40" border="0" /></a><a href="http://www.twitter.com/theram"><img src="/RamWebsite_NEW/images/TwitterBox.gif" alt="Follow Us on Twitter" width="40" height="40" hspace="30" border="0" /></a></th>
          </tr>
          <tr>
            <th colspan="3" align="right" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
              <li><a class="MenuBarItemSubmenu" href="#">MENU</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">Idaho</a>
                    <ul>
                      <li><a href="/menus/idaho/boise.shtml">Boise</a></li>
                      <li><a href="/menus/idaho/meridian.shtml">Meridian</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Illinois</a>
                    <ul>
                      <li><a href="/menus/illinois/rosemont.shtml">Rosemont</a></li>
                      <li><a href="/menus/illinois/schaumburg.shtml">Schaumburg</a></li>
                      <li><a href="/menus/illinois/wheeling.shtml">Wheeling</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Indiana</a>
                    <ul>
                      <li><a href="/menus/indiana/fishers.shtml">Fishers</a></li>
                      <li><a href="/menus/indiana/indianapolis.shtml">Indianapolis</a></li>
    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Oregon</a>
                    <ul>
                      <li><a href="/menus/oregon/clackamas.shtml">Clackamas</a></li>
                      <li><a href="/menus/oregon/salem.shtml">Salem</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Washington</a>
                    <ul>
                      <li><a href="/menus/washington/kent.shtml">Kent</a></li>
                      <li><a href="/menus/washington/lacey.shtml">Lacey</a></li>
                      <li><a href="/menus/washington/lakewood.shtml">Lakewood</a></li>
                      <li><a href="/menus/washington/puyallup.shtml">Puyallup South Hill Mall</a></li>
                      <li><a href="/menus/washington/puyallup2.shtml">Puyallup Sunrise Village</a></li>
                      <li><a href="/menus/washington/northgate.shtml">Seattle Northgate</a></li>
                      <li><a href="/menus/washington/seattle.shtml">Seattle University Village</a></li>
                      <li><a href="/menus/washington/tacoma.shtml">Tacoma</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">LOCATIONS</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">Idaho</a>
                    <ul>
                      <li><a href="/idaho/boiseNew.html">Boise</a></li>
                      <li><a href="/idaho/meridianNew.html">Meridian</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Illinois</a>
                    <ul>
                      <li><a href="/illinois/rosemontNew.html">Rosemont</a></li>
                      <li><a href="/illinois/schaumburgNew.html">Schaumburg</a></li>
                      <li><a href="/illinois/wheelingNew.html">Wheeling</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Indiana</a>
                    <ul>
                      <li><a href="/indiana/fishersNew.html">Fishers</a></li>
                      <li><a href="/indiana/indianapolisNew.html">Indianapolis</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Oregon</a>
                    <ul>
                      <li><a href="/oregon/clackamasNew.html">Clackamas</a></li>
                      <li><a href="/oregon/salemNew.html">Salem</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Washington</a>
                    <ul>
                      <li><a href="/washington/kentNew.html">Kent</a></li>
                      <li><a href="/washington/laceyNew.html">Lacey</a></li>
                      <li><a href="/washington/lakewoodNew.html">Lakewood</a></li>
                      <li><a href="/washington/puyallup-southHill-NEW.html">Puyallup South Hill Mall</a></li>
                      <li><a href="/washington/puyallup-Sunrise-New.html">Puyallup Sunrise Village</a></li>
                      <li><a href="/washington/northgateNew.html">Seattle Northgate</a></li>
                      <li><a href="/washington/seattleNew.html">Seattle University Village</a></li>
                      <li><a href="/washington/tacomaNew.html">Tacoma</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a class="MenuBarItemSubmenu" href="#">PROMOS</a>
                <ul>
                  <li><a href="/drink_specials.shtml">Drink Promos</a>              </li>
                  <li><a href="/food_specials.shtml">Food Promos</a></li>
    </ul>
              </li>
              <li><a href="/news.shtml">RAM NEWS</a></li>
              <li><a href="/about.shtml">ABOUT US</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">CONTACT US</a>
                <ul>
                  <li><a href="/contact.shtml">General Info</a></li>
                  <li><a href="/employment.shtml">Careers</a></li>
                  <li><a href="/comments.shtml">Comments</a></li>
                </ul>
              </li>
              <li><a href="/banquets.shtml" class="MenuBarItemSubmenu">BANQUETS</a>
                <ul>
                  <li><a href="/banquets.shtml">Banquets</a></li>
                  <li><a href="/banquets-catering.shtml">Off-Site Catering</a></li>
                </ul>
              </li>
            </ul></th>
          </tr>
          <tr>
            <th colspan="4" align="center" valign="middle" scope="col"><img src="/RamWebsite_NEW/images/redbar.gif" width="900" height="11" /></th>
          </tr>
        </table>
    </div>
    <div id="body">
      <table width="900" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <th height="300" valign="top" scope="col"><table width="900" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th width="225" align="center" valign="top" bgcolor="#000000" scope="col"><!-- TemplateBeginEditable name="sideBar" -->adfadsfds<!-- TemplateEndEditable --></th>
              <th width="675" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><!-- TemplateBeginEditable name="body" -->
                <p><img src="/images/aboutus2.jpg" width="675" height="300" /></p>
                <p class="foodNameDesc">adfadslkj</p>
              <!-- TemplateEndEditable --></th>
            </tr>
          </table></th>
        </tr>
      </table>
    </div>
    <div id="bottomMenuSubPg">
      <table width="900" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Menu','','/RamWebsite_NEW/images/Menu_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/Menu.jpg" alt="Menu" name="Menu" width="212" height="125" hspace="6" border="0" id="Menu" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Big Horn Beer','','/RamWebsite_NEW/images/BeerLink2_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/BeerLink2.jpg" alt="Big Horn Beer" name="Big Horn Beer" width="212" height="125" hspace="6" border="0" id="Big Horn Beer" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Events','','/RamWebsite_NEW/images/EventsLink2_rollover.jpg',1 )"><img src="/RamWebsite_NEW/images/EventsLink2.jpg" alt="Events at the Ram" name="Events" width="212" height="125" hspace="6" border="0" id="Events" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gift Cards','','/RamWebsite_NEW/images/GiftCards_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/GiftCards.jpg" alt="Gift Cards" name="Gift Cards" width="212" height="125" hspace="6" border="0" id="Gift Cards" /></a></th>
        </tr>
      </table>
    </div>
    <div id="bottommenu2"></div>
    <map name="Map" id="Map">
      <area shape="poly" coords="16,103" href="#" />
      <area shape="poly" coords="49,71,102,58,158,73,191,113,180,141,151,161,109,169,65,162,31,141,18,112" href="http://theram.fbmta.com/members/UpdateProfile.aspx?Action=Subscribe&amp;InputSource=W" target="_blank" />
    </map>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"/RamWebsite_NEW/SpryAssets/SpryMenuBarDownHover.gif", imgRight:"/RamWebsite_NEW/SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </div>
    </body>
    </html>

    You have your image in the 'body editable region' wrapped in <p></p> tags (paragraph tags). <p> tags have padding and margin set on them by default.
    <p><img src="/images/aboutus2.jpg" width="675" height="300" /></p>
    You can either just remove the <p></p> tags or you can zero out the padding and margin:
    p {
    padding: 0;
    margin: 0;
    Unfortuanately the above will target every paragraph on your page which might not be desirable so I would just remove the <p> tags as it is not necessary to wrap an image in them.
    If you do want to keep the <p> tags then use some inline css to specifically remove the padding and margin on that particular one:
    <p style="padding: 0; margin: 0;"><img src="/images/aboutus2.jpg" width="675" height="300" /></p>

  • HT201496 Hai there. I am facing trouble with my garageband apple loops.i don't see apple loops in my browser since quite some time i don't know what has happened to it and how it happened . i just wanted to learn some of basic things about music.can you h

    Hai there. i am having a trouble with the garage band apple loops to get into my macbook pro. . i had it some time back and i dont know where it has gone and how it get it back. is there anyone to help me to get the loops back into the browser . i will be grateful to you if some one can help me with it/ thanks.

    First check, if you do not accidentally have hidden or filtered your loops:
    Uncheck the "Filter for more relevant results" option in the Audio tab of the GarageBand Preferences.
    And the drop down menu on top of the Loop Browser should be set to "Loops", not to some Jam Pack or other collection.
    If you still don't see any loops, check if you have set your project to a special signature, like 9/8, for that no standard loops do exist.
    Then check, if any loops actually are installed in your system Library: Depending on your GarageBand version you should find the standard loops in the Audio folder of your system Library (Application Support > GarageBand):
        Your System Drive > Library > Audio > Apple Loops
    If the Loops are installed, but GarageBand does not show them, you need to rebuild your Apple Loops Index: See the FAQ for how to do it:
    Re-Index GarageBand's Loops
    This requires two steps:
    erase the old Apple Loops Index by deleting everything in
    Your System Drive > Library > Audio > Apple Loops Index
    and then rebuilding the Loops Index by dragging the folder containing all of your loops onto the Loop Browser in GarageBand.
    If no Loops are installed in your Library, you will have to restore them from your Backup.
    Regards
    Léonie

Maybe you are looking for