Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9215597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:14:20+00:00 2026-06-18T02:14:20+00:00

I need to float a div to the left when on the portrait mode

  • 0

I need to float a div to the left when on the portrait mode via iPad. No matter what code that’s inserted, nothing changes. Here’s what I’m doing:

 @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .logos{
     float: left;
   }
 }

The site I’m working on: http://rachelsilberman.com/rob-anolik/

The “logos” div pushes down when someone is on the iPad, and I need it to float left so it will align with the contact div.

I’ve been using ipadpeek.com to view the outcome since I don’t have one myself. Hopefully that doesn’t make a difference.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:14:21+00:00Added an answer on June 18, 2026 at 2:14 am

    You should be adding the attribute to your ipad css like below:

        @media only screen and (min-device-width: 768px) 
    and (max-device-width: 1024px) and (orientation:portrait) {
          .logos{
             float: left;
           }
         }
    

    GENERAL RULE FOR CSS FOR IPAD IS LIKE BELOW:

    <link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">
    <link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have something similar to below: <div style=float:left;margin-left:5px;>Test</div> The issue is that I need
I need some stuff that´s inside a specific div element, to float in a
I have such code: <div style=position:relative> <div style=float:left; width: 183px; background-color:#c1cba9; color: #000000;><img border=0
I have two divs inside a container div. One need to float left the
Here's some HTML: <div class=float> <img class=left src=bradBeachHeart.JPG alt=Brad at the Lake /> <img
I need to achieve something like this: <a style=display:block; href=#> <div style=float:left;display:block;>Left</div> <div> <div
so as the title says i need to float my div with absolute position
I've got a parent div floated left, with two child div s that I
I want to center divs, something like: <div style='width:100%;'> <div style='float:left; width=40px; height=40px;'></div> <div
I have 3 divs in one row <div id=left></div> <div id=middle></div> <div id=right></div> here's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.