Horizontal 'gap' between two level tabs SOLVED

I’ve got a stange problem:
I’ve got several pages and a two level tabs. Everything worked before a collegue of mine switched the theme into a self created one. Now the design of the two level tabs depends on what page you are on. Sometimes there is a ‘gap’ between the parent tabs and the horizontal bar and the tabs below that bar.
On some pages this gap is small and it looks like it should:
http://img90.imageshack.us/my.php?image=tabs01lq6.jpg
But sometimes there is a lot of space above and below that bar:
http://img91.imageshack.us/my.php?image=tabs02fa9.jpg
Can anyone help me? Please!!!

Hi Carl,
thanks for your answer!
I also thougt it coud be an issue with the CSS and I've searched the whole CSS-Stylesheet. In the part of the Tab Classes I searched for every margin-top and margin-bottom and set it to 0px but it had no effect.
Here you can see the part of my CSS-Stylesheet containing the attributes of the tabs:
/* Tab Classes */
/* .t4Tabs{text-align:center;padding:10px 0 2px 0;} */
.t4Tabs{text-align:right;padding:10px 0 2px 0;margin-bottom:0px;margin-top:0px;}
.t4standardtabcurrent{vertical-align:middle;padding:2px 5px 2px 5px;margin 0px 3px 0px 3px;background-color:#CCCCCC;color:#111111;border:2px solid #111111;border-bottom:0;text-decoration:none;font-weight:bold;}
.t4standardtab{vertical-align:middle;padding:2px 5px 2px 5px;background-color:#777777;color:#ffffff;margin:0px 3px 0px 3px;border:2px solid #111111;border-bottom:0;text-decoration:none;font-weight:bold;}
.t4standardtab:hover{background-color:#CCCCCC;color:#000000;text-decoration:none;}
.t4ChildTabs{text-align:center;background-color:#FFFFFF;padding-bottom:4px;margin-top:0px;margin-bottom:0px;}
.t4childtabcurrent{margin-left:3px;margin-right:3px;font-weight:bold;background-color:#DDDDDD;padding:2px;border:2px solid #000000;border-top:none;text-decoration:none;}
.t4childtab{margin-left:3px;margin-right:3px;padding:2px;border:2px solid #000000;border-top:none;text-decoration:none;font-weight:bold;}
But the strange is that this horizontal space is not equal on every page. On some pages it is quite small and like I want it to be and when I select the tab "Reports" for example there is a huge gap.
When I change the margin in the CSS-Stylesheet shouldn't it be for all pages? Shouldn't the margin be the same whatever page I am on?
Greetings,
Sofie

Similar Messages

  • Horizontal gap between two items

    How can I increase a gap between two items for ex. between 2 textfields?

    Hello,
    Try to add something like style="height:50px" in the HTML Table Cell Attributes of the item's label section. Within this cell height, you can "fine tune" the position of the labels and elements, using the Horizontal / Vertical Alignment options.
    Regards,
    Arie.

  • Switch between one level and two level tabs

    Hi,
    In my application I'm having many pages manages with tabs.
    Some tabs should have sub tabs other will have none.
    For example Page 1:
    ______________________________________| HOME* | MASTER DATA | TEST |_____
    Page 2
    ______________________________________| HOME | MASTER DATA* | TEST |_____
    | M1* | M2 | M3 |
    Page 3
    ______________________________________| HOME | MASTER DATA* | TEST |_____
    | M1 | M2* | M3 |
    Page 4
    ______________________________________| HOME | MASTER DATA | TEST* |_____
    | T1* | T2 |
    Like you can see Page 1 hast no sub tabs and only the parent tab should be shown (normally this would be One Level Tab Template and for the others it's Two Level Tab Template).But I didn't get it working. I've tried to following:
    Setting page 1 to one level and creating a parent tab set with all required labels will display OK. Creating page 2 with new parent tab set and tabs and two level template.
    Will not show not page 1 parent tab when accessing directly. Access from page 1 will throw error message: "could not find item (123455) on page."
    I don't like to have something like this for page 1, because there twice shown Home, for one page ...
    _________________________| HOME |_______
    | HOME |
    How can this be done in ApEx are there any tricks?
    Thanks
    chrissy

    Chrissy,
    Create a page template as a copy of your two level tabs template and simply remove
    #TAB_CELLS#
    Assign this page template to your page 1.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Two level tabs - problem

    hello, i have problem with two level tabs..
    i create new patten tab, look at pic:
    http://img148.imageshack.us/img148/1267/88330428.jpg
    and i can't see it in my application when i run it ..
    look at second picture:
    http://img169.imageshack.us/img169/9755/10433589.jpg
    can you help me to solve this problem..

    In your page template you have to choose the option two level tab.i did .. but nothing changes

  • Disable right clicking for standard tabs in two level tabs

    Hi Friends,
    I am using two level tabs in my application. I want to disable the right clicking option for the second level
    (standard tabs). Is there any way to accomplish this?. Please help,
    Thanks,
    Jeev

    Hi,
    I think you can do it with javascript.
    I did find various solutions from Google
    http://www.google.com/search?btnG=1&pws=0&q=javascript+disable+context+menu
    I have not test any of those , but quickly seems that there is differences between browser how to accomplish this.
    Hope this help you to right direction
    Br,Jari

  • Unable to switch from one level tabs to two level tabs.

    I created my application using one level tabs. When I created parent tabs they didn't show up. I have changed the Page property to Two Level Tabs in the Default Templates by Component section of the Define Theme page. But the 2 level tabs just not show. After some trials even the 1 level tabs dissapeared. I can't see any tab now.
    Is there any method to switch safely from one level tabs to two level tabs and have them show properly?
    Francisco

    I developed my own solution after several days of
    working on the issue, and it is kind of complex. I
    have a 12 page word document with images explaining
    the process, so I cannot post it here. I responded to a thread on this forum several weeks back about this topic. I guarantee that the posts in total in that thread could never fill a 12 page document. It's not that complicated.
    You can find it here:
    Re: Can someone explain the diference between the tabs and the tab sets?
    The main problem when switching from one-level tabs to two-level tabs is the "psuedo-parent-tab" that gets created as a container reference for the standard tabs. Once you get past that - and change the default template for your application you're well on your way.
    Earl

  • Wide report causes standard tabs in two-level-tabs to move

    I know that sounds odd. So, if you have a large (wide) report, that spans the browser window, and you resize the window, the tabs will move to the right, eventually right out of the window. Very odd.
    I have Apex 3.0.0.00.20. I have a simple report region with a query that has over 20 columns. The data isn't really meant to be read, there is a download to spreadsheet link that people will use. However, there is also a two-level tab system in place. Parent tabs at the top (on the right) look fine. The standard tabs, below are left aligned and look good on all pages except this one. If the window is wide, fitting the entire width of the report, then the tabs align on the left. That is very wide, filling up more than my widescreen monitor on my two-monitor setup. For users on a single smaller monitor, they cannot size it that large, and if the window is narrow enough, the tabs are actually off the screen. You have to scroll right to see them. It's the strangest thing. But, it's a pain, since they need to use these.
    Anyone see this? Any ideas how to prevent those tabs from moving and staying anchored on the left?
    Thanks

    Sounds like the result of a layout based on nested tables, which are expanding to accommodate the wide report content.
    Solution would be to move the standard tabs region or the report region to another region position, or change the page template so the tabs current region position is not contained within a table that also contains the table containing the report region position.
    This should all become clear if you view the page in Firefox and outline the tables using the Web Developer Toolbar...

  • Gap Between Two Dates

    Can Anyone tell me how to find out the gap between two dates. Specifically Without counting Saturday and Sunday.

    corlettk wrote:
    <intercession>
    Has anyone written a DateMath class?... it would be handy... the amount (and ugliness) of the code required to do elementary date mathematics with the raw Calendar is appaling.<recess>
    Isn't Java 7 supposed to cure all this headache?
    </recess>

  • Two level tabs

    I have an application with two-level tabs set up and when clicking on the 2nd level labs, I consistently get, not every time, the message, "Page cannot be displayed." Instead of having the tabs start displaying on the fifth page, do they need to be set up on all the pages?

    Hi,
    Template Two Level Tabs should be set on everyone page.
    Moreover, Parent Tab Set should be selected on everyone Standard Tab.
    Konstantin

  • How to switch from two-levels tabs to one.

    HTML DB v2.0.
    I noticed that having two levels tabs I am getting error (can not fetch the record) because the "Clear Cache" option is available only for Parent Level tab.
    My page is designed like this: Person's info, report on children records, and a form to enter/edit children records.
    I'd like to switch to one-level Tabs and "Clear Cache" every time you go from one tab to another so form will be in a mode to enter a new record.
    I tired to change the theme to one-level tabs, but nothing really changed when I went to create Tabs - it's asking for a Parent tab.
    Message was edited by:
    zavadskaya

    Hi zavadskaya
    Try:
    - keeping the two level tabs.
    - add a process to the Page Rendering area of your page
    - the process is set up as:
    - Type = Clear Cache for all Items on Pages ..... enter your page number.
    - Process Point = On Load - Before Header
    I hope this helps.
    Cheers,
    Patrick Cimolini

  • Find gap between two dates from table

    Hello All,
    I want to find gap between two dates ,if there is no gap between two dates then it should return min(eff_dt) and max(end_dt) value
    suppose below data in my item table
    item_id    eff_dt           end_dt
    10         20-jun-2012     25-jun-2012
    10         26-jun-2012     28-jun-2012 There is no gap between two rows for item 10 then it should return rows like
    item_id eff_dt end_dt
    10 20-jun-2012 28-jun-2012
    item_id    eff_dt           end_dt
    12         20-jun-2012     25-jun-2012
    12         27-jun-2012     28-jun-2012 There is gap between two rows for item 12 then it should return like
    item_id eff_dt end_dt
    12 20-jun-2012 25-jun-2012
    12 27-jun-2012 28-jun-2012
    I hv tried using below query but it giv null value for last row
    SELECT   item_id, eff_dt, end_dt, end_dt + 1 AS newd,
             LEAD (eff_dt) OVER (PARTITION BY ctry_code, co_code, item_id ORDER BY ctry_code,
              co_code, item_id) AS LEAD,
             (CASE
                 WHEN (end_dt + 1) =
                        LEAD (eff_dt) OVER (PARTITION BY ctry_code, co_code, item_id ORDER BY ctry_code,
                         co_code, item_id, eff_dt)
                    THEN '1'
                 ELSE '2'
              END
             ) AS new_num
      FROM item
       WHERE TRIM (item_id) = '802'
    ORDER BY ctry_code, co_code, item_id, eff_dtI m using oracle 10g.
    please any help is appreciate.
    Thanks.

    Use start of group method:
    with sample_table as (
                          select 10 item_id,date '2012-6-20' start_dt,date '2012-6-25' end_dt from dual union all
                          select 10,date '2012-6-26',date '2012-6-26' from dual
    select  item_id,
            min(start_dt) start_dt,
            max(end_dt) end_dt
      from  (
             select  item_id,
                     start_dt,
                     end_dt,
                     sum(start_of_group) over(partition by item_id order by start_dt) grp
               from  (
                      select  item_id,
                              start_dt,
                              end_dt,
                              case lag(end_dt) over(partition by item_id order by start_dt)
                                when start_dt - 1 then 0
                                else 1
                              end start_of_group
                        from  sample_table
      group by item_id,
               grp
      order by item_id,
               grp
       ITEM_ID START_DT  END_DT
            10 20-JUN-12 26-JUN-12
    SQL> SY.

  • Gap between two characters in SAP Script Address EndAddress.

    Hi Abapers,
    I have one query regarding Address - EndAddress in SAPScript.
    I am putting the code :
    /: ADDRESS TYPE '1' PARAGRAPH ZI PRIORITY 'APL43' LINES 6
    /:ADDRESSNUMBER &ZPOLGORT-ADRNR&
    /:ENDADDRESS
    and  I am getting the output in this form
    <b><i>ABC Soft c/o JSI Hong Kon g
    c/o RS Logistics (Shenzhen) Limited
    6/F., DZ Zhong Tian Yuan Logistics Ctr.
    126/Xia Road, Futian Free Zone,
    Shenzhen
    China</i></b>
    But the problem is there is a gap between character "n" and 'g" in first line in word Kong.
    Can anybody suggest me how to solve this issue. Or is there any other issues to sort it out this problem.

    Hi,
    Its not the problem with Address / End Address.
    It could be probably maintained that way.
    Please check the entry in the table where it is maintained.
    reagrds,

  • How to minimize the gap between two regions in a page

    Hi All,
    How to minimize two regions in a page ? I have two regions in page but I need to minimize the (default) space gap between these regions as it looks too large.
    Thanks for the answer.
    Jeffry

    Jeffry,
    You may want to check the tutorial [Achieving Pixel-Perfect Page Design with HTML Templates|http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm] on OTN.
    Thanks,
    EJ

  • Diff between two-level infrastructure and multi-level system landscape

    Hi Experts,
    Can Anyone explain me what exactly is meant by two-level infrastructure (SAP and customer solutions) and multi-level system landscape (SAP, country-specific versions, industry solutions, partner, customer, and so on) in the below statement
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, country-specific versions, industry solutions, partner, customer, and so on). You can create definitions and implementations of Business Add-Ins at any level of the system landscape

    Hi
    The user-exit can be implemented once, i.e. it can be used once: so it can be used to solve a particular customer situation.
    The BADI can have several implemantations, so the same BADI can be used several times, and so it can be used to solve problem of customer, for business (so different implemantion for every SAP vertical, for example one for AFS, one for OIL,......), for a specific for a country (it's the case for the FI BADIs used to solve different legal specific of every country where SAP is implemented), .......
    Max

  • Awk - printing a value between two matching regex [SOLVED]

    I'm trying to write a script to parse a single line output, but to then only display the value between two matching regex.
    I have got it to only display the value between the matching regex, but then it carries on and displays the rest of the line. How do I tell it to stop once the matching value has been printed?
    ARTIST=`awk '/Artist/,/Artist/ {gsub(/Artist/, Artist); print}' /home/sapphire/.foobar2000/track_info`
    This produces 'Akira Yamaoka Title She Title Album Silent Hill 1 OST Album CurrentTime 0:03 CurrentTime TotalTime 2:01 TotalTime' rather then the desired 'Akira Yamaoka'.
    So I guess I'm asking how one would go about terminating the above awk command? Thanks - I know, it'll be something simple - but I'm not experienced with scripting
    Last edited by wyvern (2008-04-10 11:37:30)

    ibendiben wrote:Could you share the file you are extracting the data from?
    No problem, and thank you for the help so far
    This is what's written each time I update my playing track, no more, no less:
    Artist Akira Yamaoka Artist Title Silent Hill Title Album Silent Hill 1 OST Album CurrentTime 0:04 CurrentTime TotalTime 2:51 TotalTime
    Single line only, as the plugin won't break up the text into anything more than the one line

Maybe you are looking for