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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:44:53+00:00 2026-05-28T04:44:53+00:00

I am modifying for my purpose the phpbb poll display. This is my current

  • 0

I am modifying for my purpose the phpbb poll display. This is my current html code when result display is on:

<div class="content">
        <h2>Question</h2>
        <p class="author">bla bla <strong>אחת</strong></p>
            <dl class="">
                <dt><label for="vote_1">option1</label></dt>
                <dd style="width: auto;"><input type="radio" name="vote_id[]" id="vote_1" value="1" /></dd><dd class="resultbar"><div class="pollbar" style="width:77%">10</div></dd>
                <dd>77%</dd>
            </dl>

            <dl class="">
                <dt><label for="vote_2">Option 2</label></dt>
                <dd style="width: auto;"><input type="radio" name="vote_id[]" id="vote_2" value="2" /></dd><dd class="resultbar"><div class="pollbar" style="width:23%">3</div></dd>
                <dd>23%</dd>
            </dl>

            <dl class="">
                <dt><label for="vote_3">Option 3</label></dt>
                <dd style="width: auto;"><input type="radio" name="vote_id[]" id="vote_3" value="3" /></dd><dd class="resultbar"><div class="pollbar" style="width:0%">0</div></dd>
                <dd>No votes</dd>
            </dl>

            <dl>
                <dt>&nbsp;</dt>
                <dd class="resultbar">Total : 13</dd>
            </dl>

            <dl style="border-top: none;">
                <dt>&nbsp;</dt>
                <dd class="resultbar"><input type="submit" name="update" value="submit" class="button1" /></dd>
            </dl>


    </div>

    <span class="corners-bottom"><span></span></span></div>
    <input type="hidden" name="creation_time" value="1326810654" />

The problem is this: in phpbb, the elements have the same width as the “content” div, and so they are displayed line-by-line. However, in my code the elements have width 0 (what is the exact meaning of width 0? On-screen they have width larger than 0) and all the -s are displayed in the same line.

I looked around the css files, but as far as I can see there is no difference. What is the relevant property here? Setting ‘s “width” style option in the css file to 100% and “inherit” has no effect.

  • 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-28T04:44:54+00:00Added an answer on May 28, 2026 at 4:44 am

    The code looks like a strange presentation of tabular data (something that should be presented using <table> elements), and probably the intent is to use CSS for the purpose but somehow the relevant CSS code has gone missing.

    Without CSS, each dt and dd element is rendered each on a line of its own, because this is the default rendering in HTML.

    The percentage widths are presumably meant to act as graphic representation of percentages, so that e.g. 73% corresponds to a 73% wide block. This cannot be seen, however, without some CSS that makes the blocks visible with e.g. border or background color. The idea fails e.g. for 0%, for obvious reasons.

    Without more context, including CSS being applied, it’s difficult to say much more.

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

Sidebar

Related Questions

I'm modifying a mature CGI application written in Perl and the question of content
I am modifying some code and came across a declaration that I am having
I am modifying a SQL table through C# code and I need to drop
I'm modifying existing security code. The specifications are pretty clear, there is example code,
This is a basic question about what options are available for defining the scope
This is just for my own curiosity. Isn't the purpose of the var directory
I want to modify .Net IL code of an existing class on the fly.
Is there some valid purpose to minifying before compressing? It seems highly unlikely that
Modifying the HTTP Response Using Filters
Modifying a SnapPages theme, meaning I only have access to the CSS stylesheet. I

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.