DW CC - Responsive Design: Questions about properties inherited from CSS

Hey all.

I learn a lot, but I've only been designing web sites for a short time now.  I use Dreamweaver CC and use sensitive design patterns.

Here's the long and short of it:

The delicate design model uses 3 @media CSS selectors in the following hierarchy:

-Global: (less than broad 481px)

-Tablet: (between 481-wide 768px)

-Desktop computer: (above 769px, 980px wide max)

As you can see, overall is 'Mobile' design, but it is at the top of the hierarchy.

I'm trying to display: no the .header h1, h2, p ONLY in the .header of mobile display.

(No media selector: IE: overall)

.header h1, h2, p {
          display: none;
}

The problem is all h1, h2, and p in the css elements all have disappeared.  Even those of other classes in the other views.

I did something wrong?  How can I create a selector for the (global) .header class it will affect, say, .other_class ?

Get it; If I change something in the world, nothing further down in the hierarchy must be attached.  That is done through the display: xxxx ?

Example:

/* Global Settings: Mobile format (less than 481px wide)*/

.header h1, h2, p {
     display: none;
}


/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {

.header h1, h2, p {
     display: compact;
}
}

Any help is appreciated.  I can post full CSS / HTML if necessary.   I thought that these excerpts should be sufficient to demonstrate, though.

Hello

To change the display only in the mobile layout, you will need to use a media query, otherwise it will apply to all screen sizes-

@media only screen and (max-width: 480px){

.header h1, h2, p {
     display: none;
}

}

PZ

Tags: Dreamweaver

Similar Questions

  • Questions about properties for the framework document creator

    Please tell me how to set value of creative properties document

    I tried the below coding

    PDOCConfig newConfig = PDDocGetOCConfig (newDoc);

    AsText(g) creatorText = PDOCConfigGetName (newConfig);

    creatorText = ASTextFromScriptText ("Value Creator", kASRomanScript);

    PDOCConfigSetCreator (newConfig, creatorText);

    ASTextDestroy (creatorText);

    Creation of the API is perfectly, but the performance of the tool of his display error in Acrobat that I attached the screenshotted for your reference

    screenshot.PNG

    Please help me on this

    Kind regards

    Hervé

    I you have posted this link before, but I think that nobody here has the time to download your code and debug for you - for free. I can only speak for myself, but I generally for it. If you want to (free) help make our jobs easier to come up with a question says: what you're doing, how you're doing, and what is happening.

    Karl Heinz Kremer

    KHKonsulting.com

  • No response to questions about the updates on the CC or LR Help menu

    I recently spent my account for a free membership of canon 1 year after having bought a camera from them.  Now, I find that when I click on the drop-down list on CC emblem at the top of my screen, it is empty.  Also, when I try to see the updates from one of the two LR or CC applications, I get no answer.  What has gone wrong

    Hello

    I think you are referring to the white empty window of CC desktop application.

    Please refer to the threads below where this issue has been addressed:

    Creative cloud is empty window why?

    Cloud Desktop App is empty?

    New application Cloud Creative unusable: it is empty!

    Re: Empty opening creative cloud app

    Kind regards

    Sheena

  • Design question about backups and RMAN

    I am pretty green with RMAN and need happen to a backup process that fits within my environment who are:

    (1) disc can hold the PLUS 1 full backup and the value of the day of archive logs
    (2) tape can hold up to 30 days of archive logs and backup complete for the whole duration so
    (3) our tape backup solution don't play nice with RMAN so the method we use is THAT RMAN writes to disk and our copies of backup tape from a location on the tape drive.

    What I want to do is trick recovery catalog thinking 30 days ago or more games of backup to disk, while having only a day on the drive actually. Is this a smart move, or can I keep the catalog of recovery in harmony with what is on the disk (so keep backups on disk only in the catalog) and if I need to come back in 2 days or more in the past, re-Catalog backup sets restored a strip (if that is even possible)?

    Thank you

    John

    CJohnRun wrote:
    I am pretty green with RMAN and need happen to a backup process that fits within my environment who are:

    (1) disc can hold the PLUS 1 full backup and the value of the day of archive logs
    (2) tape can hold up to 30 days of archive logs and backup complete for the whole duration so
    (3) our tape backup solution don't play nice with RMAN so the method we use is THAT RMAN writes to disk and our copies of backup tape from a location on the tape drive.

    I also have a similar setup at my end taking the RMAN backups on drives and back up tapes. But in my case, I supported the RETENTION POLICY to REDUNDANCY 2. So full backup which is more than 2 copies is removed.

    What I want to do is trick recovery catalog thinking 30 days ago or more games of backup to disk, while having only a day on the drive actually. Is this a smart move, or can I keep the catalog of recovery in harmony with what is on the disk (so keep backups on disk only in the catalog) and if I need to come back in 2 days or more in the past, re-Catalog backup sets restored a strip (if that is even possible)?

    In your case, as you said, you have 2 options:
    1. simply delete the backups on disks (as they were already saved to tapes) and a full backup. Here, you will not run an OVERLAP as well as no. invalidate the old backups in the catalogue, or recovery

    2. maintain RESTRAINT POLICY to REDUNDANCY 1, whereby your recovery catalog has accurate status on the backup information. In this case, you must keep the AUTOMATIC backup with your full backups in the bands. If you lose you will have troubles recoveing the backup of this day.

    In my opinion the 2nd option is preferable, although you have to recataloguer to use it. I tested how recovery with this situation on my blog at: http://oracleendeavor.blogspot.com/2010/02/disaster-recovery-using-rman-backups.html

    HTH

    Kind regards
    Z.K.
    http://oracleendeavor.blogspot.com/

  • Questions about the upgrade from 4.1 to 5.1

    I posted the following to the thread in the forum of Vsphere upgrade, and in five days I got ZERO responses. Perhaps more here and even here is the wrong place to post things, or maybe I'm not questions easily answer. I'll post it here too, since it mainly Virtual Center, I think. Maybe someone can help me or tell me what is the problem with my announcement that allows to go unanswered. Here we go:

    I'm about to upgrade my little (1 4 host ESX and Virtual Center) environment vSphere 4.1 and 5.1.  My database to the virtual Center lives on a separate SQL server 2008R2 server. My virtual Center Server is virtual, if that matters. I have upgraded my licenses and read the documentation, to try to formulate a plan that escapes enough causing any downtime for my virtual machines.

    I am designing a series of steps that are all pretty low, and such that each step does not harm anything, whereas if I have problems, I can take my time to solve. Then, when this step is stable, I can continue to the next step. I want to tell you what I have in mind, ask a question here and there and hope you can report errors that I make and answer my questions. The big picture is:

    1 Virtual Center update and give him a few days to show me any problem before doing anything else.

    2. upgrade to a host ESX 4.1 5.1 ESXi. Convince me things are okay, before you do more.

    3. put to level the other three 4.1 ESX hosts. Make sure that everything is fine.

    4 create new LUNS, formatted with the new VMFS, move my VM to them and remove the old one.

    If there is nothing wrong with this basic plan, please let me know.

    More details and questions:

    Question: The docs say my Virtual Center Server, under the SSO, the inventory service and the virtual Center Server, will need TEN GIGABYTES of RAM.  Is this true? It seems insane to me.

    Question: Can I install on my Virtual Server 4.1 single signon Center without DANGER?  In other words, its installation will prevent Server 4.1 virtual work center? I hope I can, because it is a new feature that I have trouble with. I don't want to get into a situation where my old virtual server Center does not work, and I can't get the new work.

    Question: The VI 4.1 client can talk to Virtual Center 5.1? The VI Client 5.1 can talk to Virtual Center 4.1? I hope that the answer to one of the people is 'yes '.

    Step 1: Create a backup of my virtual Center VM (with vRanger connection, if this is important) and a backup of my SQL database.

    Step 2: Install single Signon. Here is where I hope that this does not stop 4.1 virtual work center.

    Step 3: Upgrade the inventory Service and Virtual Center to 5.1

    Step 4: Install VI Client 5.1 on the VM virtual Center and on my desk from which I usually manage my environment.

    Step 5: Wait I'm comfortable that everything is fine. It is perhaps a day or two (or more).

    Question: How can I spend my hosts for maximum security? I'd rather put a DVD in the drive and do it from the console, unless this is not a good way.

    Question: Before I update a host, should I remove the fiber channel cables, so he can't see my VMFS LUNS? I think I read that somewhere, and it sounds like a good thing to do, even if I do not have.

    Step 6: Upgrade a host ESX 4.1 5.1 ESXi. Move a couple of virtual machines essential to it and he give a day or two to settle.

    Step 7: Upgrade the other three ESX host.

    Step 8: Wait until I'm really, really comfortable with things.

    Step 9: Create a new LUN VMFS5, migrate my VMs to them over time and remove the old one.

    I would greatly appreciate all advice and attention that you may have.

    Question: The docs say my Virtual Center Server, under the SSO, the inventory service and the virtual Center Server, will need TEN GIGABYTES of RAM.  Is this true? It seems insane to me.

    If your environment is small you can run all these in one and ofcouse if you execute all these in a server you need more RAM... There is no limit.

    Question: Can I install on my Virtual Server 4.1 single signon Center without DANGER?  In other words, its installation will prevent Server 4.1 virtual work center? I hope I can, because it is a new feature that I have trouble with. I don't want to get into a situation where my old virtual server Center does not work, and I can't get the new work.

    normally if you think only in terms of scalability, it is good to have separate these things... He is sure no questions evey thing won't work if you install it on the same server also.

    Question: The VI 4.1 client can talk to Virtual Center 5.1? The VI Client 5.1 can talk to Virtual Center 4.1? I hope that the answer to one of the people is 'yes '.

    The VI 4.1 client can talk to Virtual Center 5.1? No, but talk about Client 5.1 Virtual Center 4.1

    Step 1: Create a backup of my virtual Center VM (with vRanger connection, if this is important) and a backup of my SQL database.

    Step 2: Install single Signon. Here is where I hope that this does not stop 4.1 virtual work center.

    Step 3: Upgrade the inventory Service and Virtual Center to 5.1

    Step 4: Install VI Client 5.1 on the VM virtual Center and on my desk from which I usually manage my environment.

    Step 5: Wait I'm comfortable that everything is fine. It is perhaps a day or two (or more).

    these steps are ok

    Question: How can I spend my hosts for maximum security? I'd rather put a DVD in the drive and do it from the console, unless this is not a good way.

    BLI, or DRAC suites method what ever you... very well.

    Question: Before I update a host, should I remove the fiber channel cables, so he can't see my VMFS LUNS? I think I read that somewhere, and it sounds like a good thing to do, even if I do not have.

    Installing esxi will not hurt of thing... to the old VMFS... It will ask to keep or to format the old vMFS... BUT I prefer to remove the cables... BECAUSE we are humans...

    Step 6: Upgrade a host ESX 4.1 5.1 ESXi. Move a couple of virtual machines essential to it and he give a day or two to settle.

    no need... . If the hardware is on the HCL, I mean the firmware/driver etc... for the esx is on the HCL, then no problem...

    Step 7: Upgrade the other three ESX host.

    Step 8: Wait until I'm really, really comfortable with things.

    Step 9: Create a new LUN VMFS5, migrate my VMs to them over time and remove the old one.

    assign the new LUN and create VMFS and migrate... It'S her!

  • Question about DW CS3 generated CSS code...

    In the attached code of a page, that I am, you will see that the .twoColFixLtHdr class is applied to several areas of the declaration. This class is the only one ever but she is shared with the ID.

    The page comes from a DW generated pages, namely the "two fixed column, left sidebar, header and footer." Since I am still a beginner with CSS, I can't understand this.

    The class is applied to the < body > tag. Does this mean that all of these CSS statements where appears the .twoColFixLtHdr class is applied to the < body > tag?

    Thanks for everything that will inform about it. I have a feeling it's quite simple...

    Tuesday, August 5, 2008 07:52:17 + 0000 (UTC), "brainfillet".
    wrote:

    > I have read up on CSS since the last post (no response from any force "
    (> me to read the book!). I understand now is that .twoColFixLtHdr «»
    "> #container" and others are descendant selectors.

    Yes
    >
    > My questions now, very simplified: it will be OK to remove all occurrences of
    > ".twoColFixLtHdr?

    If it a new site - then yes remove all occurrences of
    .twoColFixLtHdr in html and css
    change

    TO

    > Also, what is the point of this class, which is never
    > only, but it is only one component of a descendant selector. If I can pull
    > all instances of it (which I guess I can, and the page seems to work
    (> fine), why DW put there when she has generated the original file?

    I asked the same question there not so long ago - and Murray noted quite rightly
    make sure if you use older editions of code
    your site - it ensures that if there are duplicate css examples in
    old code and the model Dw - Dw code has priority (it has a higher level
    specificity).

    --

    ~ Malcolm ~ *...
    ~*

  • Satellite L30: A few questions about the change from Vista to Win XP

    My satellite L30 has Vista Home Basic preinstalled, but I decided that Vista is still a little slow & buggy and would like to change to WinXP Pro. I have 2 questions-

    1. a change to XP will extend the battery performance? (currently 1 h with no wifi I think it's pretty poor)

    2. I intend to reformat the hard drive for all the hidden partitions will be lost. If I decide to go back to Vista, at a later date I will be able to reinstall using the "upgrade" dvd that came with my computer? I think I'm wrong in saying that this dvd contains a full version of Vista, but I wonder if my serial number still working?

    Thank you

    Hello

    If you bought the L30 with Vista operating system preinstalled, then I presume that you have received also the Toshiba Vista recovery CD.
    The Vista on the recovery CD is already enabled and you don't need to enter keys t.

    Regarding your battery question: well as you know the battery working time depends on the use of the laptop. Performance heavy on the laptop running decreases the life of the battery. It is a fact.

    But you assume the Vista needs of more resources for laptop as the XP and the Vista operating system wastes more energy than other operating systems.
    I think if you install XP on the laptop, you should be able to work with the battery a little longer as with Vista.

    Concerning

  • Another question about removing icons from home page

    the User Guide says I can delete unwanted icons from my homepage pulling them to the trash... However, I have no trash on my homepage... I hit all the panels, but no trash. The guide shows one... What don't get me?

    Thank you all... it will be questions for tonight...

    Jackson

    Jackson,

    The trash can will appear instead of the circle (between the dialer and contacts buttons) that pulls the apps is, after you press and hold the widget or icon

    you want to remove.

  • Questions about changing OS from Vista to XP on Satellite P100-160

    Hello

    I wonder if someone could help me... I don't like Windows Vista with a passion and I would much change for Windows XP.

    My P100-160 provided with Windows Vista pre-installed, but until now I feel of it is poor to say the least! So I'd like to return the easy to use Windows XP.

    Could you get it someone please let me know if there is something special I have to do in order to get XP to run properly. I've been reading through some of the questions on the forums on this topic, but want a nice simple step 1, step 2, etc. to ensure that I do the things first.

    Thanks in advance for any assistance received.

    Best regards

    Yvonne

    Hello

    You need description step by step? Come on man :)

    Do everything simply if you want to install the XP. During the installation of XP, you will need to format the HARD disk, partition to install XP on the laptop.
    Then, after the installation of the OS, you could install the drivers of Toshiba which can be downloaded from the Toshiba driver page.

    Please note that you need XP compatible drivers! As far as I know that the Satellite P100-160 belongs to the PSPAAE series. So please choose this one if you download the drivers.

    In addition, you will need to install drivers in the correct order. Placed on the Toshiba page installation instructions could be very useful!

    Best regards

    Goodbye ;)

  • Iscripts - a question about the call from one

    We need to call an Iscript. I read that they reside inside the PeopleCode FieldChange. Does this mean that the only way to call one is to create a form with a field and change the value? That seems to be a clumsy way to run a script from the internet.

    Thank you


    Allen Cunningham
    DBA - University of State of Sonoma
    System of California State University

    Call an iScript uses the standard HTTP paradigms, concepts, etc. If you have an HTML form and set the URL of the iScript form action, then the iScript will receive the HTTP GET/POST (depending on what you have chosen) and can then access the settings and write a response. If you place a link on a page and the URL of this link to the iScript point, then the iScript will receive the request and write a response. If you make an Ajax HTTP request in an iScript, your JavaScript response Manager will be able to read the answer and do something with it. If you add an IFrame to a page and set the source of the iframe to the URL of the iScript, then the iframe will show the response of the iScript.

    Basically an iScript is just a dynamic just as web page no matter what ASP, PHP, JSP, etc.

  • A few Questions about the slices from Photoshop with Dreamweaver

    1. I noticed later with CS4, if I have several layers to do the bearings once I am in Dreamweaver that the layer under the main switch, does not export.  I think it was.  I then disable the button 1 (the top one) then this 2 button is visible and export the images AGAIN...  Usually in another folder, so it replaces all the previous images.  How can I get all the layers and slices to export in one fell swoop?  I think I'm missing a checkbox somewhere but can't find it.

    2. If I keep all slices in the same places they run and do not change anything with regard to their positioning.  Could I make graphic changes to a slice and then ONLY to EXPORT THAT SLICE?  He seems to want to export all the slices and I feel that could make me have to recode everything new in Dreamweaver.

    3. Finally, you guys actually code the slices into photoshop or dreamweaver?  I think you can do one, but I do it in dreamweaver because that's where I do rollovers.

    I KNOW I'm doing something wrong and I try to understand what he.  Now I design a webpage, slice it upward, export it in html and graphics, then in dreamweaver, I have to remove a slice, then add once again as a rollover image in DW.  Seems wrong, but it does not work.  It's just a pain because if I have to make changes to the site, it seems that I have to re-export all of PS againnnnnn and then it all with recode bearings etc in DW.

    Thanks for all the advice and answers!

    1. you must save each State separately unless you make a psd for buttons only, then you can copy - paste the buttons and record all the States in the form of separate buttons at once.

    2. by default, that the images are placed in a folder of Images, if it does not find one then he creates then save your image then just outside the pictures folder or change the behavior of the dialog box save optimized slot by selecting from the drop-down list of settings and deselecting the Images to put in the box of the folder for saving files section

  • Question about the app from the App Store

    A screenshot of something related to the app from the App Store.  It has been around for years, but I can't find any reference to it.  What is c?

    It's a mystery.

    Mac mini end of 2012, i7 2.6 G, 16GB mem, El Capitan 10.11.6

    It appears and disappears at random, seldom (monthly?), don't know what triggers it.  I don't find it in the list of processes?

    It is irritating and seems harmless, but who am I to judge a prejudice.

    Johno-

    Try to validate fonts and, if necessary, to restore the Unicode Standard.

    Police book - validate fonts

  • Question about deleting podcasts from a single device

    I use the same Apple ID for all my devices, but I only listen to podcasts on my iPhone and podcasts take up a lot of space on my iPad. Is it possible to unsubscribe or remove my iPad podcasts without unsubscribe or remove them from my iPhone?

    Hi jbennettrv,

    Thank you for using communities Support from Apple.

    If you want to unsubscribe to a podcast on a specific device, you must make sure and turn off the option to sync Podcasts in your podcast settings:

    To stop synchronization of podcasts on your iPhone, iPad or iPod touch:

    1. Tap Settings > Podcasts.
    2. Under Podcast settings, turn off sync Podcasts.

    On the application of Podcasts

    Take care.

  • Question about deleting data from the HARD drive

    Hello

    The C drive on my computer satellite phone is almost full, 1.21 Gb free of 55.7 and drive E has 10.9 GB 36 GB free. How can I solve this problem. I am not concerned by what is deleted. It can go if you have to.

    Slowing down the laptop down to something serious.

    Any help would be great.

    Hello

    It seems that drive E has little more free space
    So, you can move some files like photos, movies, files pm3 or any that you have stored on the partition, the partition E.

    You can also reduce the E partition and can add free space on the C partition.
    To do this, you must use a 3rd party software
    I recommend using a freeware tool called * Gparted.*

    How to get it? Google is your friend ;)

  • Question about exporting data from Virtualbench.

    Hello

    I am new to the forums and VirtualBench and hoped that someone might be able to help.

    When I export data from the VirtualBench, I get 4 columns of data for the 2 channels. They are "1 Min", "1Max", "2 Min", "2Max.

    Example:







































    Timestamps (ns) 1 min 1 Max 2 min Max 2
    -3000600000 -0.205761317 0.12345679 -0.013168724 -0.001646091
    -2990598000 -0.205761317 0.12345679 -0.013168724 -0.003292181
    -2980596000 -0.205761317 0.12345679 -0.013168724 -0.003292181
    -2970594000 -0.205761317 0.12345679 -0.013168724 -0.001646091

    I don't understand what means min/max. I have not any spread. VirtualBench takes in fact several samples at each point?

    Thank you.

    In some places, VirtualBench application will automatically the peak of detection equipment.

    Peak - detect mode, over-samples scope and returns the minutes and the maximum voltage in each period the sample.

    You can manually control the sample mode by going to the settings of acquisition:

Maybe you are looking for