how do i place text opposite to Anchor Tag Using CSS [closed]


Tags: html,css,html5,css3

Problem :

please help.....

how do i place text opposite to Anchor Tag in HTML, please check below markup

<a href="#">Business</a> Software

please check with image below

enter image description here



Solution :

Add display: inline-block; and float: left; to.cat-post-item a, .cat-post-widget h2 a, .cat-item a. Then move text-align:leftright; to the parent: .sidebar li.

So you should have:

.cat-post-item a, .cat-post-widget h2 a, .cat-item a {
  float: left;
  display: inline;
}

and

.sidebar li {
  text-align: right;
}

    CSS Howto..

    How to parse a specific link using a Selector CSS Query

    How to give equal width for all the fields in the form with validations?

    how to change the height of a div dynamically based on another div using css?

    How to print HTML/PHP page without including the NAVIGATION TAB contents, FOOTER, and head part

    How to clear css cache

    How to make a div that appear on hover, stay while its hovered on in jquery or css

    Html/Css - How to get an image to stretch 100% width of a container then display another image over it?

    div how to make its dimensions exactly as those of the contents

    How to have responsive widths for labels and inputs using css

    Show different forms using buttons with animation

    How to override active admin CSS?

    How do we add the spot bulging effect in css? [closed]

    how to remove the css given and get only the data from database using php

    How to make background-image size height always equal what the image height needs to be for full width image?

    How to wrap image around the long text?

    How can I use CSS to show and hide multiple elements at once?

    How to read from CSS files with jQuery

    CSS How to embed several Font-Weights at once

    Sublime - CSS - how to auto add .class for each section in the whole code?

    How to markup an obscure data table layout for screen readers?

    when hovering on iframe, how do I trigger a class on element outside of iframe?

    CSS How to get the same height?

    How to change link color when using jquery mouseover

    How to do something like #Card%{ } in CSS

    How can I format outer table but not inner table

    How to apply CSS only to numbers in paragraph? (without )

    How I can write CSS for IE. My code not work in IE10 nor 9,7,8?

    HTML/CSS/jQuery: How to set an “absolute text bottom” so that further text expands upwards?

    How to style easypiechart using CSS?

    How to dynamically set the height in a CSS-class depending on the browser's window size with Javascript / jQuery?