Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: change the location of a div for responsive

  1. #11
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Look at the source order of your stylesheets - and again, check the developer toolbar because it shows you that the CSS for mobile is being overridden in the css.css stylesheet

    You have the desktop styles after the mobile ones so they're always in effect - don't forget that normal CSS cascade rules apply so pay attention to source order.

    Try switching the order of stylesheets or put mobile media queries for this bar inside the css.css file, at the bottom.

    Also, check the syntax of your css.css file because there are <style> tags in there that shouldn't be.
    Last edited by Beverleyh; 02-01-2016 at 06:51 AM.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  2. #12
    Join Date
    Nov 2011
    Posts
    74
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    Look at the source order of your stylesheets - and again, check the developer toolbar because it shows you that the CSS for mobile is being overridden in the css.css stylesheet

    You have the desktop styles after the mobile ones so they're always in effect - don't forget that normal CSS cascade rules apply so pay attention to source order.

    Try switching the order of stylesheets or put mobile media queries for this bar inside the css.css file, at the bottom.

    Also, check the syntax of your css.css file because there are <style> tags in there that shouldn't be.
    i have moved the the css.css above the side-menu.css and cleaned out the unneeded <style> tags. what is happening now it the div is always appearing on the bottom.

  3. #13
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Have you tried this?
    Try switching the order of stylesheets or put mobile media queries for this bar inside the css.css file, at the bottom.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  4. #14
    Join Date
    Nov 2011
    Posts
    74
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    Have you tried this?
    that has worked thanks for you help

Similar Threads

  1. Change default download location
    By round in forum PHP
    Replies: 2
    Last Post: 06-25-2012, 10:56 AM
  2. 'go' button location change
    By MonteChristo in forum JavaScript
    Replies: 1
    Last Post: 02-14-2008, 11:01 PM
  3. slashdot menu _ Change it's location!
    By daobuocchanmay in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 09-16-2006, 05:17 PM
  4. Marquee - Location change
    By brycol in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 12-02-2005, 10:41 AM
  5. Marquee - Location change
    By brycol in forum JavaScript
    Replies: 3
    Last Post: 12-02-2005, 10:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •