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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:05:20+00:00 2026-06-10T21:05:20+00:00

I have this image link: <p class=alignright> <a target=_blank href=…> <img width=230 height=158 align=right

  • 0

I have this image link:

<p class="alignright">
    <a target="_blank" href="...">
        <img width="230" height="158" align="right" style="margin-right: 30px;  margin-top: 20px;" src="some_source" >
    </a>
    text should go here
</p>

The alignright class looks like that:

.alignright {
    float: right;
    margin: 4px 0 1px 10px;
}

Now I tried several things to place text below the above image link (I tried using a < br > and image captions for example), but everything failed. The text is either too far on the left, or its not even below the image link.

Any ideas how to get the text below the image link?

Thanks!

  • 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-10T21:05:22+00:00Added an answer on June 10, 2026 at 9:05 pm

    You mean that you want the text to be aligned to the left edge of the image link?

    This means that you have to put both elements into one container and assign the float:left property to this one:

    I guess that this is the “” I can see in your sample.
    Did you make sure, that the width of the p-Element is the same as of the image link?

    Otherwise the text would be aligned to the p-borders wherever they are on your page.

    Shrink the size of the p-Element or put everything into an extra container:

    <div style="float:right; width:#IMAGE_LINK_WIDTH#; text-align:left;">
      <a href="">IMAGE_LINK</a>
      <!-- A <br /> might be placed here -->
      Text
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a code block looking something like this: <p class=cont> <a href=otherpage.php class=link><img
Suppose I have this image: <img src=images/01.jpg border=0 rel=shadow /> Then with jQuery, I
i have this class public class Image { public string url { get; set;
If I have a bunch of links to an image like this: <a href=foo.png>foo.png</a>
I have a linked image that I need to specify height and width html
I have this code : <div class=images_liste_plante_solo> <div class=image_liste_plante> <img alt=Hosta - Eternal Flame
I have a vertical image gallery of this sort: <div class=image-container> <div class=nav> <div
I have this image: What I want to do is to add a UITapGestureRecognizer
I have this image: In this image I have 11 shapes (look like ellipses).
So, I am trying to have this image show up in the fancy box

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.