CSS Menu List

Reply

Join Date: Oct 2006
Posts: 82
Reputation: assgar is an unknown quantity at this point 
Solved Threads: 0
assgar assgar is offline Offline
Junior Poster in Training

CSS Menu List

 
0
  #1
Sep 28th, 2008
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]
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC