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..

    jQuery increase box to show overflow contents

    CSS selector: How to select element sibling AND element itself?

    How to completely fill screen with smaller elements?

    How can I select the first paragraph in this code?

    How to read different CSS classes with the same beginning with jquery?

    How does wikimedia code there input onfocus

    How to control the CSS of the contents that loaded dynamically into iframe?

    CakePHP call really old css file. How to refresh

    How to align a button inside a DIV

    How to target multiple table rows with a single CSS rule?

    How can I set a “bounding” area for my drag-able object in javascript?

    How to retrieve the background image url defined in CSS?

    Slide up/down effect with ng-show and ng-animate

    How to set a div's position inside another div to bottom right corner?

    How to prevent iOS keyboard from pushing the view off screen with CSS or JS

    Ionic 2.0.0-beta.24 how can i import node_module css files without ionic.config.js

    How to keep the underline effect in this demo stay using CSS?

    how to remove all spaces from a file

    How to display certain content underneath another block of content

    How to get an image from a css animation keyframe to remain on the page after complete [duplicate]

    How to use Knockout.js to change a CSS class on mouseover?

    How to make Asp.net Gridview header and first column frezee?

    How to pause .setInterval() on hover and on .click() of interior content?

    How to apply global styles with CSS modules in a react app?

    Make nav dropdown show above all other divs

    How to set a background color defined as a CSS class (using JQuery eventually)?

    How can we customize vs2010 css editor template?

    how to get the height of a user's device in html

    How to Display a div at same position on a any display irrespective of physical dimensions

    How to position one element relative another using CSS/jQuery