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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:52:38+00:00 2026-06-09T05:52:38+00:00

I wanted to make my email as image, so I’ve put text and then

  • 0

I wanted to make my email as image, so I’ve put text and then email address as image. After that line goes another line, which is text and link on the same line.

But the problem is that for some reason second line (with text and link) is being formated with parameters on the first line, even though it is not on same div tag. I don’t get it why it is being formated at all (when I delete first line and all formating for it, then www:link goes on one line as it should). I can only bypass it by using:

<br /> // or another spacings such as padding-bottom.

But I want spacings between lines to be minimal.

To make it more clear here is a screenshot, how it is looking now:
Current state of my two html lines

html code:

<div class="col3">
Email:
<img  class="image-align" src="http://safemail.justlikeed.net/e/931d68fcf4daa5643b0142bf34f3e4cb.png"/>
</div>
<div>
 www: <a href="http://www.test.com/">http://www.test.com</a>
 </div>

css styles:

 .col3 { 
width:140px; 
height:15px;
padding-bottom:10px;
 }

 .image-align {
float:right; 

  }

Also I’m using wordpress, but I have raw html plugin and tried raw tags and also disabled all wordpress formating, but it is the same thing.
Does anyone know what could be wrong?

What I want to do is second line should look like this:

www: http://www.test.com

Not like this:

wwww:
http://www.test.com
  • 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-09T05:52:39+00:00Added an answer on June 9, 2026 at 5:52 am

    You can try this:

    HTML

    <div class="col3">
      <div class="email">Email:</div>
      <img  class="image-align" src="http://safemail.justlikeed.net/e/931d68fcf4daa5643b0142bf34f3e4cb.png"/> </div>
    <div class="sitelink">www: </div>
    <div class="link"><a href="http://www.test.com/">http://www.test.com</a> </div>
    

    CSS

    .col3 {
        padding-bottom:10px;
    }
    .email {
        float:left
    }
    .image-align {
        display:inline-block;
        margin-left:5px
    }
    .sitelink {
        float:left
    }
    .link {
        display:inline-block;
        margin-left:5px
    }
    

    DEMO

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

Sidebar

Related Questions

I wanted to make a UITableView with text that is both right-aligned and indented
I wanted to make an application that will take either the path of the
I wanted to make a function that populates a Grid in WPF with pictures.
I wanted to make a button which is transparent until the user hovers over
I want to make an email validation that only accept emails from my college
I wanted to make an application for the iPad that will be controlled from
If I wanted to make a combined image like the one shown below (
I wanted to make a Java based web crawler for an experiment. I heard
I wanted to make a JOptionPane.showOptionDialog with some JTextArea and JLabel . The problem
I wanted to make my top left hand corner of a table rounded in

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.