Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] justifying the paragraph

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #153672
    prathoven
    Participant

    Hello, everyone I want to produce the same result with single html markup.

    http://codepen.io/prathoven/pen/Fugpj Thanx in advance

    #153674
    Paulie_D
    Member

    I’m sorry, I don’t understand…what is it you are trying to do and why is there a list in there when this related to a paragraph?

    #153691
    prathoven
    Participant

    First of all, thank you for taking interest on this.

    I wanted to obtain the result’s as both: first and second paragraph’s. But from only one markup( standard way of writing better), here two are used unordered list and paragraph tag. Speaking in short. **ONE markup from html, needed both result from css. ** Thank you, Paulie.

    #153693
    Paulie_D
    Member

    Unfortunately, that is no clearer…we obviously have a language issue.

    Are you trying to style a paragraph or not?

    If you are, what do you want it to look like?

    #153798
    prathoven
    Participant

    I think clearer now link is updated with comments..

    http://codepen.io/prathoven/pen/Fugpj

    #153805
    Paulie_D
    Member

    Unfortunately it’s only a little clearer…and not much at that.

    I think you want to use only a single paragraph. Is that right?

    Are you using text-align at all? http://codepen.io/anon/pen/krzIy

    #153808
    prathoven
    Participant

    Yes, single paragraph. Okay how about this when display is 720px the text align is centre. But by text-align:centre. the text aligned zig-zag, I want as in my result i,e like triangle upside down in result1. And at 320p the text is appeared to be as result2. Sorry for giving trouble to you, hope you get some idea. What i wanted to mention.

    #153828
    Paulie_D
    Member

    Unfortunately, the language barrier is in our way but from what I can gather…you can’t do that.

    With text-align your options are right, left, center & justify.

    #153838
    prathoven
    Participant

    So I used list there and problem was at 320 it was to get the result2. Thank you Paulie for trying out..I really appreciated it.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘CSS’ is closed to new topics and replies.