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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:53:52+00:00 2026-06-04T13:53:52+00:00

Long story short, I need to display some coloured text with a coloured background

  • 0

Long story short, I need to display some coloured text with a coloured background on a form.

The text is no longer than 1 line long and so I set the formatting of the web resource to 2 rows in size but unfortunately the text appears quite low on the web resource which means the text requires scrolling in order to be viewed…

Does anyone know of a way to have the text displayed exactly where the web resource is displayed?

  • 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-04T13:53:58+00:00Added an answer on June 4, 2026 at 1:53 pm

    Your problem is probably with the margins of the IFRAME. See if the function below changes anything.

    function FormatIFRAME(IFRAMEID) {
        var iFrame, frameDoc;
    
        iFrame = document.getElementById(IFRAMEID);
        frameDoc = iFrame.contentWindow.document;
        frameDoc.body.topMargin = '0';
        frameDoc.body.leftMargin = '0';
        frameDoc.body.rightMargin = '0';
        frameDoc.body.bottomMargin = '0';
        frameDoc.body.style.backgroundColor = "rgb(246,248,250)";
        iFrame.style.border = "0";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So long story short, i have some forms (2) of them that, need different
So, long story short, I need to use another Java compiler than what came
Long story short, client's hosting is using php 5.2.5 and i desperately need to
I have some markup which contains the firebug hidden div. (long story short, the
I am setting up a template system, Long story short: I need/want to check
Long story short, I'm trying to write some toast-style popup notifications (similar to Growl)
So long story short, we have an aging application that's acquired some cruft over
Long story short, I need to get up to speed with Joomla fast .
To make a long story short, I need to to create a shortcut to
Very long story short, I have a need to place a WinForms Panel and

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.