Spry, horizontal menu, need all menu buttons on one line

hi in DW CS4I would like to understand why the spry menu that I have doesn't line up on a straight line horizontally. sometimes it lines up correctly in DW, but when I either go to live view or publish it, one of the menu buttons goes on the next line. If they are all on the same line, sometimes the menu does not go to the end of the other side of the div tag that it is inside of. If you have an article or any tips that you may have, please do share as i am going insane. I guess I should stick to CSS, but I often have the same problems as well.
Thank you.
I currently do not have  URL for this website.
Please see the code attached to this post.

Simply, your menu list items are too wide (altogether) to fit on the same line.
I see that you have defined your div#container as 1000px, and your div#nav_bar as, well, it will default to 1000px. Then you have set your MenuBar to 80% of that width, and your list items as 16.8% of that.
So far, everything is flexible.
When you get down to ul.MenuBarHorizontal a, however, you have set padding: padding: 0.5em 0.75em; If you change your padding units to percentages, you should be able to find acceptable measures that will allow your list items to remain on one line.
Keep in mind that, as the following references notes, in some browsers padding is measured in addition to the stated width of your element:
http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
So make sure ALL your percentages add to 100%...including the horizontal padding (for both sides!) and the width (don't add in the vertical padding...that could be left as is). Actually, add them up to slightly less than 100% for comfort. If you get a gap at the end of the menubar, center the menubar and apply a background to the containing div.
Beth

Similar Messages

  • Exporting PDF document to Excel.  When I export a PDF document to Excel containing lists of  people the Excel page shows all the names on  one line several inches deep instead of on separate lines which makes editing impossible.  What am I doing wrong?

    Exporting PDF document to Excel.  When I export a PDF document to Excel containing lists of  people the Excel page shows all the names on  one line several inches deep instead of on separate lines which makes editing impossible.  What am I doing wrong?

    Murray is right. Padding (and margins) is added to the width. However, when using percentages, you should never use figures that add up to exactly 100%.
    Browsers need to convert the percentages to pixels. Because pixels must be whole numbers, some percentages are rounded up, which results in the final element dropping down below its neighbours. With percentages, it's much safer to use values that add up to 98% (99% often works, but 98% is safer).

  • Writing all the rows in one line but cannot write more than 32767 character

    Dear All,
    i am trying to write the column of a table to a file with the '||' seperators. i want to write all the rows in one line of the file.
    for E.g
    Column1 Column2
    A B
    C D
    in the file the output needs to be gone like
    A||B||C||D
    but after 32767 character it gives a write error. could please someone let me know what is wrong with my function below or how can i write more than 32767 character in one one.
    CREATE OR REPLACE FUNCTION CORP_IB_DUMP_FILE (
    P_QUERY IN VARCHAR2,
    P_SEPARATOR IN VARCHAR2 DEFAULT '',
    P_DIR IN VARCHAR2,
    P_FILENAME IN VARCHAR2
    RETURN NUMBER AUTHID CURRENT_USER
    IS
    L_OUTPUT UTL_FILE.FILE_TYPE;
    L_THECURSOR INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_THECURSOR2 INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_COLUMNVALUE VARCHAR2 (4000);
    L_STATUS INTEGER;
    L_COLCNT NUMBER DEFAULT 0;
    L_SEPARATOR VARCHAR2 (10) DEFAULT '';
    L_CNT NUMBER DEFAULT 0;
    BEGIN
    L_OUTPUT := UTL_FILE.FOPEN (P_DIR, P_FILENAME, 'w', 32767);
    DBMS_SQL.PARSE (L_THECURSOR, P_QUERY, DBMS_SQL.NATIVE);
    FOR I IN 1 .. 255
    LOOP
    BEGIN
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, I, L_COLUMNVALUE, 4000);
    L_COLCNT := I;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF (SQLCODE = -1007)
    THEN
    EXIT;
    ELSE
    RAISE;
    END IF;
    END;
    END LOOP;
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, 1, L_COLUMNVALUE, 4000);
    L_STATUS := DBMS_SQL.EXECUTE (L_THECURSOR);
    LOOP
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (L_THECURSOR) <= 0);
    L_SEPARATOR := '';
    FOR I IN 1 .. L_COLCNT
    LOOP
    DBMS_SQL.COLUMN_VALUE (L_THECURSOR, I, L_COLUMNVALUE);
    UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
    L_SEPARATOR := P_SEPARATOR;
    UTL_FILE.FFLUSH (L_OUTPUT);
    END LOOP;
    UTL_FILE.FFLUSH (L_OUTPUT);
    L_CNT := L_CNT + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR (L_THECURSOR);
    UTL_FILE.FCLOSE (L_OUTPUT);
    RETURN L_CNT;
    END CORP_IB_DUMP_FILE;
    /

    user577300 wrote:
    Dear All,
    i am trying to write the column of a table to a file with the '||' seperators. i want to write all the rows in one line of the file.
    for E.g
    Column1 Column2
    A B
    C D
    in the file the output needs to be gone like
    A||B||C||D
    but after 32767 character it gives a write error. could please someone let me know what is wrong with my function below or how can i write more than 32767 character in one one.
    CREATE OR REPLACE FUNCTION CORP_IB_DUMP_FILE (
    P_QUERY IN VARCHAR2,
    P_SEPARATOR IN VARCHAR2 DEFAULT '',
    P_DIR IN VARCHAR2,
    P_FILENAME IN VARCHAR2
    RETURN NUMBER AUTHID CURRENT_USER
    IS
    L_OUTPUT UTL_FILE.FILE_TYPE;
    L_THECURSOR INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_THECURSOR2 INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_COLUMNVALUE VARCHAR2 (4000);
    L_STATUS INTEGER;
    L_COLCNT NUMBER DEFAULT 0;
    L_SEPARATOR VARCHAR2 (10) DEFAULT '';
    L_CNT NUMBER DEFAULT 0;
    BEGIN
    L_OUTPUT := UTL_FILE.FOPEN (P_DIR, P_FILENAME, 'w', 32767);
    DBMS_SQL.PARSE (L_THECURSOR, P_QUERY, DBMS_SQL.NATIVE);
    FOR I IN 1 .. 255
    LOOP
    BEGIN
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, I, L_COLUMNVALUE, 4000);
    L_COLCNT := I;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF (SQLCODE = -1007)
    THEN
    EXIT;
    ELSE
    RAISE;
    END IF;
    END;
    END LOOP;
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, 1, L_COLUMNVALUE, 4000);
    L_STATUS := DBMS_SQL.EXECUTE (L_THECURSOR);
    LOOP
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (L_THECURSOR) <= 0);
    L_SEPARATOR := '';
    FOR I IN 1 .. L_COLCNT
    LOOP
    DBMS_SQL.COLUMN_VALUE (L_THECURSOR, I, L_COLUMNVALUE);
    UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
    L_SEPARATOR := P_SEPARATOR;
    UTL_FILE.FFLUSH (L_OUTPUT);
    END LOOP;
    UTL_FILE.FFLUSH (L_OUTPUT);
    L_CNT := L_CNT + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR (L_THECURSOR);
    UTL_FILE.FCLOSE (L_OUTPUT);
    RETURN L_CNT;
    END CORP_IB_DUMP_FILE;
    /Check your logic very carefully. You are using UTL_FILE.PUT() which should not automatically put end-of-line characters i n your file but you are reassigning l_seperator with p_seprator after the first time.
    What value are you pasising in as p_seperator?
    UTL_FILE.PUT() should allow you to write a string of bytes without newlines as long as its arguments are less than 32K, and you can control when the newlines get written. If your arguments are > 32K can you split them up without writing the newlines until you need to do so? Try something like (untested)
    --         UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
               UTL_FILE.PUT (L_OUTPUT, substr(L_SEPARATOR || L_COLUMNVALUE,1,32767));
               UTL_FILE.PUT (L_OUTPUT, substr(L_SEPARATOR || L_COLUMNVALUE),32767*2-1,32767));Edited by: riedelme on Sep 10, 2012 6:11 AM

  • Using "All Calls" button for multiple lines on one phone

    I have several executive assistants that have multiple lines for executives that they answer calls for. We have added the "All Calls" button so they don't accidentally make outbound call using one of the executives lines. When the All Calls button is selected, all outbound calls are made using line 1. However, when a call comes in on one of the executives lines it doesn't show the name and number of the calling party unless you select the line.
    How can we make it so the name and number show on the inbound call while having the "All Calls" button selected?

    Little confused still by this, just want to make sure I'm clear.  My current set up with Asterisk is you make users which are extensions, and then enable voicemail on them, so for example:
    Extension 300 - Voicemail enabled
    Extension 301 - Voicemail enabled
    Extension 302 - No Voicemail
    Etc.  And it's there that you set the username/password for each extension.  So on a SIP phone, under Line 1 registration I'd have it register Extension 300, and line 2 could register Extension 301 and so on.  If someone calls extension 300, line 1 rings and if no answer goes to the voicemail box for 300.  If someone calls Extension 301, then line 2 on the phone rings and if no answer goes to voicemail for Line 2.
    I do understand what you mean how each phone is it's own "User", and so the way I have it set up now is my 7970 is my user, and it has Extension 300 with voicemail assigned to Button 1 which works fine.
    I just simply need a way so that Extension 301 shows up on Button 2 on the phone, so that I can select that line to make an outbound call (with a different caller ID), and if someone calls Extension 301, then that line on my phone with also ring, BUT will go to the voicemail box for 301.  I don't need my 7970 to light up that there's a vm or anything like that, it just needs to capture the vm.
    If I make a floating extension or extension mobility for a new user with extension 301 and enable voicemail, then calling 301 does go to its voicemail box, but I'm just not sure how I would have that show up on my 7970 as line 2 and ring on there and make outbound calls on there as well.  Thank you so much!

  • Selection options element and button in one line

    Hello,
    I would like to ask or it is posible to create such screen:
    SELECTION-SCREEN BEGIN OF BLOCK area1
                              WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-050.
    SELECTION-SCREEN POSITION 28.
    SELECT-OPTIONS: s_chcoun FOR vbak-vbeln.
    SELECTION-SCREEN POSITION 79.
    SELECTION-SCREEN PUSHBUTTON (4) c_icon USER-COMMAND show_info.
    SELECTION-SCREEN END OF LINE.
    SELECT-OPTIONS:  s_chcou FOR vbak-aufnr.
    SELECTION-SCREEN END OF BLOCK area1.
    now selection and button-icon is in one line, but selection element position is different against others.
    O it is posible to get selection option like a default and button at the end of selection line. I think main problem is max position 79.
    Thank you

    Hi,
    Try Begin of line and position for all the selection screen elements.
    For example:
    SELECTION-SCREEN BEGIN OF BLOCK area1
    WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-050.
    SELECTION-SCREEN POSITION 28.
    SELECT-OPTIONS: s_chcoun FOR vbak-vbeln.
    SELECTION-SCREEN POSITION 79.
    SELECTION-SCREEN PUSHBUTTON (4) c_icon USER-COMMAND show_info.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 28.
    SELECT-OPTIONS: s_chcou FOR vbak-aufnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK area1.

  • Mail adapter, All tags are in one line in the  output message

    Hi PI gurus,
    I'm facing a problem in my scenario SRM to JMS, my output mail is not suitable for my case since i don't get each tag per line, iu2019m getting the whole xml in one line
    Edited by: hakimos on Jul 13, 2010 2:45 PM

    > I'm facing a problem in my scenario SRM to JMS, my output mail is not suitable for my case since i don't get each tag per line, iu2019m getting the whole xml in one line
    XML generated by PI does not have any whitespaces, so it is aleays in one line.
    That should not be an issue at all.

  • How can I get my radio buttons on one line?

    I have tried to put two radio buttons in one text cell in a table, but I can´t get them side by side. They stack on top on each other, in a vertical list, no matter what I do.
    Sorry for the stupid qustion, but this is my first attempt in LiveCycle Designer.

    Thanks for your time. I found the soloution. I changed the flow direction in the suborm from "top to bottom" to "Western text"

  • "Update all apps" button - only one app is downloaded!

    Every time if I click on "Update all apps" to update more than one app, iTunes is downloading one app only. I have to click a second time on the button to download the rest.

    I have just updated iTunes my credit was there before update and now I can't download updates for Apps I have alreaady purchased, receive an error message to the effect 'due to a temporary problem with accounts......use an alternative payment' I don't need to pay for the update and am afraid to Redeem another gift voucher in case it goes missing too I was in MAS this morning and my credit was definitetly there but since the update it has vanished from MAS and iTunes
    Edit: I can update my apps via my iPhone without the issues iTunes has atm
    Message was edited by: minib

  • Two iPhones, two computers - need all data transferred to one iPhone

    I was using a 2G iPhone and was syncing it with my desktop (Mac) on a regular basis. I was traveling for a month and sorta synced it with my laptop (also a Mac), though I cannot remember whether or not the contacts actually synced - I want to say that they did not, in case it matters. I did purchase and download a couple of apps while traveling, though.
    One month later, I decided to splurge for the 3GS (woo hoo!). I now need to sync the 3GS with my desktop and copy the apps off of my 2G so I'll have it all in one place.
    I have resynced the 2G with my desktop, but the apps didn't "upload" (not that I expected them to).
    I'm sure I'm not the only one out there with multiple computers & multiple iPhones - anyone have any advice for me?
    Thanks,
    roxpat

    If you purchased music or apps on the iPhone then the file>transfer purchases from iPhone will copy them to the new computer and should prompt you to authorize the new computer.
    If you purchased music or apps on the computer then you will need to copy those to the new computer's iTunes library. This is easy if they are on the same network with Home Sharing within iTunes. iTunes 9: Understanding Home Sharing http://support.apple.com/kb/HT3819
    Once all the music and/or apps are on the new computer then make sure you have a good backup on the new computer. You can control-click on the iPhone under devices in iTunes and select backup. Your previous iPhone should contain all your SMS history, call history, photos, contacts, calendars, ect. Now when you connect the new iPhone 3Gs it will prompt if you want to setup as a new iPhone or restore from backup. Choose restore from backup.
    iPhone: Transferring information from your current iPhone to a new iPhone
    http://support.apple.com/kb/HT2109

  • I need to print in only one line

    I don't know how i can print in the same line.
    I use the System.out.println() and the System.out.print(), but now i need print a line in the same position.
    thanks

    You mean you want to overwrite the existing line ? Presumably not leaving any of the text previously printed ?
    That's specific to the platform, and as such, Java doesn't directly support it. You want a curses library. Something like this will probably do:
    http://sourceforge.net/projects/javacurses/
    Alternatively, if you don't care if your code is portable and you know the details of the console in which the output will appear, you can insert control codes directly into your output. In point of fact, that will be adequate for quite a lot of platforms, since most common systems use a subset of the ANSI/VT100 control codes - which can be found here: http://www.fh-jena.de/~gmueller/Kurs_halle/esc_vt100.html
    Dave.

  • When I try to print a web page, all I get is one line across top of page.

    When I try to print a web page in Firefox, the only thing that prints is a single line across the very top of the page. I can sometimes highlight and print my selection, but now that has stopped working.

    I did not have the HP printer software for Mac OSX installed properly. Once installed the problem went away.

  • How to hide all button except one in a PageButtonBar

    Hello,
    I am newbie to OAF.
    And i am trying to do is, when i would clink on a submit button of my Update page(page is using Train. All the buttons are in a TrainFooter Region, whose lay out is pageButtonBar and Submit button only visible when i am on the last page of train, i.e. Summary Page) then all the button except one (Back to Search Page) will get hide.
    Pls let me know where i need to work to do this, i try to do it in PR but no change get reflect.
    Thanks,
    Udit

    Hello Abdul,
    Yes, i want only "Back to Search" Button on last page when i press "Submit" Button.....but before pressing submit...all button should be there on Summary(last) page except "Back to Search" Button....and when i press Submit Button then only page buttons get hide without any change in whole pageLayout.
    Here is CO of my TrainFooter===========
    PR====
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OATrainBean trainBean=
    (OATrainBean)pageContext.getPageLayoutBean().getLocation();
    trainBean.prepareForRendering(pageContext);
    int step = trainBean.getSelectedTrainStepRenderedIndex();
    if(step + 1 != trainBean.getNumberOfRenderedTrainSteps()){
    OASubmitButtonBean submitButton =
    (OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");
    submitButton.setRendered(false);
    PFR==========
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("Cancel") != null)
    pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/ak/Emptry/webui/EmpTrySearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    if(pageContext.getParameter("Submit") != null){
    am.getOADBTransaction().commit();
    throw new OAException ("Current Record is Updated!!", OAException.CONFIRMATION);
    Pls let me know in any other confirmation.
    Thanks,
    Udit

  • How to uncheck all radio buttons in WHEN-NEW-FORM-INSTANCE trigger

    Hi,
    I have one radio group(RDBTNGRP) having three radio buttons (RDBTN1,RDBTN2,RDBTN3) in a control block, i want to uncheck all these three buttons through code.
    Any help please.
    Regards,

    Hello,
    I don't think you can achieve using the code or property to unselect all radio buttons.
    One possibility is there to create one extra radio button in that same group and set any value for that. Let say you have two radio buttons in the radio group and now you created one more radio button in the same group. And set the value like ABC. Now go to the property of new created radio button and set the X Position, Y Position, Width and Height to zero (0). And set the initial value for that radio group to ABC (new created radio button). So at runtime it will look like unselected all radio buttons. And while saving you can check if radio button selected on your criteria or not.
    -Ammad

  • Is it faster to load several separate buttons, or one Nav?

    I'm working on a flash navigation for my site in development. I finished one of my buttons, I originally wanted to have each button as a separate flash object so if I wanted to change the name or what it looked like I could just swap it out rather then having to edit the .fla file. I'm using graphics I made in Photoshop for the button's bg. Also, each button has a sound on mouse-over.
    I'm planning to have five buttons in total. One button is 10KB on the compression settings that I am happy with. Would it be faster for the page loading time though if I combined all the buttons into one flash object consisting of five separate frames?
    Thanks!

    I'm not sure what you mean by independent folders.  You can always organize your Layers to have Layer folders but that is simply to organize the Layers and to collapse them to save real estate when necessary and expand them to see detail when necessary.  It won't make a difference how you structure your FLA because all of your buttons will be embedded in your Library in the single SWF at runtime.  So I guess you would still have all of the buttons externalized in the single SWF?  As opposed to embedding them in your master Site SWF?  Then you can use the load() method to load your buttons.swf file into your master.swf file .  You still might run the risk of your server not responding well to the load() method at times and failing to load your nav buttons as opposed to if you had them embedded in your master swf.  But if you have a reliable server and no bottleneck on your site then you could externalize all of your buttons.  One cool thing is to have your graphical appearance of your buttons embedded into your master.swf file and your button labels externalized into an XML file that is basically like a text HTML file that can be changed and updated using a simple text editor and you would never have to reauthor the FLA file to make changes.  You might even be able to format the font appearance but I'm not entirely sure since I'm still new to using XML to format content.  But I do know that XML can be used to change the content of the text such as what the text actually says.  You would externalize this .xml file the same way you would externalize an .AS actionscript file which would contain packages and classes as opposed to having your actionscript on Frame 1 of your FLA.

  • It used to be that when I created a pdf from a word or publisher document, hyperlinks worked fine. Now I cannot get them to work unless the text displayed for the link is the complete address and it all appears on one line. Why?

    it used to be that when I created a pdf from a word or publisher document, hyperlinks worked fine. Now I cannot get them to work unless the text displayed for the link is the complete address and it all appears on one line. Why?

    You can print to the Adobe PDF printer, but that only creates links that Acrobat or Reader recognize as such. That is the reason for needing the entire URL on one line. It is not actually an embedded link, but one created by Acrobat on the fly. With OFFICE 2013 you have two choices: 1. create the PDF with the print to Adobe PDF and then add the links in Acrobat so that they are complete or 2. I think the WORD save as PDF or XPS will create the PDF with links, but not sure. If so, that would be the quickest solution for you, but be aware of potential problems with the MS plugin.
    Of course, the third option is to upgrade to XI which can be done with AA 9. You will probably not be eligible for a for an upgrade to whatever the next version will be.

Maybe you are looking for