Web Analytics Made Easy -
StatCounter An odd occurrence. - CodingForum

Announcement

Collapse
No announcement yet.

An odd occurrence.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • An odd occurrence.

    I am slicing my PSD design and placing it into HTML/CSS. I am almost finished when I am onto the content area.




    When I use the <p> it makes a break between the span and the text, is there a way to avoid this?

  • #2
    <p> is block level element and consumes full line by default... if you want <span> will be inline with <p>'s text then write <span> inside <p> instead of writing outside of <p>

    Comment


    • #3
      When I use <span> it doesn't allow me to use the CSS padding-left, for some reason, but it allows it for the <span class="title">.

      Comment


      • #4
        instead of padding-left, you can use text-intend for span

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎