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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:05:38+00:00 2026-06-16T03:05:38+00:00

Here is my fiddle I am trying to format: jsfiddle I am looking for

  • 0

Here is my fiddle I am trying to format:
jsfiddle

I am looking for following things:

  • Some distance between logo and text divs. If I use margin-top property doesn’t work relatively.
  • spans under the text div with a line break. Separating these spans with a <br/> gives more distance then needed. If I change the line-height property it creates problem for other spans. I am hoping that I don’t have specify line-height for each span.
  • 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-16T03:05:39+00:00Added an answer on June 16, 2026 at 3:05 am

    Use this in your Jfiddle:

    .box {
      background-color: #000000;
      color: #FF0000;
      width: 300px;
      height: 400px; 
      border-radius:5px;
      -moz-border-radius:5px;
      -webkit-border-radius:5px;
      -o-border-radius:5px;
      -ms-border-radius:5px;
    }
    .logo{
        width:80%;
        margin:0% 4% 0% 15%;  
        font-size:20px;   
    }
    .inlineDiv{
        display:inline-block; 
        width:48%;
        vertical-align:middle;
        margin:0px;
        padding:0px;
    }
    .inlineDiv > img{
        float:right;   
    }
    #text{
         text-align:center;   
    }
    

    EDIT:

    further html:

    <div class="box">
    <div class="logo">
      <div class="inlineDiv">
       <img src="c:\work\img\logo3.jpg" width="80" height="80" />
      </div>
      <div class="inlineDiv">
          <span class="spanTop">
              <p>YAD</p>
              <p>HIM</p>
          </span>
      </div>
       </div>
         <div id='text'>
             <span class="tag">
                 <p>Try this now with the</p>
                 <p> help of something then</p>
             </span>
      </div> 
    

    ​

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

Sidebar

Related Questions

Here is my Fiddle: http://jsfiddle.net/LLFpp/ I'm just starting to learn CSS and Divs (moving
fiddle - here is example. I'm trying to do something looking exacly like windows
Here is a fiddle: http://jsfiddle.net/sAuhsoj/zSGLy/3/ I am trying to vertically centre the images in
Please review the fiddle here for an example: http://jsfiddle.net/TKJsc/1/ Basically i'm trying to make
I have a fiddle here - http://jsfiddle.net/hhimanshu/SDr3F/2/ The left pane is already available I
I have a fiddle here http://jsfiddle.net/WULsZ/1/ I load jQuery first and the code is
Here's my fiddle: http://jsfiddle.net/e6kCH/15/ It may sound stupid, but I can't find a way
Here's my fiddle : http://jsfiddle.net/JWww3/ I'm not sure to understand why this code is
Here is my fiddle: http://jsfiddle.net/jamesbrighton/wxWgG/4/ HTML: <div> <p class=click>Click 1</p> <p>This should be ignored</p>
Here's the fiddle: http://jsfiddle.net/scZtb/1/ Be warned, as the title suggests, this might crash your

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.