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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:09:30+00:00 2026-05-17T00:09:30+00:00

<div class=panel id=Panel1> <fieldset style=position: absolute; top:8px; left: 136px; width: 136px; height: 64px;> <legend>

  • 0
<div class="panel" id="Panel1">
<fieldset style="position: absolute; top:8px; left: 136px; width: 136px; height: 64px;">
<legend> </legend>
<div class="Label" id="Label1" style="position: absolute; top:8px; left: 16px; width: 81px; height: 14px;">Hello world</div>  
<div class="tLabel" id="Label2" style="position: absolute; top:32px; left: 16px; width: 54px; height: 14px;">A second piece of text</div>  
</fieldset>  
</div>

I am a CSS newbie and have googled & seen a lot of confllicting info on this.

If I want positioning, where does the style go? On the enclosing DIV? On the enclosed fieldset? On what the fieldset encloses? Some permutation thereof?


Do I even need an enclosing DIV around a FIELDSET?

  • 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-17T00:09:30+00:00Added an answer on May 17, 2026 at 12:09 am

    A rule-of-thumb while creating CSS styles is that, as much as possible, it should be re-usable.

    In the above example, you’d place the DIV absolutely using a CSS class and then position all the elements within the DIV relatively. You should (1) set the positions of the DIV, (2) remove the position of FIELDSET, (3) remove position of the inner DIV (ID=Label1), and (4) add a margin or padding to the inner DIV (ID=Label2).

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

Sidebar

Related Questions

Here's the HTML <div class=panel id=Panel1> <fieldset style=position: absolute; top:8px; left: 136px; width: 136px;
I am coding things like this <div class=panel> <fieldset style=position: absolute; top:8px; left: 136px;
I have something like this currently: <div class = className style = position: absolute;
I have some HTML which looks like this: <body> <div id=panel1 class=panel> Panel 1
Hello i have an HTML Code like this <div id=top> <div class=panel> <h1>toppanel</h1> <p>Content
How can I get an image to stretch the height of a DIV class?
My div with class name 'header-body-right' doesn't seem to be floating to the left
I have a div (panel class) on my page that toggles open/closed on the
I have a div using the following class: div.textStatement { height: 70px; overflow: hidden;
I want to scale the picture to fit the main div class http://jsfiddle.net/EyW99/ Sorry,

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.