SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: p indents

  1. #1
    SitePoint Guru okrogius's Avatar
    Join Date
    Mar 2002
    Location
    US
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    p indents

    Just did a page in xhtml 1.0 strict and css 1.

    Works great in ie. However, in mozilla or netscape there are indents before each paragraph tag. What should I add to the stylesheet to get rid of that?

  2. #2
    (****** or Deleted)
    Join Date
    May 2002
    Location
    Melbourne, Australia
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK try this:

    Code:
    p {
      text-indent:0px;
      }

  3. #3
    SitePoint Guru okrogius's Avatar
    Join Date
    Mar 2002
    Location
    US
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •