Solved

legend not centered in Internet Explorer

Posted on 2012-04-05
1
242 Views
Last Modified: 2012-05-07
Hello all of u ,
i am trying to make legend centered , i t works fine on chrome , but it is n't centered in IE.

here is css code :
legend 
{
    text-align:center;
    color: #FE0404;
    text-decoration:underline;
    padding-left:4px;
    padding-right:4px;
    font-weight:bold;
   
   
}

Open in new window

0
Comment
Question by:AhmedHindy
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
Comment Utility
What version of IE?  If it is earlier than IE9, you may have to use an align attribute directly on the tag.  If the page is HTML5, then the align property on the tag is not supported, so you may be forced to use an older DOCTYPE like xhtml1.0 or html4.01


Cd&
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now