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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:41:37+00:00 2026-06-12T12:41:37+00:00

I am new to CSS but I am trying to create this layout: I

  • 0

I am new to CSS but I am trying to create this layout:

Layout

I have tried to have a wack at this, and here is the code I have:

http://jsfiddle.net/cskQ8/

Now, I know this is basic, but what am I doing wrong?

P.s I want this to cope with a field of any height (i.e very tall)

  • 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-12T12:41:38+00:00Added an answer on June 12, 2026 at 12:41 pm

    Add .fieldwrapper{display:inline-block}

    As div is block element, it is getting displayed in the next row so make it inline block then it flows in the same row.

    Demo here


    In simple form you can remove div around input and write like below

        <div class="r6 dc3 ts2 p4">
        <label field_id="None" for="sender">Sender email address</label>
        <input class="field r2 lft dc1 tc5 ts3" placeholder="Email" type="text" value="">
        </div>​
    
    .lft { float: left; }
    ul, li { list-style-type: none; }
    .ts3 { font-size: 15px; }
    .dc3 { background-color: #808080; }
    .tc5 { color: #333333; }
    .p4 { padding: 4px; }
    .r2 { border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; }
    .r6 { border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; overflow:auto}
    .field { line-height:27px; font-family:arial, sans-serif; border-color: #d9d9d9; border-top:solid 1px #c0c0c0; padding-left:5px; margin-right: 15px; width:250px; }
    label{float:left; padding-right:15px}
    

    demo http://jsfiddle.net/cskQ8/11/

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

Sidebar

Related Questions

I am trying create a new css for shaping my detailsview. But i couldn't
I am new to CSS and have been trying to create a web form
I am pretty new at CSS but have been learning, doing my moms small
I'm new to CSS and I'm trying to read the code that comes with
I have the following code: $('#bc' + $.trim($this) + ' span.dashed-circle').css({ 'border' : '5px
I'm trying to create jquery dialog, but there is no use :( here is
I'm trying to create a table-less layout using floats, but I'm having trouble getting
Hi I am new to css media queries so please bear with me, but
I am new to Zkoss and i need to create completely new css theme
I'm quite new to CSS / HTML, and can't find the cause of this

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.