SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard co.ador's Avatar
    Join Date
    Apr 2009
    Posts
    1,054
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    looking for a condition where <h4> tags appear where it is IE5

    HTML Code:
    <h5></h5><h4></h4>
        	<h3>Prosedimiento:</h3>
        	<p>Womens fashion shoes with higher 
        	heels generally have pre-made, thin,
        	flexible, leather or resin rubber fitted
        	soles, made using the bottom pattern
        	created from the last. Two shapes of
        	sole are made this way, one for a Louis
        	heel, and the other for a Knock-on type. </p> 
    	<p><a href=\"#\">More</a></p></div>
    How can I condition the h4 tags?

    is that possible?

  2. #2
    SitePoint Wizard bronze trophy C. Ankerstjerne's Avatar
    Join Date
    Jan 2004
    Location
    The Kingdom of Denmark
    Posts
    2,702
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    What do you mean by 'condition'? Style them?
    Christian Ankerstjerne
    <p<strong<abbr/HTML/ 4 teh win</>
    <>In Soviet Russia, website codes you!

  3. #3
    SitePoint Enthusiast NathanaelB's Avatar
    Join Date
    Dec 2006
    Location
    Canberra, Australia
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You want your H4 to be appended on the same line as your H5?

    You will need to float:left your headings and probably using padding-top to vertically align your headings with each other.
    Nathanael Boehm
    Web user interaction and UX designer, social media consultant
    Links: bio, linkedin, twitter, flickr

  4. #4
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    That is not a correct usage of header tags, they should not be used for text size. Thinkl of headings like books. You wouldn't put chapter title (h2) before you state the book (h1), you wouldn't put a section (h3) before you start a chapter (h2).

    You can use css to alter the way an h4 looks.
    Code:
    h4 { ... }
    Ryan B | My Blog | Twitter

  5. #5
    SitePoint Enthusiast NathanaelB's Avatar
    Join Date
    Dec 2006
    Location
    Canberra, Australia
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Aah good pick up Ryan, didn't even notice they were in the wrong order!
    Nathanael Boehm
    Web user interaction and UX designer, social media consultant
    Links: bio, linkedin, twitter, flickr


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
  •