943,746 Members | Top Members by Rank

Ad:
Sep 28th, 2008
0

CSS Menu List

Expand Post »
Hi

My menu list displays correctly for Internet explorer.
I am having problems with my menu list display properly in firefox.
The row height should be 15px, but in firefox the row display twice as height than in IE.

Note:
The menue display a link, mouse over should change the colour of the link and it background

OS:Win server 2003
Language: PHP

How can I resolve this issue?


[php]
HTML and CSS Syntax (Toggle Plain Text)
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
  3. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5.  
  6. <head>
  7. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  8. <meta name="author" content="mazuki" />
  9. <link href="../config/pulse_config.css" rel="stylesheet" type="text/css"/>
  10.  
  11.  
  12. <style type="text/css">
  13. <!--
  14. .default
  15. {
  16.   margin-left:0;
  17.   margin-right:0;
  18.   text-align:center;
  19.   font-family: Arial, Helvetica, sans-serif;
  20.   font-size:14px;
  21.   font-weight:600;
  22.   vertical-align:top;
  23. }
  24. .default ul
  25. {
  26.   margin-left:0;
  27.   padding-left:0;
  28.   white-space:nowrap;
  29. }
  30. .default li
  31. {
  32.   display:inline;
  33.   list-style-type:none;
  34. }
  35. .default a
  36. {
  37.   padding:3px 10px;
  38. }
  39. .default a:link
  40. {
  41.   color:#ffffff;
  42.   background-color:#036;
  43.   text-decoration:none;
  44. }
  45. .default a:visited
  46. {
  47.   color:#ffffff;
  48.   background-color: #000000;
  49.   text-decoration:none;
  50. }
  51. .default a:hover
  52. {
  53.   color:blue;
  54.   background-color:#55ae3a;
  55.   text-decoration:none;
  56. }
  57. -->
  58. </style>
  59.  
  60. <title>Home Page</title>
  61. </head>
  62.  
  63. <body bgcolor="#e0e0e0">
  64. <!-- processor -->
  65. <form action="process.php" method="post">
  66.  
  67. <div id="pat-dash-first-layer">
  68.  
  69.  
  70. <table height="30" width="100%" border="1">
  71. <tr height="15">
  72. <td height="39" align="right"><div class="default"><ul><li><a href ="../change_form.php">Change Password</a></ul></li></div></td>
  73. </tr>
  74. <tr height="15" align="center">
  75. <td width = "100%"colspn ="2"><div id="location-bar" >Home Page</div></td>
  76. </tr>
  77. </table>
  78.  
  79. </form>
  80. </body>
  81. </html>
  82.  
  83.  
  84. [/php]
Similar Threads
Reputation Points: 24
Solved Threads: 0
Junior Poster in Training
assgar is offline Offline
89 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: css
Next Thread in HTML and CSS Forum Timeline: The littler picture to the left of the address bar..





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC