Jump to content

Css Left/right Baseline Alignment


Guest leadZERO
 Share

Recommended Posts

Guest leadZERO

I'm working on a website redesign and I've run into a CSS issue I'm not sure how I can solve. Basically it comes down to this, how can you align different sizes of text along the baseline on the left and right.

<p style="border: solid 1px #000;"><span style="border: solid 1px #0f0;font-size: 18px;">a</span><span style="border: solid 1px #f00;float: right;font-size:10px;">b</span></p>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...