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 8598079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:04:22+00:00 2026-06-12T01:04:22+00:00

in the code below, i would like to align the text in the content

  • 0

in the code below, i would like to align the text in the content div, the one in the right, to beging close to the border, not far from the navigation menu
i know this is due to my nav menu floated left, but i can’t make it !!!!!

                <div style="position:relative; top:10px; float:left; border: 1px blue dashed; width:150px">
                <ul>
                    <li style="margin-top:2px; padding-bottom:15px; list-style-type:none"><a href="index.html">Home</a></li>
                    <li style="margin-top:2px; padding-bottom:15px; list-style-type:none"><a href="Listings.html">Listings</a></li>
                    <li style="margin-top:2px; padding-bottom:15px; list-style-type:none"><a href="Financing.html">Financing</a></li>
                    <li style="margin-top:2px; padding-bottom:15px; list-style-type:none"><a href="contact.html">Contact</a></li>
                </ul>
            </div>
            <div style="position:relative; top:10px; border: 1px red dashed; left:155px; width:800px; min-height:600px">
                test
            </div>
  • 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-12T01:04:23+00:00Added an answer on June 12, 2026 at 1:04 am

    Like Khanh Tran mentioned, you can remove the “left: 155px;” from your content div but that will affect where your border falls. What you can then do is float that same div to the left as well.

    So, change this:

    <div style="position:relative; top:10px; border: 1px red dashed; left:155px; width:800px; min-height:600px">test</div>
    

    To this:

    <div style="float:left; position:relative; top:10px; border: 1px red dashed; width:800px; min-height:600px">test</div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

here's my code: <div id=Notify style=clear:both;> <div style=text-align:right;> <div style=text-align:left;> Send Table to Standards
I would like the code below to return 'Int' the first time and 'Not
I would like to implement a parallel version of the code below using threads
For the code below, I would like to append echo $_SERVER['QUERY_STRING']; to the end
guys, I would like to you evaluate next code below. As you see, I
Below is the code from a plugin I use for sitemaps. I would like
For example, in the code below I would like to obtain the list [1,2,3]
Code below is a simple c# function return an int array. I would like
I would like to ask for assistance on how to convert the code below
I would like to clarify something about TimerTask. When you have the code below:

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.