473,396 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Proble with CSS .

I have the following CSS:
Expand|Select|Wrap|Line Numbers
  1. h1 {
  2.     font-family:Verdana, Arial, Helvetica, sans-serif;
  3.     font-size:16px;
  4.     font-weight:bold;
  5.     margin:0;
  6.     padding:0;
  7.     }
  8.  
  9. hr {
  10.     border:none;
  11.     border-top:1px solid #CCCCCC;
  12.     height:1px;
  13.     margin-bottom:25px;
  14.     }
  15.  
  16. /* ---------------------- Dolphin nav ---------------------- */
  17. #dolphincontainer{
  18.     position:relative;
  19.     height:56px;
  20.     color:#E0E0E0;
  21.     background:#143D55;
  22.     width:100%;
  23.     font-family:Helvetica,Arial,Verdana,sans-serif;
  24.     }
  25.  
  26. #dolphinnav{
  27.     position:relative;
  28.     height:33px;
  29.     font-size:12px;
  30.     text-transform:uppercase;
  31.     font-weight:bold;
  32.     background:#fff url('/Imagenes/dolphin_bg.gif') repeat-x left bottom;
  33.     padding:0 0 0 20px;
  34.     top: 0px;
  35.     left: 0px;
  36. }
  37.  
  38. #dolphinnav ul{
  39.     margin:0;
  40.     padding:0;
  41.     list-style-type:none;
  42.     width:auto;
  43.     float:left;
  44.     }
  45.  
  46. #dolphinnav ul li{
  47.     display:block;
  48.     float:left;
  49.     margin:0 1px;
  50.     }
  51.  
  52. #dolphinnav ul li a{
  53.     display:block;
  54.     float:left;
  55.     color:#EAF3F8;
  56.     text-decoration:none;
  57.     padding:0 0 0 20px;
  58.     height:33px;
  59.     }
  60.  
  61. #dolphinnav ul li a span{
  62.     padding:12px 20px 0 0;
  63.     height:21px;
  64.     float:left;
  65.     }
  66.  
  67. #dolphinnav ul li a:hover{
  68.     color:#fff;
  69.     background:transparent url('/Imagenes/dolphin_bg-OVER.gif') repeat-x bottom left;
  70.     }
  71.  
  72. #dolphinnav ul li a:hover span{
  73.     display:block;
  74.     width:auto;
  75.     cursor:pointer;
  76.     }
  77.  
  78. #dolphinnav ul li a.current,#dolphinnav ul li a.current:hover{
  79.     color:#fff;
  80.     background:#1D6893 url('/Imagenes/dolphin_left-ON.gif') no-repeat top left;
  81.     line-height:275%;
  82.     }
  83.  
  84. #dolphinnav ul li a.current span{
  85.     display:block;
  86.     padding:0 20px 0 0;
  87.     width:auto;
  88.     background:#1D6893 url('/Imagenes/dolphin_right-ON.gif') no-repeat top right;
  89.     height:33px;
  90.     }
at the time that this CSS to assign a <UL> dont present all image that i put into CSS. look how i use the CSS:
Expand|Select|Wrap|Line Numbers
  1.   <div id="dolphincontainer">
  2.                   <div id="dolphinnav">                    
  3.                         <ul>
  4.                           <li><a href="http://www.free-css.com/free-css-menus.php" class="current"><span>Link 1</span></a></li>
  5.                           <li><a href="http://www.free-css.com/free-css-menus.php" class="current"><span>Link 2</span></a></li>
  6.                           <li><a href="http://www.free-css.com/free-css-menus.php" class="current"><span>Link 3</span></a></li>
  7.                           <li><a href="http://www.free-css.com/free-css-menus.php" class="current"><span>Free CSS Menus</span></a></li>
  8.                           <li><a href="http://www.free-css.com/free-css-menus.php" class="current"><span>Link 5</span></a></li>
  9.                           <li><a href="http://www.free-css.com/free-css-menus.php" class="current"><span>Link 6</span></a></li>                          
  10.                         </ul>
  11.                   </div>
  12.                </div>
Aug 14 '09 #1
1 1931
YarrOfDoom
1,247 Expert 1GB
Seems to me like you made a typo on line 32, unless '/Imagenes/dolphin_left-ON.gif' is actually the way you wanted to spell it :)

Also, why are you only using 3 characters ('#fff') to define a color? Shouldn't there be six?
Aug 23 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Danny | last post by:
Thanks again Chris for your help with the javascript to validate my asp form. the javascript code for 'validate' is in place on same page and I even tried to launch a prompt saying "hello" at...
4
by: Dave Moore | last post by:
Hi All, I'm putting a website together using PHP and a MySQL database. I've been using phpMyAdmin as it makes updating the DB nice and easy. For development, I've been using Apache, MySQL and PHP...
1
by: pintur | last post by:
The message is: SQL1036C Errore di I/O durante l' accesso al database. SQLSTATE=58030 what is the proble? what for restore tables? thanks
0
by: Mike Thomas | last post by:
We are running an Access 2000 application "Kitting" on a server running Windows 2000 and Citrix server. Earlier this week, we began receiving this error whenever anyone tried to open this or any...
2
by: Alireza Haghshenass | last post by:
Dear All, I have got a problem when trying to hide the form at start up of the program. I tried all the ways but at start up it fails.
4
by: C Learner | last post by:
Hi, I have an application which is using a dll written in C++. When the program go to the function below, it would raise an NullReferenceException at the line of PtrToStructure. public bool...
1
by: aa | last post by:
I am using VS2003 and when I am launching the web application in the sub folder page he me show the error Configuration Error Description: An error occurred during the processing of a...
2
by: Andrew | last post by:
hi, here is my code : szQry = "SELECT SubCategory_ID , " & _ " Loc1.Description as Descrizione " & _ " FROM C_SubCategories " & _ " LEFT OUTER JOIN D_Localizations Loc1 " & _ " ON (...
0
by: John M | last post by:
Hello, I am using Visual studio .NET 2003. I had changed the start default project by : project -> properties -> configuration properties -> start project (the changed page was a frameset). ...
5
by: Rich | last post by:
I loaded visual studio.Net 2003 on a windows XP workstation, and I was able to run aspx applications. Later I loaded JBuilder 2005 (Enterprise Java builder 2005) which runs the Tomcat 5.0 web...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.