Results 1 to 3 of 3

Thread: Location of element needed please.

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Location of element needed please.

    Below you will see 2 images.
    This is for ios etc BUT im just looking for some pointers in respect of line & edit required for the following.
    You will see that when the ios device is in Portrait mode the heading MENU is spot on how it should be in respect of position etc.
    The ios device is then turned so its now in Landscape mode and now the MENU is shown to the right.

    Im looking to have it shown like the Portrait setup, ie Center the word MENU

    Click image for larger version. 

Name:	C.jpg 
Views:	108 
Size:	25.8 KB 
ID:	5822

    Click image for larger version. 

Name:	R.jpg 
Views:	107 
Size:	15.7 KB 
ID:	5823
    Last edited by theremotedr; 02-15-2016 at 05:29 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there theremotedr,


    try adding the highlighted in red attribute here...

    Code:
    
    @media only screen and (min-width: 481px) {
    #banner{
    	float:left;
    	text-align:left;
    	margin-bottom:-20px;/*this depends on the height of the logo*/
    }
    .menu-toggle{/*make menu float right, instead of sitting under the logo*/
    	margin-top:10px; /*this depends on the height of the logo*/
    	float:right;
            width:100%;
     }
    }
    

    coothead
    ~ the original bald headed old fart ~

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    That did the trick.
    Then changing the following to 20 puts it smack on where i want ite
    Code:
    margin-top:10px
    Many thanks.

    Another off my list.
    So another thread is needed.
    It would be great to supply a very small list & pay to a charity etc as all my posts seems to get boring.

Similar Threads

  1. Resolved Ajax loaded element not recognized in ajax post send(element)?
    By crobinson42 in forum JavaScript
    Replies: 6
    Last Post: 04-10-2012, 07:48 PM
  2. Replies: 2
    Last Post: 04-01-2012, 04:31 AM
  3. Replies: 5
    Last Post: 11-19-2008, 04:02 AM
  4. Replies: 0
    Last Post: 01-13-2008, 05:24 PM
  5. Changing the first TR element to THEAD element
    By codeexploiter in forum JavaScript
    Replies: 3
    Last Post: 03-23-2007, 10:02 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
  •