HTML/CSS: Centering a certain point instead an entire line of code?

Up vote 0 down vote favorite share g+ share fb share tw.

My goal is to have something like this: Link1 This text is a bit long Link2 This text is real short I want to have the bullet point centered instead of the entire line of code itself. Here is my current code: Post to Classifieds? Contact Post to Classifieds?

Contact Which currently aligns the text at around the middle 's' in 'classifieds' instead of what I need, which is the bullet point centered. Does anyone know a solution? Html css center align link|improve this question edited Feb 26 at 7:06 asked Feb 26 at 6:59Norse29118 76% accept rate.

Don't really understand how you want to center it. Why don't you use the elements? – Jake Feb 26 at 7:02 I thought I explained it well enough in the original post.

The way I'd like it centered is around the bullet point, so the bullet point is aligned in the middle of the page. – Norse Feb 26 at 7:04 what do you want to center? First text , second text or bullet point?

– N30 Feb 26 at 7:04 @N30 The bullet point good sir – Norse Feb 26 at 7:05 @user1093634 Sorry about that, please see my answer below. Thanks. – Jake Feb 26 at 12:11.

jsfiddle.net/uday99/kFGmC/1/ Basically, just make the outer two elements the same width, then it will center around the bullet point as you wish.

This should work.. jsfiddle.net/PUnzb/3/ following will help you figure out what I did. stackoverflow.com/a/114549/210696.

EDITED: Or this one... jsfiddle.net/kFGmC/22/ the bullets will align because the first span is has same width. The entire line will center because the width of links on both sides are the same.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions