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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:37:09+00:00 2026-05-26T09:37:09+00:00

It is a basic HTML question. I have some div tags, which have some

  • 0

It is a basic HTML question.

I have some div tags, which have some controls and occupy left half of my screem.

I Want to have a div tag to display some messages in the right side?
I used somthings like:

float = right;

in my css class. It didn’t seem to work. What other properties I need to set.

Here is the code sample

<div class ="header_label">
@Html.GetLocalizedString("program_snapshotRecipientAdress")&nbsp; @Html.TextBox("txtRcpntAdress")
</div>

   <div class ="header_label">
@Html.GetLocalizedString("program_snapshotUsertype1") &nbsp; @Html.RadioButton("Usertype", "One", new { id="rb1"})
 &nbsp; &nbsp;
@Html.GetLocalizedString("program_snapshotUsertype2") &nbsp; @Html.RadioButton("Usertype", "Two", new { id = "rb2" })
<div class ="commentsHeight"></div>
 </div>
   <div class ="header_label">
@Html.GetLocalizedString("program_snapshotDate") &nbsp; @Html.TextBox("SnapshotDate")
</div>

  <div id ="CMSContent">
<div class ="CMS-message">
@Html.Raw("S=This is the div I need to place in the right hand side")
</div>
</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-05-26T09:37:09+00:00Added an answer on May 26, 2026 at 9:37 am

    I didn’t understand your question so much, but I’ll try to answer.
    If you have some div on the left and you want another one on the right you have two choice:

    1) The first one is to set one div on the right and another on the left:

    <div>
        <div style="float: left; width: 50%">I'm on the left</div>
        <div style="float: right; width: 50%">I'm on the right</div>
    </div>
    

    2) The second one is to set every div on the left

    <div>
        <div style="float: left; width: 50%">I'm on the left</div>
        <div style="float: left; width: 50%">I'm on the second on the left</div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quick question, If I want to document some code on a basic HTML and
this should be a pretty basic question. I would like to have some html
Just a basic html link question. I have an intranet setup, and I need
This is probably a basic html/css question... I have a simple one-button form that
Sorry about the wording for my question title. I have a basic HTML anchor
I have a basic HTML form that gets inserted into a server side div
I am building some basic HTML code for a CMS. One of the page-related
I am planning to extend the basic html input tag provided by Spring to
I'm am using JEditorPane to render basic HTML. But it renders self-closing tags incorrectly,
What libraries/methods do you know of that can do some basic HTML representation in

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.