www.webdeveloper.com
Results 1 to 5 of 5

Thread: <p> tag question

  1. #1
    Join Date
    Jan 2005
    Location
    ohio
    Posts
    11

    <p> tag question

    Hello,
    Bare with me b/c im new to this, but i want to create a css file for a website that has multiple <p> tags (example <p> <p2> etc.) but when i go to use them in my xhtml file, safari doesnt display them right....it appears to not recognize the <p2> tag at all. is there a way i can do this?
    Thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    There's no such thing as a p2 element is there?
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  3. #3
    Join Date
    Jan 2004
    Location
    United Kingdom
    Posts
    610
    There is no such element. Try defining class selectors or id selectors to a <p> tag such as <p class="second"> ... </p>

    Then use CSS to style each different <p> tag.
    More of a journal than a blog.

    Truly great madness cannot be achieved without significant intelligence.
    GMail | Mezzoblue | 1976 Design | Zeldman | Justwatchthesky | Jon Hicks | Airbag | All In The Head

  4. #4
    Join Date
    Jan 2005
    Location
    ohio
    Posts
    11
    i tried that, but when i was working with that in golive (yeah, i use it, ill addmit it) it wouldnt recongnize it. any ideas?

  5. #5
    Join Date
    Dec 2004
    Location
    Neca Valley, Pennsyltucky
    Posts
    388
    You must define the class in GoLive's CSS editor window.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles