Solved

legend not centered in Internet Explorer

Posted on 2012-04-05
1
244 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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.

775 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