Here is the Html code of a menu (without any links functionality)
Now Just opera displays it correctly and Firefox and IE displays it abnormally. Can you please help me how to change this code so that it appears same on all three browsers.
| Code: |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- li { font-family: "Times New Roman", Times, serif; font-weight: bold; color: #FF0000; background-color: #000000; text-indent: 25px; width: 160px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 10px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #999999; border-right-color: #333333; border-bottom-color: #333333; border-left-color: #999999; list-style-type: square; } --> </style> </head> <body> <ul> <li>Home</li> <li>Design</li> <li>Prints</li> <li>Services</li> <li>Advertise</li> <li>Galleries</li> <li>Contact us </li> <li>FeedBack </li> </ul> </body> </html> |
Now Just opera displays it correctly and Firefox and IE displays it abnormally. Can you please help me how to change this code so that it appears same on all three browsers.
