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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:24:59+00:00 2026-05-29T18:24:59+00:00

I put some quotes and short messaged in the web-based application that I am

  • 0

I put some quotes and short messaged in the web-based application that I am developing by using this fancy JQuery plugin. Everything works fine but the problem now is with fixing the area that shows the quote or message. I want to have a fixed height of this area instead of being expandable.

How to do that?

HTML:

<div id="wrapper">
            <div id="article">

                <blockquote>
                    <p>Accidents hurt – safety doesn’t.</p>
                    <cite>&ndash; Unknown Author</cite>
                </blockquote>
                    </div>
</div>

CSS:

#wrapper { width: 300px; margin: 1px auto; }    
blockquote p { margin-bottom: 10px; font-style: italic; }
blockquote cite { font-style: normal; display: block; text-align: right; text-transform: uppercase; font-size: 10px; font-weight: bold; letter-spacing: 1px; font-family: Arial, Helvetica, sans-serif; }

/*
 |  Setting the width for the blockquotes is required
 |  to accurately adjust it's contianer
*/

blockquote {
    font-family: Georgia, Times, serif;
    width: 250px; /* required */
    margin: 0 auto;
    }

/*
 |  The #quote_wrap div is created
 |  by Quovolver to wrap the quotes
*/

#quote_wrap { 
    background: #fbffec 20px 20px;
    margin: 13px 0 0 0; 
    padding: 20px; 
    border: 1px solid #edffaf; 
    }

JavaScript:

<script type="text/javascript" src="js/jquery.quovolver.js"></script>

        <!-- JavaScript Test Zone -->
        <script type="text/javascript">
            $(document).ready(function () {

                $('blockquote').quovolver();

            });
        </script>

EDIT:
I want to fix because if I have a long message or quote, it will be expanded and this will lead to expand the page of the website as shown below:
enter image description here

If the message is short, the following area will be like this?:
enter image description here

New Update:

The following css property fixed the problem:

height:100px!important;

but now it disturbs the organization of the quote inside the box. For example, if the message is short, it will be at the top of the box. And if it is long, it will be centered and this is what I want for all the messages either it is long or short. So how to do that?

  • 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-29T18:25:01+00:00Added an answer on May 29, 2026 at 6:25 pm
    .widget_content {
    height: 150px !important; /* Or however high you want the div to be */
    }
    

    This will stop the div changing heights, which I assume is what you mean.

    The “150px” can be changed to however high you want the div to be.

    .widget_content {
    overflow: hidden;
    }
    

    This will cut off any quotes longer than the height you specify earlier. (if you makes sure all the quotes are small enough to fit inside a div of height you specify earlier, you shouldn’t need this, it’s just in case.)

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

Sidebar

Related Questions

I am trying to put some distributed caching into play, I'm using this indeXus.Net
I am using PHP to generate some XML. I need to put quotes in
The following jQuery example should put some text into the div, but it doesn't.
I'm trying to write a small wsgi application which will put some objects to
I'm having some trouble with some javascript. I'm using jQuery to dynamiclly add rows
I want to run some commands using the system() command, I do this way:
I'm using Watir to do some automated testing for a website. This particular test
I have a website that stores quotes and users can add some quotes to
In some automated tests I put double-quotes around every command given to an executable,
Using some examples I've found at 'devarticles.com' and 'mistonline' I've put together the script

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.