Hello,
I am creating a simple List Menu where when a mouse is over a button
the background changes: http://www.27lamps.com/public/Menu.htm
Why do I get a white space between each menu item?
Thanks,
Miguel 4 1543
shapper wrote:
Hello,
I am creating a simple List Menu where when a mouse is over a button
the background changes: http://www.27lamps.com/public/Menu.htm
Why do I get a white space between each menu item?
Because you have:
2spaces + CR/LF + 2spaces
^^^^^^^ ^^^^^^^
between each </li><li pair
--
Gus
Gus Richter wrote:
shapper wrote:
>Hello,
I am creating a simple List Menu where when a mouse is over a button the background changes: http://www.27lamps.com/public/Menu.htm
Why do I get a white space between each menu item?
Because you have:
2spaces + CR/LF + 2spaces
between each </li><li pair
Sorry about that.
One line removed. ( ^^^^^^^ ^^^^^^^ )
To correct your problem:
Remove the
2spaces + CR/LF + 2spaces
and it should look like this:
Home</a></li
><li><a href="Services. htm">
or something like this:
Home</a></li><li><a
href="Services. htm">
etc.
--
Gus
On May 18, 7:13 pm, Gus Richter <gusrich...@net scape.netwrote:
Gus Richter wrote:
shapper wrote:
Hello,
I am creating a simple List Menu where when a mouse is over a button
the background changes: http://www.27lamps.com/public/Menu.htm
Why do I get a white space between each menu item?
Because you have:
2spaces + CR/LF + 2spaces
between each </li><li pair
Sorry about that.
One line removed. ( ^^^^^^^ ^^^^^^^ )
To correct your problem:
Remove the
2spaces + CR/LF + 2spaces
and it should look like this:
Home</a></li
><li><a href="Services. htm">
or something like this:
Home</a></li><li><a
href="Services. htm">
etc.
--
Gus
My editor is messing things up ... I am using Visual Studio 2008.
How can I check if my HTML code is without this problems?
Thanks,
Miguel
On May 18, 7:53 pm, shapper <mdmo...@gmail. comwrote:
On May 18, 7:13 pm, Gus Richter <gusrich...@net scape.netwrote:
Gus Richter wrote:
shapper wrote:
>Hello,
>I am creating a simple List Menu where when a mouse is over a button
>the background changes:
>>http://www.27lamps.com/public/Menu.htm
>Why do I get a white space between each menu item?
Because you have:
2spaces + CR/LF + 2spaces
between each </li><li pair
Sorry about that.
One line removed. ( ^^^^^^^ ^^^^^^^ )
To correct your problem:
Remove the
2spaces + CR/LF + 2spaces
and it should look like this:
Home</a></li
><li><a href="Services. htm">
or something like this:
Home</a></li><li><a
href="Services. htm">
etc.
--
Gus
My editor is messing things up ... I am using Visual Studio 2008.
How can I check if my HTML code is without this problems?
Thanks,
Miguel
I updated my code following your tips and I solved that problem.
However, now I have a new problem which is something I have
experienced before.
The Menu gets over the text that is coming next?
Any idea why?
Thanks,
Miguel This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sakharam Phapale |
last post by:
Hi All,
How to show dropdown list of menu items just like click on Parent menu.
For example,
Edit (Parent menu)
Cut (child menu)
Copy (child menu)
Paste (child menu)
|
by: Sakharam Phapale |
last post by:
Hi All,
How to show dropdown list of menu items just like click on Parent menu.
For example,
Edit (Parent menu)
Cut (child menu)
Copy (child menu)
Paste (child menu)
|
by: User |
last post by:
Hi,
Is it possible to transform Ordered/Unordered list into navigation dropdown
menus?
Is this effect achieved by CSS? or via Javascript?
PLease advise
Thanks.
|
by: si_owen |
last post by:
Hi folks,
I am developing in asp.ner v2 using visual studio 2005 for a website
project.
I have website control which uses textboxes, drop down listboxes and a
list box.
I have loaded my control as a plugin into my web template, which uses a
flyout navigation menu.
When i hover on the flyout menu, it extends out accross my plugin,
|
by: Aad vd Naad |
last post by:
Hi,
I have create a dropdown menu which looks as expected in Safari (Mac).
Viewing it in FF (Mac) or IE6 (Windows) it's a bit messed up.
It also seems that when the top level links are clicked (#nogo) the whole structure collapses.
I'm staring to this code for hours now, but I can't figure out why it is not cross-browser, compatible, valid etc.
Could someone please take a look at the code and provide suggestions how to improve it.
| |
by: zacks |
last post by:
Most applications whose purpose is to work with various types of files
implement a "Most Recent Files" list, where the last, say, four files
accessed by the application can quickly be re-opened by clicking on
the file name in the File menu. Thist list is usually just above the
typical Exit menu item.
I take it there is no "automatic" way of implementing this, that each
application has to have code that manually does this. I have a good...
|
by: stevedude |
last post by:
CSS newbie again. I have a problem trying to get coffee mug images
within anchor tags to center with my link text for a vertical list
menu. If I use the horizontal/vertical properties of "background" or
"background-image", the positioning only works with specifying
pixels.
If I specify the vertical position in pixels, the image gets cut-off
at the bottom. I don't know what to do and would appreciate anyone's
help. Specifically the code...
|
by: jmartmem |
last post by:
Greetings,
I am using Dreamweaver CS3 to design an ASP page that contains an Insert Record Form. Within this form are two list/menu form fields that I would like to "synchronize". In other words, let's say one list/menu is where the user selects "Program Name" and a second is for selecting "Project Name". If the user makes a selection from the first list/menu, then the second list/menu is requeried and "refreshed" to show only the project...
|
by: lenzie |
last post by:
I am having a very odd problem with a website I run. The menus have recently been changed to use javascript and some people are reporting that when they first use the site, Instead of a nicely aligned list of items each in its own light-blue box. They are seeing a straightforward <li> list with no styles.
The biggest problem is that I think it is only seen the first time someone goes to the site and so I can't see it!!!
So if anyone could...
|
by: rahullko05 |
last post by:
i have designed a menu list program in which i'm facing a problem where the last li item (white crappie) shifts down when i hover mouse pointer to just above li item (ozrack bazz) of white crappie instead (white crappie) li item should be to be sticked just below (ozrack bazz) li item without a down shift.
i request u all to kindly sort the problem.
i have send menu_css.html file along with the layout.css file.
thanks
html file:
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |