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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:31:52+00:00 2026-05-24T08:31:52+00:00

So far, I only have a div that would contain this information. As for

  • 0

enter image description here

So far, I only have a div that would contain this information. As for the content inside, I’d love some help or guidance on how I could elegantly use HTML with CSS to format the information here.

What HTML elements would you use? What I have trouble with is setting that blue gradient there. Do I set it as a background image? Any suggestions?

This is just a simple example for myself, I’m trying to get more familiar with CSS. Thank you for your time.

  • 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-24T08:31:52+00:00Added an answer on May 24, 2026 at 8:31 am
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset=utf-8 />
    <title>JS Bin</title>
    <!--[if IE]>
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style>
      article, aside, figure, footer, header, hgroup, 
      menu, nav, section { display: block; }
      .card {
        min-width:250px;
        border-radius:10px;
        background-color:#09f;
        padding:10px;
        border:3px solid #03f;
        font-family:Sans-Serif;
        display:inline-block;
      }
      .avatar {
        border:1px solid #000; 
      }
      .card h1 {
        display:inline;
        vertical-align:top;
        font-size:1.2em;
        font-weight:bold;
      }
      .info {
        clear:both;
      }
      .title {
        font-weight:bold;
        float:left;
      }
      .value {
        float:left; 
        margin-left:20px;
      }
    </style>
    </head>
    <body>
      <div class="card">
        <img src="http://en.gravatar.com/userimage/16359447/fc9081765352a27b17cdbf4c24fe3544.jpeg" class="avatar">
        <h1>Thomas Shields</h1>
         <div class="info">
           <span class="title">Info #1:</span>
           <span class="value">Value #1</span>
        </div>
        <div class="info">
           <span class="title">Info #2:</span>
           <span class="value">Value #2</span>
        </div>
        <div class="info">
           <span class="title">Info #3:</span>
           <span class="value">Value #3</span>
        </div>
    
      </div>
    </body>
    </html>
    

    http://jsbin.com/ajevap/2/edit

    If you need me to explain any of it, comment and i’ll udpate the answer.

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

Sidebar

Related Questions

No related questions found

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.