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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:36:46+00:00 2026-05-10T22:36:46+00:00

I am trying to generate a html page with css that works as an

  • 0

I am trying to generate a html page with css that works as an image preview kind of thing. An example of this is here:

http://www.nomorepasting.com/getpaste.php?pasteid=22463

however this approach has several drawbacks. One of which is the text must always be smaller than the images. I tried using a different attempt here:

http://www.nomorepasting.com/getpaste.php?pasteid=22464

But could not get it to work. Would someone please be able to show me how to modify the code at the second link to work as the first, or to suggest an overall better method?

  • 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. 2026-05-10T22:36:47+00:00Added an answer on May 10, 2026 at 10:36 pm

    The error in second one is you haven’t specified the height attribute. Try the following, it worked for me.

    .class1{    color:#000;    background-image:url('images/2.jpg');height:1000px; } 

    The reason you are not able to see the back ground image is, since there is nothing inside the div, and the height is not specified the height is 0. Try putting a few elements in the div and you will see that the image is being displayed.

    Ramjee

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

Sidebar

Related Questions

I'm trying to generate a JSON response that includes some HTML. Thus, I have
I have a generated HTML page with flash content in it. I am trying
While trying to generate classes from a xsd, i got this error: java.lang.IllegalArgumentException: Illegal
I am trying to adapt a perl script that is used to generate a
I'm trying to get up to speed on HTML/CSS/PHP development and was wondering how
I am trying to generate a report by querying 2 databases (Sybase) in classic
I'm trying to generate a sitemap.xml on the fly for a particular asp.net website.
I'm trying to generate customized xml files from a template xml file in python.
I am trying to generate a Sandcastle help file for a website. In the
I am trying to generate equivalent MD5 hashes in both JavaScript and .Net. Not

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.