473,394 Members | 1,946 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,394 software developers and data experts.

Help with a css ul menu

347 100+
i am trying to get two lines of text for 1 button on a ul css menu..

The only way i have found to get the line return to only line return the single button is to put a iv around it.

Expand|Select|Wrap|Line Numbers
  1. <UL id="topnav">
  2. <LI id="boys"><a href="boys.asp?id=All">BOYS</a></LI>
  3. <LI id="girls"><a href="girls.asp?id=All">GIRLS</a></LI>
  4. <LI id="everyone"><a href="everyone.asp?id=All">EVERYONE</a></LI>
  5. <LI id="kids"><a href="kids.asp?id=All">KIDS</a></LI>
  6. <LI id="news"><a href="http://www.yaketyyak.co.uk/news/">NEWS</a></LI>
  7. <LI id="shortlist"><a href="http://www.yaketyyak.co.uk/news/">
  8. <div>VIEW<br />
  9.   SHORTLIST</div></a></LI>
  10. <LI id="talent"><a href="newtalent.asp?id=All">NEW TALENT</a></LI>
  11. <LI id="home"><a href="http://bytes.com/submit/index.asp">HOME</a></LI>
  12. </UL>
now i have the two line button on a seperate line instead of inline can anyone help??


Expand|Select|Wrap|Line Numbers
  1. #TOPNAV {
  2.     DISPLAY: INLINE;
  3. }
  4. #topnav li {
  5.     display: inline;
  6. }
Jul 4 '13 #1
0 1226

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

Similar topics

1
by: Sumit | last post by:
Hello, Are there any tools or ready code available to create a help menu including full index text search, etc?? Help will be appreciated. Thanks Sumit
0
by: Dave | last post by:
I'm trying to figure out how to create a simple help menu within my .Net Windows application. I can't find any help in my VB Visual Studio help file ... only thing I find on Internet is tools that...
3
by: Daniel Tan | last post by:
How can i take away the Access 2000 help menu ? Even better then whole default menu. Pls advise. Thanks. Regards, Daniel
0
by: Junkguy | last post by:
Hi, I need help adding help to my Visual Studio 6 C# form application. In searching around the Microsoft C# documentation for Visual Studio, I cannot seem to discover how to add a menu item to...
0
by: Mg | last post by:
Hi. I would like to do like an Help menu (F1). So, I have a TreeView on the left, and 'a' panel on the right. The TreeNodes have a Tag that permit to store the panels I want to show on the...
0
by: tony | last post by:
Hello! I have installed Visual Studio .NET 2003 but when I use for example index in the Help menu for class Form it display a very small and strange font. It's hardly readable. Does anybody...
4
by: Edward K. Ream | last post by:
Hello all, Creating a 'Help' menu 'by hand' on the Mac does not work, or rather, it creates a *second* Help menu. There are hints about how to do this at:
1
by: gordon | last post by:
Hi I have an app that i have written a chm help file for. What is the best way to associate that with my help menu and the F1 key. I have added the file to the project already, just not sure...
1
by: Kevin Killion | last post by:
I am building a website for a school, but running into a display problem between IE and CSS. (The site is http://stmary-stthomas.org/ ) The main horizontal menu bar looks just fine on Mac and PC...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
tracyyun
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...

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.