How to get rid of a CSS style instance that is effecting the wrong page

I am new to CSS and I am working in Dreamweaver CC.  I am mostly designing in the large screen view and then making my changes to the tablet and phone later.
I have the large screen design finished, and now am making changes to the tablet size. I am working on the footer (for example) and when I change the margins and sizes of the elements in the footer, it is changing the large screen version as well.  It is almost like the CSS instance for the footer is overriding my Global CSS for the footer on the large screen version.
This is so confusing to me, I thought I could make changes in the tablet version and it wouldn't effect the other screens.
What do I do to get the tablet CSS to stop effecting my large screen?
thank  you

@charset "UTF-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/
img, object, embed, video {
  max-width: 100%;
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
  width:100%;
  Dreamweaver Fluid Grid Properties
  dw-num-cols-mobile: 5;
  dw-num-cols-tablet: 9;
  dw-num-cols-desktop: 13;
  dw-gutter-percentage: 20;
  Inspiration from "Responsive Web Design" by Ethan Marcotte
  http://www.alistapart.com/articles/responsive-web-design
  and Golden Grid System by Joni Korpi
  http://goldengridsystem.com/
.fluid {
  clear: both;
  width: 100%;
  float: left;
  display: block;
.fluidList {
    list-style:none;
    list-style-image:none;
    margin:0;
    padding:0;       
/* Mobile Layout: 480px and below. */
.gridContainer {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  clear: none;
  float: none;
#top {
.tagline {
  width: 100%;
  clear: both;
  margin-left: 0;
  /* [disabled]margin-top: 50px; */
  /* [disabled]top: 50px; */
  position: static;
  display: block;
  float: left;
  text-align: left;
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
  font-style: italic;
#mainNav {
  background-color: #30434D;
  width: 100%;
  background-repeat: repeat-x;
  float: none;
  clear: both;
  height: 35px;
#navMenu {
  clear: none;
  margin-left: 0;
  position: static;
#menuChoices {
clear: both;
margin-left: 0;
width: 100%;
position: static;
height: auto;
#menuChoices a:hover{
  background-color: #3192D8;
  display: block;
#menuChoices a:link{
  color: #FFFFFF;
  text-decoration: none;
.menuItem {
  color: #FFFFFF;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  font-size: small;
  font-weight: lighter;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 100%;
  clear: both;
  margin-left: 0;
  background-size: auto 35px;
  display: block;
#div2 {
  display: block;
#SubHead {
  clear: none;
  float: left;
  position: static;
  height: auto;
  width: 100%;
#mainSubHead {
  text-align: center;
  width: 100%;
  clear: none;
  margin-left: 0;
  position: static;
  height: auto;
#div3 {
width: 100%;
#promoBlocks {
#div4 {
clear: both;
margin-left: 0;
width: 100%;
#PromoBlocks {
  display: block;
  text-align: center;
  background-color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 50px;
  position: static;
  height: auto;
  width: 100%;
.PromoItem {
width: 100%;
clear: both;
margin-left: 0;
.PromoButtons {
  color: #FFFFFF;
  font-size: small;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  display: block;
  height: 30px;
  background-color: #3192D8;
  line-height: 30px;
  clear: both;
  margin-left: 0;
  width: 100%;
#mainContent {
  background-color: #30434D;
  color: #FFFFFF;
  width: 100%;
  clear: both;
  float: left;
  position: static;
  height: auto;
  margin-left: 0;
  background-repeat: repeat;
  background-image: url(../grayTexture2.png);
.content {
.contentStyle {
  padding-left: 30px;
  width: 85%;
  padding-right: 20px;
  margin-left: 0;
#mainAside {
  width: 350px;
  float: left;
  clear: right;
  position: static;
  height: auto;
  margin-left: 0;
  padding-left: 25px;
#mainFooter {
  float: left;
  clear: both;
  background-color: #3192D8;
  width: 100%;
  display: block;
#footerLogo {
  width: 250px;
  padding-top: 15px;
  padding-left: 30px;
#footerInfo {
  width: 500px;
  float: left;
  clear: right;
  color: #FFFFFF;
  font-style: normal;
  font-weight: 200;
  font-family: source-sans-pro;
  margin-top: 70px;
  margin-left: 0px;
#asideBrochure {
width: 100%;
margin-left: 0;
clear: both;
#asideVideo {
width: 100%;
margin-left: 0;
.zeroMargin_mobile {
margin-left: 0;
.hide_mobile {
display: none;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
  width: 100%;
  padding-left: 0%;
  padding-right: 0%;
  clear: none;
  float: none;
  margin-left: auto;
#top {
.tagline {
width: 100%;
clear: both;
margin-left: 0;
#mainNav {
  background-color: #30434D;
  background-repeat: repeat-x;
#navMenu {
clear: both;
margin-left: 0;
position: static;
#menuChoices {
margin-left: 0;
clear: both;
width: 100%;
position: static;
height: auto;
.menuItem {
  width: 13%;
  margin-left: 1.8867%;
  text-align: center;
  float: left;
  clear: none;
  height: 35px;
  vertical-align: middle;
  display: block;
#div2 {
#SubHead {
position: static;
height: auto;
width: 100%;
#mainSubHead {
clear: both;
margin-left: 0;
position: static;
height: auto;
width: 100%;
#div3 {
width: 100%;
#promoBlocks {
#div4 {
clear: both;
margin-left: 0;
width: 100%;
#PromoBlocks {
  float: left;
  display: block;
  text-align: center;
  position: static;
  height: auto;
  width: 100%;
  margin-left: 0;
.PromoItem {
  clear: both;
  display: block;
  text-align: center;
  padding-left: 0px;
  float: left;
  margin-left: 25%;
  width: 400px;
.PromoButtons {
  display: block;
  height: 30px;
  background-color: #3192D8;
  line-height: 30px;
  clear: both;
  margin-left: 0;
  width: 100%;
#mainContent {
  width: 100%;
  clear: both;
  margin-left: 0;
  float: left;
  position: static;
  height: auto;
.content {
.contentStyle {
  width: 88.6792%;
  margin-left: 0;
#mainAside {
width: 100%;
margin-left: 0;
position: static;
height: auto;
#mainFooter {
#footerLogo {
#footerInfo {
  margin-left: 25px;
#asideBrochure {
  width: 32.0754%;
  margin-left: 1.8867%;
  clear: right;
  float: left;
#asideVideo {
width: 43.3962%;
margin-left: 0;
.hide_tablet {
display: none;
.zeroMargin_tablet {
margin-left: 0;
/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
    width: 100%;
  max-width: 1920px;
  padding-left: 0;
  padding-right: 0;
  margin: auto;
  clear: none;
  float: none;
  margin-left: auto;
#top {
.tagline {
width: 79.3103%;
margin-left: 1.2987%;
clear: none;
#mainNav {
  background-color: #30434D;
  background-repeat: repeat-x;
#navMenu {
margin-left: 1.2987%;
clear: none;
position: static;
#menuChoices {
  display: block;
  height: auto;
  clear: both;
  margin-left: 0;
  width: 100%;
  position: static;
.menuItem {
  width: 14.2857%;
  margin-left: 1.2987%;
  clear: none;
  height: 30px;
  line-height: 35px;
  text-align: center;
  background-size: auto 35px;
  display: block;
  padding: 0px;
#top img {
  text-align: left;
  background-repeat: no-repeat;
  float: left;
  margin-left: 10px;
#div2 {
#SubHead {
  position: static;
  margin-left: auto;
  height: auto;
  /* [disabled]width: 1000px; */
  top: 586px;
  left: 0px;
#mainSubHead {
  margin-left: 0;
  clear: both;
  position: static;
  height: auto;
  width: 100%;
#div3 {
width: 100%;
#promoBlocks {
#div4 {
margin-left: 1.2987%;
clear: none;
width: 29.8701%;
#PromoBlocks {
margin-left: 0;
position: static;
height: auto;
width: 100%;
.PromoItem {
width: 29.8701%;
margin-left: 1.2987%;
clear: none;
.PromoButtons {
  display: block;
  height: 30px;
  background-color: #3192D8;
  line-height: 30px;
  width: 100%;
  margin-left: 0;
#mainContent {
  clear: both;
  margin-left: 0;
  position: static;
  height: auto;
  width: 100%;
.content {
.contentStyle {
  width: 45%;
  margin-left: 0;
#mainAside {
  width: 37.6623%;
  position: static;
  height: auto;
  margin-left: 0;
#mainFooter {
#footerLogo {
#footerInfo {
  line-height: 30px;
  display: block;
  height: 30px;
  float: none;
  clear: none;
#asideBrochure {
width: 100%;
margin-left: 0;
clear: both;
#asideVideo {
width: 100%;
margin-left: 0;
.zeroMargin_desktop {
margin-left: 0;
.hide_desktop {
display: none;
.mainSubHead {
  color: #FFFFFF;
  background-color: #F60;
  display: block;
  font-family: questrial;
  font-size: 30px;
  margin: auto;
  height: 40px;
  line-height: 40px;
  font-style: normal;
  font-weight: 400;
.mainSubHead {
  color: #FFFFFF;
  background-color: #F60;
  display: block;
  font-family: questrial;
  font-size: 30px;
  margin: auto;
  height: 80px;
  line-height: 40px;
  font-style: normal;
  font-weight: 400;
.PromoButtons a:link {
  color: #FFFFFF;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  text-decoration: none;
.PromoButtons a:hover {
  color: #FFFFFF;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  text-decoration: none;
  background-color: #30434D;
  display: block;
  background-size: auto 30px;
Yes, I am using one CSS file for all three media queries... Is this wrong?

Similar Messages

  • I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  Help!

    I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  I have deleted it from iTunes but cannot get it off the phone.  Help!

    The banner usually indicates that the memo is "Paused." If you go back into voice memos, touch the word "Done" beside the big red pause button, give it a name, then it will show in a list. Touch the memo in the list then touch the trash can icon that should appear.

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • Just upgraded iPhone 3GS to IOS5. Now there's 21GB of Others.  How to get rid of it?  It's taken up all the space on the phone.

    Just upgraded iPhone 3GS to IOS5. Now in itunes I can see there's 21GB of Others.  I have no idea what is that.  I didnt have that before the upgrade. How to get rid of it?  It's taken up all the space on the phone.

    I posted a fix for this temporary issue earlier but here it is in short:
    The memory "hog" that is "others" seems to be the OS as it's installing. It seems to want more than 12GB and you may get stuck at the point where iTunes tries to load everything back on and the iPhone has run out of space. What you need to to is un-check the "sync" box at the apps, music, podcasts and other sections, then click the button to sync iTunes with iPhone. This will result in iTunes deleting all the data it restored, but you'll put it back later. Once you caused the deletion of most of the data, iOS5 will resume installing and then "magically" shrink to less than 1GB. Then you can place check marks back in the boxes and re-sync all your apps and other data. You will have plenty or memory left.
    I followed the above procedure and my iPhone works perfectly.
    Hope this helps.

  • How to get rid of files on time machine that no longer exist

    I replaced my computer several months ago when my old one died. A large amount of data which was in a partition on my old computer is still on my time machine and is taking up a lot of space and forcing time machine to delete backups much sooner than I would like. I don't know how to get rid of it. If I try to delete that folder from an individual backup, I get the message, "The operation can't be completed because backup items can't be modified." Of course, I can't delete it from my new computer because it's not there! Any help appreciated.
    Marion

    The best method is to archive the contents of the TC to a disk.. archive is available via the airport utility.
    Simply plug in a USB drive large enough to store all the material presently on the TC, 1TB or 2TB or 3TB.. whichever model it is.
    Archive I have drawn red box around.
    Once the archive has completed ..
    Use the Erase disk.. just the Quick erase is ok.. takes a couple of min and then you have a nice empty drive to start loading TM backups on.

  • How to get rid of an unwanted search url that pops up automatically

    I downloaded this music program iMesh, and now every time I go to another tab it automatically takes me to the iMesh search engine. And I have iGoogle as my homepage but it doesn't take me to iGoogle. How do I get rid of this iMesh? I've uninstalled the program already.

    I downloaded this music program iMesh, and now every time I go to another tab it automatically takes me to the iMesh search engine. And I have iGoogle as my homepage but it doesn't take me to iGoogle. How do I get rid of this iMesh? I've uninstalled the program already.

  • TS3899 The Mail icon on my iPhone 4s says I have 1,504 unread emails.  I've gone in and cleaned out all my email (sent it to Trash, then emptied the Trash), and when I go to my email, it says no mail.  How do I get rid of this 1,504 emails that aren't the

    The mail icon on my iPhone says I have 1,504 unread messages, but when I go to delete them, it says "No Mail".  I was trying to "clean out" my phone because I can't access my Words With Friends app - everytime I try to go there, it kicks me off.  I still get messages from Words saying my friends are waiting for me.  Any ideas on either of these issues?

    all fixed ha

  • I cant update nor download any applications. My password was always invalid. And other username is prompted richardca0521@yahoo.ca which is not my account. How to get rid of this apple id and use my account for download? I have registered this to itunes.

    I can't update nor download any apps in itunes. Prompted invalid password, upon checking the apple id was not mine. The id was [email protected] whic is not mine. Pls. Help how to get rid of this. Thank you.

    try and delete the apps and re-add them

  • Ever since I was with my iPad in France, it goes to the French app store instead of to the Netherlands' one. As a consequence, I am unable to download any app. How to get rid of this problem? Iregularly travel from the Netherlands to France.

    Ever since I was with my iPad in France, it goes to the French app store instead of to the Netherlands' one. As a consequence, I am unable to download any app. Not in France, because my bank account number is Dutch (it says), not in the Nteherlands because I should buy in the Dutch app stoe.
    How to get rid of this problem? I regularly travel from the Netherlands to France.
    Thanks in advvance,
    Hans

    You can find out how to get service for your iPad on this web page:
    http://support.apple.com/kb/index?page=servicefaq&geo=Philippines&product=ipad
    Regards.

  • How to get rid of pix in my iphoto library that are not imported?

    I needed to clear the memory card of my husband's camera recently, and didn't have the canon software installed on my computer. So I tried using iphoto, but it crashed because the movies are high resolution and I guess iPhoto couldn't handle it. I managed to get them transferred another way, but now every time I launch iPhoto I get a message telling me that there are images in my iPhoto library that are not imported, and asking if I want to import them. If I try to import them, iPhoto crashes again. If I say "cancel" I get the same message again next time. I tried going into the finder to get rid of them but don't know where they are. No matter what I try to throw away, I still get the same message. How to get rid of those photos?

    and didn't have the canon software installed on my computer.
    You could also have used Image Capture in your Applications Folder.
    but it crashed because the movies are high resolution and I guess iPhoto couldn't handle it.
    iPhoto managed high resolution just fine. Perhaps you don't have the correct codec.
    To solve you more immediate problem: go to your Pictures Folder and there you'll see your iPhoto Library Folder. Open it and inside you'll see a folder called 'Importing' or something close to that. Drag it to the desktop. Restart iPhoto. Does that help?
    Regards
    TD

  • How to get rid of a Digeste.dll error

    Does anyone know how to get rid of a digeste.dll error that is in my C:\window\system32 safely
    Thanks
    Bob
    Solved!
    Go to Solution.

    lordkirivos, in the future, please research a question before you provide a possibly incorrect answer. In this case, digeste.dll is related to spyware, so your answer makes absolutely no sense, and is not at all helpful.
    @OP - http://www.google.com/search?hl=en&q=digeste.dll&aq=f&oq=

  • How to get rid of moving lighted square on iPhone 5s

    how to get rid of moving lighted square on iPhone 5s

    Triple click the home button to get out of it.  Then:
    Settings > General > Accessibility > Switch Control > OFF

  • I have a problem mackeeper keep opening up another tab and these little green circle stuff keep popping up on the page and overtime my cursor hover over it it pops up a little box with stuff in it does anyone have an idea how to get rid of it?

    i have a problem mackeeper keep opening up another tab and these little green circle stuff keep popping up on the page and overtime my cursor hover over it it pops up a little box with stuff in it does anyone have an idea how to get rid of it?

    You installed a variant of the "VSearch" trojan. Remove it as follows.
    This malware has many variants. Anyone else finding this comment should not expect it to be applicable.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.2c232f1e4d12129e.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.2c232f1e4d12129e.daemon.plist
    /Library/LaunchDaemons/com.2c232f1e4d12129e.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/2c232f1e4d12129e
    /System/Library/Frameworks/v.framework
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How to get rid of red eye

    how to get rid of red eye

    The Red Eye tool is in the same palette as the Healing Brush, the Spot Healing Brush, Content Aware Move, and Patch tools. To move to this palette, press J, and click and hold on the selected icon.
    Once you've selected the Red Eye tool, click on the red eye in your photo and Photoshop will fix it.
    One more thought: Have you tried LevelUp for Photoshop? It's a  game of missions and levels, designed to help you learn Photoshop basics; and one of the missions shows you how to fix red eye. You install LevelUp for Photoshop using Adobe Exchange. Go to Window > Extensions > Adobe Exchange, and search for LevelUp.
    Regards,
    Randy Nielsen
    Product Integration Manager, Creative Cloud Learning & Training
    Adobe

  • How to get rid of spacer.gif?

    Hello there,
    I have an assignment for class and my teacher hasn't gotten back to me yet.
    I created a site in fireworks (cs6) and then he says to export it. As I was building it and previewing it in a browser, I see these blank white boxes in certain areas and it's shifting things. I tried exporting thinking maybe it was just my browser and they were still there when I opened the file in DW. I think this is an issue because I'm using tables but I want to get rid of these.
    I tried deleting them from the code but then the entire layout went crazy. I tried aligning all the slices. I tried the different settings in the fireworks export options but it just shifts where the white squares appear.
    I'm really getting frustrated but don't know how to fix this. Please help!
    Below are three images. One with slices on. Second with preview in browser (same shows up in Dreamweaver) and finally what it's supposed to look like.

    Are you trying to export a table-based layout? It sounds like you are... Have a look at the export options available under File > HTML Setup. The Table options allow you to choose what methods are used for spacing or to fill empty table cells. If this doesn't help, then the General options might be worth experimenting with. In particular, try choosing another option under HTML Style (e.g., Generic XHTML or Dreamweaver HTML, instead of Dreamweaver XHTML).
    The other option is to create a layout with the intent to export it as HTML & CSS. In that case, upon exporting, you'd choose "CSS and Images" (instead of "HTML and images"). However, this requires that you build the file and slice it in a particular way; I mention this just in case you're attempting to export the file in this form, instead of as a table-based layout.

Maybe you are looking for

  • Xml data in pdf

    in form xml data showing perfectly but when i converted into pdf and stored on desk top, xml data is not showing in the form(because no xml connection in form) how i can view the xml data in pdfform.

  • Broken charger kills iPod, what now?

    Yesterday I dropped my charger, but there was no visual damage. The charger was not from apple, but it did work fine. Before. When I plugged in my iPod, it instantly died. Nothing works, nor pressing buttons nor connecting to the computer. There is n

  • Windows 7 and clntrust

    We run clntrust from a login script on a Nw 65sp8 environment. The Xp machines run the script without a problem and they get the key in the system tray. With windows 7 it's a different story. For the most part the app does not run and in essence they

  • How to blurr a face or street sign

    Ide like to video my walking around manhattan and need some help blurring some faces or other sections of the film. my videos are usually about an hour long and I remove lots of parts any tips on the quickest way to do this. I watched some videos but

  • Gmail: can't see: rich text editor, attachment icon, themes (just colors) - ever since upgrading to 3.5, still in 3.6

    With Gmail, I can't see the following * Rich Text Editor * The paper clip icon for attachments * Background themes (just plain colors) have had this problem since 3.5. Just got 3.6, no difference. Gmail appears fine in IE, also on Firefox on other ma