How can I style the header of dialog?

Why won't IE allow one to apply style to a list header element?

  • I've been trying to apply style to the list header element in a definition list to make it appear to be a subheading. It works well in Firefox (best browser ever), however when IE renders the text it removes all style... why is this, and is there a way around it?

  • Answer:

    Which version of IE? You should upgrade to IE7 when debugging, webmasters can't be bothered about how ealier versions render their pages. h1-h6 are used for headings, also in lists. Example: -----StartCode----- <ul><li><h3>Menu links</h3></li></ul> -----CodeEnd----- See also: http://www.brugbart.com/?TID=2 - (Paragraphs and Headings) I recommend using them as follows: h1 - Main headings/Articles h2 - Section headings h3 - Menu titles (Depending on layout) The LH tag was a part of the abandoned HTML 3.0 draft, i suggest you use html 4.01 strict instead. http://www.brugbart.com/?AID=4 - (The Importance of Doctypes) See http://www.w3.org/TR/#Recommendations For a list of current W3C Recommendations.

ChooseRe... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Can you add in details the code that you are using right now? Ron

Shadow Knows

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.