X does not apply to your selection because it is not inherited. It is applied to an enclosing tag.

I feel like posting screenshots may be the best way to explain this one. I'm building a website. Everything works great except my content DIV, which looks fine in design view, but completely un-aligned in Firefox/Live View. (See figures 1 & 2)
Now, when I comment out the content DIV, everything looks normal. I finally saw that my CSS Navigator had strikethroughs over the position and width/height attributes of the content DIV. I got the cryptic message in the title. Here is my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#title {
    position:absolute;
    left:0px;
    top:0px;
    width:50%;
    height:100%;
    z-index:1;
    overflow: visible;
#topnav {
    position:absolute;
    left:50%;
    top:0px;
    width:50%;
    height:100%;
    z-index:2;
    text-align: right;
    float: right;
#topnav ul { list-style-type:none; margin:4px 0 4px 0; padding:0; }
#topnav li { display:inline; margin:0; padding:0 0 0 1.5em;    font-size:.9em; font-weight:bold; color:#666; }
#topnav a {    padding:3px; text-decoration:none; color:#900; font-weight:normal;}       
#topnav a:hover {color:#900; background-color:#ccc;}   
body {
    font-family: Arial, Helvetica, sans-serif;
#topwrapper {
    position:absolute;
    left:25%;
    top:0;
    width:50%;
    height:10%;
    z-index:3;
#mainnav {
    position:absolute;
    left:5%;
    top:20%;
    width:270px;
    height:120px;
    z-index:5;
    float:left;
    margin-right:30px;
#mainnav ul {list-style-type:none; text-align:left; margin:10px 0;}
#mainnav ul li {}
#mainnav ul li a {color:#990000; text-decoration:none; padding:10px; border-bottom:1px solid #ccc; display:block; }
#mainnav ul li a:hover {color:#900; background-color:#ccc; border-bottom:1px solid #ccc; background-image:url(images/navback.jpg); }
#content {
    position:absolute;
    left:25%;
    top:146px;
    width:50%;
    /* [disabled]height:70%; */
    z-index:6;
#pagetitle {
    position:absolute;
    left:45%;
    top:12%;
    width:10%;
    height:5%;
    z-index:7;
#pagetitle h1 {
    border-bottom-width: thin;
    border-bottom-style: solid;
    border-bottom-color: #999;
</style>
</head>
<body>
<div id="topwrapper"><div id="title"><img src="/images/logosmall.png" width="425" height="55" />
</div>
<div id="topnav">
  <ul>
    <li><a>Home</a></li>
    <li><a>Photos</a></li>
    <li><a>About Us</a></li>
    <li><a>Contact Us</a></li>
  </ul>
</div></div>
<div id="mainnav">
  <ul>
    <li><a>Home</a></li>
    <li><a>Player Info</a></li>
    <li><a>Download Forms</a></li>
    <li><a>Sign Up for Newsletter</a></li>
    <li><a>Admin Login</a></li>
  </ul>
</div>
<div id="content">
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis   sollicitudin nunc. Sed id felis sem, id placerat leo. Mauris ornare   faucibus libero in sodales. Nam a nulla a lectus porttitor placerat nec   nec tellus. Quisque orci sem, condimentum sed sodales nec, consectetur   ut tortor. Quisque a neque mi. Pellentesque dui nibh, auctor at euismod   a, faucibus a augue. Pellentesque porttitor orci a lorem bibendum dictum   et in nulla. Ut congue porta magna, in eleifend ipsum ultricies eu.   Fusce nibh purus, porttitor a cursus et, vehicula eget ante. Praesent   feugiat porttitor aliquet. Aliquam erat volutpat. Curabitur at ante ac   felis fermentum tincidunt dignissim eget augue. </p>
</div>
<div id="pagetitle">
  <h1>Title</h1>
</div>
</body>
</html>
Any and all help is appreciated in advance. Thanks.

Syntax error in the CSS.
The browsers are ignoring the #content rule because of the double closing curly bracket just before the #content rule.
#mainnav ul li a:hover {color:#900; background-color:#ccc; border-bottom:1px solid #ccc; background-image:url(images/navback.jpg); }
} <------------------DELETE THIS
#content {
    position:absolute;
    left:25%;
    top:146px;
    width:50%;
    /* [disabled]height:70%; */
    z-index:6;
FYI: the best way to get help with these issues is usually to upload your problem page to the web and post a link so we can see it live in our browsers.

Similar Messages

  • X does not apply to your selection because it is not inherited...

    Hi
    I'm trying to design a website using HTML and CSS. I have done the basic layout of the website using Div tags. However, the middle column of the website is showing up differently in Dreamweaver compared to on a browser.
    I have researched the problem and found that it is caused by an error occuring on the middle column and the wrapper tag not applying to it: "x does not apply to your selection because it is not inherited. It is applied to an enclosing tag".
    The code for my web page is here:
    http://pastebin.com/DfXLL7Zb
    This is my CSS styles code:
    http://pastebin.com/81u476zE
    Any help would be appreciated.
    Cheers

    This tells me you have unbalanced opening and closing <div> tags somewhere in your document.
    Use the validation tools to check your code.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    In the web forums, you can mark this discussion as answered.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • "I" does not follow text in float right css p tags

    Hi, Have an issue with an "I" hanging back in <p> tags. It only happens when scaling the page smaller from desktop or viewing on an iPad. My client has an iPad. Are there any suggestion on how to remedy this? Thanks! Kevin
    http://rosalindfedeli.com/about.html It is the second paragraph..."I arrange these various items by color, texture, size and shape…organiztion is vital because I want to put my hands on the these articles quickly to begin my work...."

    Ken Binney wrote:
    Remove the floatRight attribute from your .floatRight class
    (you can rename the selector to something else)
    .floatRight{
        background-color: rgba(116, 102, 72, 1);    float: right;
        margin: 18px;
        padding: 12px;
    Note typo on "organiztion"
    Yeah, that's  a weird one, a bloody huge image and little space for the text to the left of it - so for sure very quickly any word or combination of words such as 'shape......organiz'a'tion is going to flip to the next widest available space - which is under the image, leaving the rest of the text behind. The 'i' hangs simply because it's the one letter/word that takes less real-estate than any other letter/word.
    If its meant to be a responsive design then why is the image NOT responsive. If you made that responsive the text would play a lot more nicely IF you want to wrap it around the image.

  • History does not work correctly in Firefox when setting base tag?

    It looks like there's a bug in history.js that makes Firefox work incorrectly with History when the <base> tag is set in the HTML that runs the Flex object.
    We are not using the Flex-generated HTML, because of the way our application is built and one of the things that is different in the HTML that we run the Flex object in is the presence of the <base> tag.
    The <base> tag is set in our case to http://www.ufxbank.com/fr, and the full URL of the page with Flex is http://www.ufxbank.com/fr/trading.aspx.
    What happens is that the function setDefaultURL in history.js in its "if (browser.firefox || browser.opera)" part makes a call to "window.location.replace" with the value of "#", which in our case replaces the location to "http://www.ufxbank.com/fr/#", which brings a different page in the browser.
    I had to replace the code in history.js to be "var newloc = window.location + "?#" + def;" instead of the original "var newloc = "#" + def;".
    Does anyone has a better solution?
    Is it a bug in the template that should be fixed?

    Welcome to the forum.
    When you say delete the index, I think you mean delete the
    TOC?
    This is a known problem with Firefox. You have books with
    links to topics. If you remove those and have the required topic
    immediately below the book, the problem will go away.
    See other posts and my site.
    Please post a bug report as Adobe need to fix this.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Flash issue:  Contribute does not put the  id property in the object tag.

    Notice the id property in the object tag.
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="550" height="400" id="source2">
    Well Contribute is not inserting this tag. Therefore the
    flash movie will not run the folowing (Flash Action Script):
    import flash.external.ExternalInterface;
    theURL = ExternalInterface.call("getLocation");
    Anyone know what to do?

    It appears that your issue is about web service development, and not about Visual Studio Installation/Setup (this forum's topic).
    I suggest you ask about your web service deserialization issue in a topical forum here:
    http://forums.asp.net/

  • Firefox does not paginate when printing content inside a Fieldset tag!

    When the content inside of a fieldset tag spans more than one page, Firefox prints only the first page of content and no more. Changing the fieldset to a div tag resolves the issue (proving that it is only the fieldset tag that is the problem). Please fix so pagination in printing works when content is in a fieldset tag.

    Yes, this has been logged into the bug system. Over 4 years ago:
    [https://bugzilla.mozilla.org/show_bug.cgi?id=471015 471015 – Fieldsets are truncated to one page when printed / print-previewed]
    If you can contribute to the development, please feel free to pitch in. Otherwise, it's generally not helpful to add comments to bugs, but you can register on the site and "vote" for them to be fixed. See:
    * [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla Etiquette]
    * [https://bugzilla.mozilla.org/page.cgi?id=voting.html Voting]
    The fieldset tag with a legend makes for a nice visual presentation, but I wonder whether it has any other practical benefit? If it's semantically important, perhaps that would increase the priority for fixing it.

  • Xml generated does not confirm to xsd. (xmlns="" added to some tags)

    Hi,
    I am getting a problem with the xml generated by bpel. The xml generated is:
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><xxSunEvsOkcEntlSrvsProcessResponse xmlns="http://xmlns.sun.com/xxSunEvsOkcEntlSrvs"><X_CONTRACT_ENTL_TYPE><X_CONTRACT_ENTL_TYPE_ITEM xmlns=""><CONTRACT_HDR>NK20226742</CONTRACT_HDR><BUP_PROC_TBL><BUP_PROC>ACCR</BUP_PROC></BUP_PROC_TBL></X_CONTRACT_ENTL_TYPE_ITEM></X_CONTRACT_ENTL_TYPE><X_ENTITLEMENT_FLAG>Y</X_ENTITLEMENT_FLAG><X_ERROR xsi:nil="true"/></xxSunEvsOkcEntlSrvsProcessResponse></soapenv:Body>
    </soapenv:Envelope>
    The client is unable to parse this xml due to the xmlns="" for the tag X_CONTRACT_ENTL_TYPE_ITEM. The problem is due to the copy on the bple. i am copying the entire structure starting from X_CONTRACT_ENTL_TYPE from the plsql DBAdapter service to the bpel output. The xsd used for the client wsdl and the partner link are exactly the same.
    Any ideas as to why this could be happening.
    Thanks
    Anand

    Basically this comes down to a complex xsd. I'm assuming but I think you are using namespaces to help manage the xsd.
    If you can minimise the xsd references this may help.
    here is a basic complex type example
    <schema targetNamespace="http://example.com/Gateway"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="Message">
    <complexType>
    <sequence>
    <element name="Header">
    <complexType>
    <sequence>
    <element name="UniqueID" type="string"/>
    <element name="RoutingRule" type="string"/>
    <element name="FileName" type="string"/>
    <element name="Destination" type="string"/>
    <element name="TransportType" type="string"/>
    <element name="Attachment" type="string"/>
    <element name="MQMessageID" type="string"/>
    <element name="MQCorrelationID" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="Payload" type="base64Binary"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    hope this helps.
    James

  • Main content text does not scale down on iPhone

    Hello my Dreamweaver friends,
    I'm working on a site for a friend -- a simple fixed width layout (header, footer, sidebar and main content). It looks good on Safari and Firefox. But on the iPhone and iTouch the text in the mainContent area does not scale down to size with the <h> tags and the links on the Spry navigation bar. Is there a reason for that? Is there something I could do so that it all scales down?
    Another problem is that the right border I put on the Spry Navigation menu doesn't appear on my version of Internet Explorer.
    The link to the page, for what its worth, is http://www.daveharrison.info/tzs/index.html
    Thanks for any help!

    12 tips for iPhone Web Design
    http://articles.sitepoint.com/article/iphone-development-12-tips
    Also see this working Demo with media queries.  Resize your non-IE browser viewport and see what happens.
    http://alt-web.com/TEMPLATES/CSS-centered-round-boxes.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Snoop does not show any network traffic other than own machine

    Does anyone know of a way to troubleshoot a 3COM 3C900-Combo card? I reinstalled the card which lets the snoop command show activity of the machine but the card does no send or recieve (ping) any other machines onm the network. The IP and subnet are correct and the ifconfig - a shows the card as "up". Any help would be appreciated. I sur ewould like to get Solaris machine on my NT network.

    Hi,
    Please verify if in the BIOS the settings of "PNP OS" is set to FALSE, instead of TRUE. This may help fix the problem.
    If this does not resolve the problem can you please enclose a snipped output of the dmesg related to elxl0 and "ifconfig -a" output. Please confirm the sub net mask is set right. Cat /etc/netmasks to confirm.
    Hope the above helps.
    Thanks
    Sujeet

  • ITunes wifi sync - cover does not match with a song

    I synced music on iPhone with iTunes on MacBook via wifi. After sync, on my phone, almost all the songs had mixed covers. The cover does not match with a song - please see enclosed picture. I removed all the songs and downloaded them again from iTunes. It helped but not for all the songs. I tried sync with a cable but it did not work. The covers on iTunes on MacBook seem to be okay. Help, please?

    I am having similar problems after clicking yes when Software Update advised I needed OSX & iTunes update. I'm running Snow Leopard, and now I cannot open iTunes, run  iTunes on my computer, siync my iPod, anything. I wish I had NEVER clicked yes...

  • So I decided to try and 'Edge up' since I was practically at the mark. Seemed to go fine until I select my new device, then I get 'This device does not match the device ID on your original Edge Agreement.'. Odd because I've never switched phones, and i'm

    So only a few bucks left for the edge upgrade, decided to edge up since it gave me the option to do so, I figure why not?
    Process seems to go fine until i'm in the checkout for a new device.
    Tosses 'This device does not match the device ID on your original Edge Agreement. ' at me, but it's really strange because I'm using the phone I got direct from Verizon, haven't switched phones or anything.
    Has anyone had this issue before?

    Toxicle,
    I can understand how something like this can be concerning. Let's work to get to the bottom of this for you. What kind of phone were you Edging up from? Has the phone ever been replaced or removed temporarily? Just want to make sure we are getting all the facts to help with this issue.
    CandiceH_VZW
    Follow us on Twitter at @VZWSupport

  • When I open a raw file (NEF Nikon 7100)  and apply setting then click save, I get an error ( could not complete your request because of a program error ). Ideas?

    when I open a raw file (NEF Nikon 7100)  and apply setting then click save, I get an error ( could not complete your request because of a program error ). Ideas?

    Oh, dear.
    If you use PSE as your external editor for iphoto, you need to save the images back to iphoto by using Save, not Save As and not changing anything like the name or format that would bring up the Save As window. (You may need to adjust the editor prefs>saving files>on first save to save over existing.)
    OR you can export the photos from iphoto to the desktop, use file>open in the editor and then change whatever you want and either import the saved image to the organizer or import it back to iphoto as a new file. What you are doing is extremely risky, particularly to the iphoto library which you may easily damage by your workflow.
    I would start the organizer holding down the shift key, then create a new catalog and switch to the new one. Then try opening the editor without opening an image and see if you get any farther.
    PSE and iphoto are not designed to be used as you've been doing. You are trying to write to the iphoto library from outside iphoto, which is the fastest known way to corrupt the library and lose all your photos.

  • How do you select and move more than one bookmark at a time? Shift+Click does not select multiple items that are next to one another in a list because the item

    How do you select and move more than one bookmark at a time?
    Shift+Click does not select multiple items that are next to one another in a list because the items open in firefox before this happens.

    Use the bookmarks library. You may use Shift +Click, and Ctrl + Click to create groupings of selected bookmarks to drag and drop.
    * one method of opening the bookmarks library is keyboard shortcut <br /> Ctrl+Shift+B (Windows)
    *see also [[How to use bookmarks to save and organize your favorite websites]]
    *and [[Use bookmark folders to organize your bookmarks]]

  • I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition????

    I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition. In order to have a GUID partition, it suggested I go to disk utility and make the change. I couldn't see the partition tabs in the disk utility application. So how do I accomplish the GUID partition?

    The problem is, reformatting the partition may require you erase the hard drive.   Normally Intel Macs are preformatted GUID.    The fact that yours is not, says someone who initially installed the system on your Mac did you a disservice.   Regardless, you should backup your data before you upgrade.  GUID formatted drives generally are not compatible with iBooks (pre-2006 consumer notebooks by Apple) Powerbooks, and PowerMacs, and iMac G5s.    So if you indeed have machine with the MacBook name on the screen frame, it was not properly formatted from the beginning.  

  • Cannot send mail A copy has been placed in your outbox. The recipient was rejected by the server because it does not allow relaying.

    "Cannot send mail
    A copy has been placed in your outbox. The recipient was rejected by the server because it does not allow relaying."
    How can I fix my email? Now when I try to send an email I get the above message. It was working for months now it just quit on my ipad2, (but it still works on my iPad1 not updated to 5.0 operating system)? Help!?
    Thanks,

    Try going into the account's outgoing SMTP server settings, and if they are not already filled in add your account id and password to the outgoing settings : Settings > Mail, Contacts, Calendars and then select the account the account on the right-hand side and go onto into it's SMTP server settings

Maybe you are looking for

  • Help! not alert and notification for sms incoming

    All sounds of my IPhond working, but if I recive text or imessage there is no alert and no notification (ther isn't the little number near the icon). In general setting the sound are activate..  What's the problem??

  • Protected View Error "The file is corrupt and cannot be opened"

    All  I have a problem with Protected View in Office 2010 on Windows 7. Symptom:  When downloading a file from the Internet, the file will not open if launched directly from the source location, or saved locally and then opened.  This is impacting bot

  • How many concurrent VPN client sessions available for cisco 2621XM?

    I have cisco router 2621XM with IOS c2600-advipservicesk9-mz.124-11.T4. I want to know, how many concurrent VPN client sessions can be available in this image.

  • Annotations for adobe reader

    Hi there I use adobe reader for college and find it perfect. This week I have tried to add notes and highlight different parts o the lecture notes and I can't find the annotation button. I have deleted the app and reinstalled it but the same thing ha

  • User log in & log out time SAO

    Dear Experts, I hope every on fine. How to check the user log in & log out time daily & weekly in SAP. Thanks in advance Regards Dilip Pasila