Solved

legend not centered in Internet Explorer

Posted on 2012-04-05
1
243 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
ID: 37812907
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

929 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

16 Experts available now in Live!

Get 1:1 Help Now