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

  • SEARCH
  • Home
  • 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 8720289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:00:24+00:00 2026-06-13T07:00:24+00:00

I am trying to give some width to body and trying to align it

  • 0

I am trying to give some width to body and trying to align it right to the screen using below code

 body{
       width : 75%;
       float : right;
 }

It is not working only in IE. How can I fix that..? By the default it is aligning to left.

  • 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-13T07:00:25+00:00Added an answer on June 13, 2026 at 7:00 am

    Floating your body makes no sense, since it’s the top op the DOM tree. What would it float in?

    If you want to give the impression that your body is only occuping the right 75% of the screen, add a margin instead.

    body {
      margin-left: 25%;
    }
    

    This will work.

    If this is not acceptable, use a div around your content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use some Word 2007 automation where we give the user
I am trying to give float point into core-plot y axis value, it is
i was trying to make my code in html and for some reasong when
I'm writing some C code to parse IEEE 802.11 frames, but I'm stuck trying
I am trying to put some jquery UI code into an existing asp.net app,
I am trying to give a text input a drop-shadow & a inner shadow,
I'm trying to give functionality to the user where they can remotely control the
I am trying to give sudo access to one of my users. What should
I've been trying to give more information to the provider about the error I'm
I am trying to give the effect of general headings in this table and

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.