Navigation Region CSS problem

workspace : RGWORK
user : tester
pass: test12
apllication name :TESTER 01
page : 2
How do I fix the css of my navigation region? their are lines that are extending in the bottom of the region.. How will I solve that?

The Simple Red (theme 1) CSS includes the following rule:
.navigation-region div {
    overflow: hidden;
    width: 183px;
    padding: 0 0 4px;
    background: url(../images/bg-navigation-b.gif) no-repeat 0 100%;
}The <tt>.navigation-region div</tt> descendant selector causes this rule to be applied to all <tt>div</tt> elements that are contained within elements with a class of <tt>.navigation-region</tt>. As it seems unfeasible to expect apps to never have <tt>div</tt>s in a navigation region&mdash;as you've discovered&mdash;I'd say this is definitely a bug. We certainly shouldn't get these kind of artefacts from a combination of built-in components and templates.
The CSS selector for this rule should be more specific. There are a number of different possible ways to do this. Combining child and pseudo-class<tt>:first-child</tt> pseudo-class is one of them, and avoids having to make any changes to the template HTML.
The best way to fix this is to copy the theme, modify the errant CSS, and republish the theme in the repository. (In some cases, such as in a hosted environment, this might not be possible.)
As a simple fix in this example, I created a small custom style sheet and a new page template referencing it:
.navigation-region div {
  padding: 0;
  background: none;
.navigation-region > div:first-child {
  overflow: hidden;
  width: 183px;
  padding: 0 0 4px;
  background: url(/i/themes/theme_1/images/bg-navigation-b.gif) no-repeat 0 100%;
}The first rule resets the problem properties using the same descendant selector as the theme CSS; the second is the "correct" rule that only affects the first child <tt>div</tt> in <tt>.navigation-region</tt> elements.
There's a slight problem with this fix as the initial reset rule will affect all <tt>div</tt>s in <tt>.navigation-region</tt> elements: it's necessary to ensure that any rules setting <tt>padding</tt> or <tt>background</tt> on other <tt>div</tt>s need to follow this one in the cascade or be more specific than this one, hence creating a copy of the theme is the best option.

Similar Messages

  • Css problem in internet explorer

    Hi to all!
    On my page as part of the page template I have build in a little drop-down user panel on the left top of the page.
    html:<div id="userpanel">
      <span><img src="'#APP_IMAGES#openSlidedown.png" /> <a>logon: &APP_USER.</a>
      <div id="userpanel_hsreg"><p>Autorisiert für: &APP_CODES_DISP.</p>
      <p>| #NAVIGATION_BAR#</p>
      </div></span>
    </div>css:#userpanel,
    #userpanel * {
            position:relative;
         font-family:verdana; font-size:12px;
         margin:0; padding:1px; border:0;
         white-space:nowrap;
    #userpanel a,
    #userpanel span { display:inline-block; }
    #userpanel>span>a { color:#999; }
    #userpanel span:hover div { display:block; }
    #userpanel>span:hover > a { color:black; }
    #userpanel_hsreg {
              display:none;
              position:absolute;
              left:+5px;
              top:+24px;
              background:#fff;
              padding:10px 18px;
              line-height:180%;
              border:1px solid silver;
              border-radius: 6px;
              box-shadow:1px 2px 5px #aaa;
              z-index:99;
    #userpanel>span>a {
              border-bottom:1px solid silver;
              margin-top: 5px;
              }So what happens is this: if the user hovers over the "+logon: username+", a little box pops up with some further information (the item &APP_CODES_DISP.) and the logout-link. Below this link, the Navigation bar starts. So while the box pops up, it covers a part of the region below, what its meant to do.
    The promlem is, that this doesnt work in Internet Explorer properly, when its launched from apex. Instead, the popup-box is displayed behind the region below. In Mozilla, as always, everything worls fine. This problem ocured already, when I opened the html-file from desktop, but I fixed that by putting the z-index-attribute in. Only now, in Apex, its still now working in IE. I am not that of an expert in css. I have tried different XHTML declarations in the header, all no difference.
    The current one:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">This might be a bit of a tricky issue, so I dearly hope, someone can help me. (Similar problem like the other threat I started recently here where the round-corner attribute is not working in IE-Apex, but this time its a bit more vital. :) )
    I have v 4.0.2.
    Thanks and greetings,
    tobi

    Hi again!
    This turns out not to be an APEX-issue, as I tought first, but rather a css-problem. Maybe therefore I'm in the wrong forum, but maybe someone can help me anyway.
    I have created two pages with the relevant element: (login with test/test please) one page with standard tabs and another with my own html-navigation. Now Internet Explorer has the option "Compatibility View" which in our company is activated by default. On page 1 it makes no difference, but on the second, with Compatibility View on, the drop-down box apeares behind my selfimplemented navigation bar. WHY IN GODS NAME DOES THIS HAPPEN??
    I have posted the same question in a german web-developer forum (here) also, because its quite urgent that I solve this, and as I mentioned above, many colleagues work with IE.
    So if anyone here is a css-IE9-expert... :)
    Thanks and best regards,
    Tobi
    edit: ok, its solved. The userpanel-div needed a "z-index:1;" attribute for IE. :)
    Edited by: tpetri on 03.09.2012 09:53

  • No Navigation Region on Home Page

    Hello
    Bit of a newbee. I've created a new appliacation which has a home page and I've created a report page which updates a table. I want to add a link to my homepage, as a text line for example UpdateTable, and when I click the link, it goes to my report page. I've had a look in my Apex CookBook, and it says I do this by using the Navigation region in my home page. The problem is I don't seem to have a navigation region in my home page. I thought initially it meant the navigation bar, but I now realise this is the header bar. Do you know how I can create a navigation region in my home page..?
    Regards
    Craig

    Hi Craig,
    the navigation region is a template.
    Use this region template to create a list which contains the link to your report page.
    For your page you could use a template with a left or right sidebar to show your navigation region in.
    regards,
    Erik-jan

  • Yes another strange IE CSS problem

    Hi all,
    I was wondering if some kind soul could help me work out
    hopefully my last CSS problem. If you look at my site:
    http://www.aclighting.com/shop/
    in IE you will see a light blue line at the bottom of the left hand
    side navigation menu. In Firefox and other browsers it isn't there,
    they are behaving, but I can't work out why IE is showing that
    there.
    This is the HTML
    Class mid is what shows the blue line.
    #shop #content-wrapper #menu .mid {
    background: url(/images/menu_div.gif) no-repeat left top;
    padding-top: 9px;
    padding-left: 5px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 100%;
    I don't understand why its showing near the botton in IE.
    Steve

    Doooza wrote:
    > Hi all,
    > I was wondering if some kind soul could help me work out
    hopefully my last CSS
    > problem. If you look at my site:
    http://www.aclighting.com/shop/
    in IE you will
    > see a light blue line at the bottom of the left hand
    side navigation menu. In
    > Firefox and other browsers it isn't there, they are
    behaving, but I can't work
    > out why IE is showing that there.
    > I don't understand why its showing near the botton in
    IE.
    Its on you background image?
    http://www.aclighting.com/images/menu_bottom.gif
    IE is probably making a container slightly higher for some
    reason and
    therefore shows more of te background image.
    Just use a 'dedicatted' background image minus the blue line

  • How to alter width of navigation region

    Is there a way to alter the width of the Navigation Region Alternative 1? I am using it to display links to other pages, but the descriptions are bumping onto three and four lines, making it cumbersome.

    Hi,
    In Shared Components, Templates there is a template for "Navigation Region, Alternative 1". In the Theme I'm looking at (Theme 18), this shows:
    &lt;div class="t18Region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# align="left" width="200"&gt;
    &lt;div class="NavigationRegionAlternative1"&gt;&lt;h2&gt;#TITLE#&lt;/h2&gt;
    &lt;div class="t18RegionBody"&gt;#BODY#&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;so, in this case, I could adjust the width attribute at then end of the first line. I'm not sure what theme you're using, but it should be something similar.
    Andy

  • Possible CSS problem?

    Hi All,
    I am in the process of making a website for a friend, when I ran into what looks like a css problem.
    I purchased the css file in a template from a guy who does tutorials on youtube, I have contacted him on several occasions but his customer service is pretty awful and he hasn't replied to any contact.
    When using a mobile or tablet to view the website the header and footer area is pushed to the left. (please see attached image)
    I added 100% to the following containers but still it never changed them.
    #header-wrapper
    #footer-content-wrapper
    #footer
    If I change the widths to 1000px then it sorts it out for the mobile view but then the website on a pc/laptop is distorted.
    the website can be found at www.leightonsterling.com
    Thankyou in advance.

    There's nothing wrong with your site.  That's exactly what fixed-width, centered layouts do in smaller displays.  They move to the left.   If you want a responsive web site that adjusts to mobile and tablet device widths, you need a Responsive Layout.
    Look at FluidGrid Layouts in Dreamweaver CS6 & CC.  Or use one of the following Responsive Frameworks to jump start your project.
    Project Seven's Page Packs (commercial CSS Templates, Widgets & Extensions for DW)
    http://www.projectseven.com/products/templates/index.htm
    Excellent products, excellent customer support.  A+++
    Foundation Zurb
    http://foundation.zurb.com/templates.php
    Skeleton Boilerplate
    http://www.getskeleton.com/
    Initializr (HTML5 Boilerplate, Responsive or Bootstrap)
    http://www.initializr.com/
    DMX Zone's Bootstrap extension for DW
    http://www.dmxzone.com/go/21759/dmxzone-bootstrap/
    Fluid Grid Layouts in CS6
    http://tv.adobe.com/watch/digital-design-cs6/creating-adaptive-designs-using-fluid-grid-la youts-in-dreamweaver-cs6/
    Nancy O.

  • CSS Problem in a navigation list

    good day to all, I have a navigation list based on a query but it has some extended lines at the bottom, what CSS code should work in order to solve this problem? i don't have a CSS knowledge about this one..
    here is the picture:
    http://99designs.com/designs/7113653-original
    the Info Query Navigation list in the bottom the border has excess lines..

    I have a navigation list based on a query but it has some extended lines at the bottom, what CSS code should work in order to solve this problem? i don't have a CSS knowledge about this one..CSS needs something to style, so the presence of the additional lines may indicate that there is additional mark-up. Suggest you replicate the problem on apex.oracle.com or post the generated HTML source for the region here.
    Additionally your sample image contains other visible glitches on the buttons. This may indicate that the problem is in your browser rather than the APEX CSS. Which browser(s)/version(s) exhibit the problem?
    Please also always provide basic information relevant to your problem that will help others to understand or replicate it, generally:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s)/versions(s) used
    - Theme
    - Template(s)
    - Region type(s)

  • CSS Navigation with list problem

    Hello all,
    I'm attempting a left side navigation bar using CSS and list
    items. I'm using a change of background color for the hover state.
    For some reason the hover states don't show up at all in IE6, and
    on Firefox my first link ("Home") is not lined up with the other
    links. The page in question is www.greenforlife.net.
    Any help would be greatly appreciated.
    John

    CSS :hover is supported but on the a tag only which you do
    have it on. To
    fix your problem add an IE ( 6 and below ) only rule.
    * html #leftnav a {
    height: 1%;
    You have some weird margining goin on there in the leftnav.
    If you set the
    margin and padding to 0 on your <ol> you won't need to
    use negative margins
    to push your links to the left.
    ADD THIS...
    #leftnav ol {new
    margin: 0;
    padding: 0;
    AND ....
    #leftnav li {
    list-style: none;
    margin-left: -25px;<-- REMOVE THIS
    padding: 0;
    margin: 0;
    Regards,
    ..Trent Pastrana
    www.fourlevel.com
    "John Ciccolini" <[email protected]> wrote
    in message
    news:eh90m9$b0l$[email protected]..
    > Hello all,
    > I'm attempting a left side navigation bar using CSS and
    list items. I'm
    > using
    > a change of background color for the hover state. For
    some reason the
    > hover
    > states don't show up at all in IE6, and on Firefox my
    first link ("Home")
    > is
    > not lined up with the other links. The page in question
    is
    > www.greenforlife.net.
    > Any help would be greatly appreciated.
    > John
    >

  • FW 8 popup-menu in CSS problem with IE7 & Safari

    Hi,
    hope that anyone out there got some ideas in my issue. I was
    already searching the forum for advice, but couldn't find
    meaningful infos.
    Here is my problem:
    I designed a page in FW8 (Mac) with a nice popup-menu. I
    exported this thing into DW8 having set the option to export the
    menu as CSS and slices to layers. Then I rearranged the html File
    and included some editable regions, as it was to be used as an
    template.
    Everything works fine in Firefox but IE7 and Safari
    experience some problems.
    The popup-layers are displayed behind the main text-area and
    not in front of it - this makes navigation a bit complicated.
    So teh menu is displayed with text and everything, but behind
    the main text.
    What I tried:
    I tried to reset the z-Index of the popup-layers to values
    below 10 (were set to 500) - didn't help.
    I gave every single item a z-index - didn't help.
    I gave the main text area an z-index of 0 or -1 - made the
    layer disappear.
    I reexported the whole thing - made me just crazy.
    I worked through the css file for errors - maybe I'm not to
    good in CSS ;)
    I checked the forums, but could only find issues where the
    menu was not displayed at all or the text was missing - doesn't
    apply.
    -- no more ideas :(
    Link to my page:
    Website
    Link
    I really appreciate your help! Any comments welcome!
    patrick

    > I think it's a bug with ie7. It doesn't support
    javascript completely,
    > nor
    > does it css.
    I don't think this is accurate. Each browser supports things
    differently,
    and CSS is no exception, but support for javascript is fairly
    reliable
    across the board.
    > but I can't find one that I can use my own images, yet
    Then you are not looking in the right place. Go here -
    http://www.projectseven.com/
    and examine their extensive collection of menu products.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "udigrudi" <[email protected]> wrote in
    message
    news:ful3t7$n9u$[email protected]..
    > I've had a similar problem, menus made in Fireworks 8
    don't show up
    > completely
    > in ie7 for windows either. The menu shows up, but the
    text of submenus
    > with
    > submenus doesn't show up.
    >
    > I think it's a bug with ie7. It doesn't support
    javascript completely,
    > nor
    > does it css.
    >
    > Since your website has disappeared, I'm sorry I can't be
    of more help.
    > I'm
    > thinking of getting a "third party" submenu generator
    (but I can't find
    > one
    > that I can use my own images, yet)
    >

  • Dreamweaver Template Editable Region Old Problem

    Hello,
    Please, I need urgent help regarding the Adobe Dreamweaver
    CS3 program for Mac OS X. It is, unfortunately, driving me crazy,
    because I have now a problem that is not letting me edit any
    editable region in the child pages I create and apply the template
    to that page. I have tried to restart the computer, restart
    Dreamweaver and even reinstalled Dreamweaver and made my Template
    from scratch and nothing worked. The problem keeps there and
    doesn't let me edit any editable region.
    Here is what happens: I have created a Editable Region called
    "Page Content". Also, another 2 editable regions called "Section
    Navigation" and "Sub Navigation". These editable regions are just
    there to make my job easier. In the Page Content part, I put the
    content I want to add to that page, like text and a heading. For
    the Navigations, I simply change the class of one list item to
    "current", so that my CSS rule can be applied to that list item and
    change the font, so that the users can tell in what page they are
    now, you get it?
    So, what happens? Everytime I try to make changes to the
    editable region Dreamweaver prompts this message:
    "You have made changes in the code in a region that is not
    marked as an Editable Region... You will lose all of your changes
    in the next update of your template. Do you want to retain all of
    the changes?"
    But IT IS A EDITABLE Region, so that is why I dont get it.
    And it gets even worse, because after I lose all of my changes and
    hours of work are wasted.
    I hope you guys, experts in Dreamweaver can make my life a
    lot easier by helping me solve this issue,
    Please help.
    Best regards,
    Thank you for reading this and for the help in advance,
    GB

    And, by the way, such messages are usually triggered by
    improper code usages
    on the page - that's why we need to see your code.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dreamweaver_pro" <[email protected]> wrote
    in message
    news:[email protected]...
    > Hello,
    >
    > Please, I need urgent help regarding the Adobe
    Dreamweaver CS3 program for
    > Mac
    > OS X. It is, unfortunately, driving me crazy, because I
    have now a problem
    > that
    > is not letting me edit any editable region in the child
    pages I create and
    > apply the template to that page. I have tried to restart
    the computer,
    > restart
    > Dreamweaver and even reinstalled Dreamweaver and made my
    Template from
    > scratch
    > and nothing worked. The problem keeps there and doesn't
    let me edit any
    > editable region.
    >
    > Here is what happens: I have created a Editable Region
    called "Page
    > Content".
    > Also, another 2 editable regions called "Section
    Navigation" and "Sub
    > Navigation". These editable regions are just there to
    make my job easier.
    > In
    > the Page Content part, I put the content I want to add
    to that page, like
    > text
    > and a heading. For the Navigations, I simply change the
    class of one list
    > item
    > to "current", so that my CSS rule can be applied to that
    list item and
    > change
    > the font, so that the users can tell in what page they
    are now, you get
    > it?
    >
    > So, what happens? Everytime I try to make changes to the
    editable region
    > Dreamweaver prompts this message:
    >
    > "You have made changes in the code in a region that is
    not marked as an
    > Editable Region... You will lose all of your changes in
    the next update of
    > your
    > template. Do you want to retain all of the changes?"
    >
    > But IT IS A EDITABLE Region, so that is why I dont get
    it. And it gets
    > even
    > worst, because after I lose all of my changes and hours
    of work are
    > wasted.
    >
    > I hope you guys, experts in Dreamweaver can make my life
    a lot easier by
    > helping me solve this issue,
    > Please help.
    > Best regards,
    >
    > Thank you for reading this and for the help in advance,
    >
    > GB
    >

  • CSS problem-not rendering correctly in IE

    Hi Group,
    I'm relatively new to using CSS in my web sites, and have a
    question concerning a site that I'm having a problem with.
    The site is <
    http://lennyhirsh.com/> and
    the problems I'm having are with the top navigation 'rollovers' and
    the inline navigation at the bottom of each page. On Firefox and
    Safari, the site renders fine, and both the CSS rollovers and the
    bottom navigation are rendered right.
    However, I just looked at the site on Windows IE 5.5, and the
    top rollovers are cut off and the bottom navigation is showing
    vertically, instead of horizontally.
    If anyone might have a few moments to take a look and offer
    some guidance, it would be greatly appreciated.
    Thanks so much!

    First off, you might like to check your page in a validator?
    I saw this in your code:
    <h1>Design Freedom – Universal Choice<h1/>
    It's wrong and it might cause some layout anomolies. It should be:
    <h1>Design Freedom – Universal Choice</h1>
    I don't think it's the only place it's happening.
    I only looked at the first site.
    Martin

  • CSS problem in IE6 - please help

    Hi,
    I created a sprite navigation and everything looks great. Until someone I know who still uses IE6 says it was all out of whack. This site has to look good in IE6. I have absolutely no idea where the problem is.
    I was hopeing someone can give me some advice?
    The page is here:
    http://www.hauppauge.com/index_sprite-nav.htmCSS here:
    nav-sprite-styles.cssThanks for any help you can give me!

    Start by fixing the code errors.
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    HTML & CSS Tutorials - http://w3schools.com/
    CSS shorthand might be worth learning, too.
    http://www.dustindiaz.com/css-shorthand/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Fixin IE 7 CSS-problems without extra CSS

    Lately I have been working on the layout for a foundation.
    The project only has to be finished by February, so there is plenty
    of time left. The design looks alright with Firefox, Opera and
    Safari for Windows, but something goes wrong as soon as IE 7 tries
    to interpret the CSS. The content-layer is not in place and the
    "the round corners" at the bottom are not repeated only ones (as
    demanded by the CSS).
    I already wrote an extra stylesheet which already works out
    alright on my localhost, but it hasn't got any round corners and
    the layers are arranged "absolute" which (to me) is a less than
    elegant work-around and might cause a few problems depending on
    resolution and screen-format.
    Does anyone have a suggestion how to fix this prpoblem within
    the normal CSS which is still in the page code in
    http://stefanweisshampel.de/versuch.html
    and
    http://stefanweisshampel.de/versuch_blau.html?

    Is this the complete code?
    Your first property declaration value on the margin of the
    div containing the <ul> navigation is pulling the div 140px
    towards the top of the containing element. That could push the div
    off of the page, depending on the rest of your code and page
    structure. Are you feeding these values to IE only? What is the
    -140px top margin supposed to be doing? Check that first.
    On browser detection, beware, many browsers report themselves
    as something else! It is better to learn the different browser
    inconsistencies and design for them. As Win IE (mainly pre V IE7
    nowadays) is the main problem child here, using Conditional
    Comments can help feed specific css to that particular browser and
    its derivatives. Google for Conditional Comments for more
    information.
    Regards
    Nick Barling

  • CSS problem with content in different browsers?

    I've been revamping the CSS for a website and got most internal pages to display normally on different browsers. However, the site entry page is driving me nuts. I think I've been staring at the code so long that I've overlooked an obvious error. In Firefox, the paragraph of intro text lines up nicely to the right of the navigation panel. In Google Chrome (and IE of course), it pops down underneath the nav panel as shown in screen capture below. Even if I zoom out. Included a link so you can see it in real time. (Since the revamp is recent, the style sheet isn't pretty.)
    http://www.keithpurtell.com/kthings/index.htm

    Sorry for the slow reply. Thanksgiving and family in town and all that. No I didn't fix or change anything. And I'll make sure the percentage match in the morning. It's after midnight here.

  • Windows 8 and CSS problems (FF 16 & 17)

    I just got a brand spanking new Win 8 computer (intl English). The only things installed on it are Adobe Master's Collection, Steam, Office and Firefox. In addition I tried installing adblocker, because that's a must for me and if this problem is resolved by removing it I will have to switch to another browser.
    Now, the problem is that FF is having problems loading pages with CSS. Occasionally, this results in a pages with nothing at all (except background color, it seems) or with just unformatted text. Most of the time this is fixed by doing a shift+reload, but not always. Some times it's just partially fixed and some elements don't load still.
    I've tried disabling all extensions and plugins and I've also tried resetting FF. The problem always comes back. I've even tried resetting my hosts file.
    Do you have any more ways of fixing it? I believe I've done everything in my power, except change browsers (which I really don't want to do unless it's my only option).
    The only thing I haven't tried, which I'll try now, is unpin all my app tabs and see if that fixes anything. I'll update this if I can...
    Pages affected: Facebook (some of the time), Couch Potato (installed on my server - never seen this on other computers or even other browsers on my computer, always), MyFitnessPal (occasionally), and some low-tech dating page I'm on.
    Cheers,
    Lars

    So, it still happens with a new an clean profile without extensions?
    In that case you may have security software (firewall, anti-virus) that block some content.
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    You can also try to use the Web Console (Web Developer > Web Console;Ctrl+Shift+K) to see if you can identify network related issues.
    *https://developer.mozilla.org/en/Tools/Web_Console
    *https://developer.mozilla.org/en/Using_the_Web_Console

Maybe you are looking for