473,394 Members | 1,960 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.

menubar

pradeepjain
563 512MB
Hello,
i have a horizontal menu bar .i want it to be center of the page i.e it will sit after the header and it should have equal distance left and right hand side in all browsers how to do it.



thanks,
Pradeep
Aug 30 '08 #1
4 1404
David Laakso
397 Expert 256MB
text-align: center; on the ul is what centers a horizontal list...
Please see:
centered navigaton bar
Aug 30 '08 #2
pradeepjain
563 512MB
The link you sent is working fine..the problem is that i have a single level drop down ...how to achieve this.


Thanks,
Pradeep


text-align: center; on the ul is what centers a horizontal list...
Please see:
centered navigaton bar
Aug 31 '08 #3
David Laakso
397 Expert 256MB
..the problem is that i have a single level drop down ...how to achieve this.
It would be easier to advise with a clickable link to the page in your post. I am guessing the menu you have floats left? If so, and if the page it is within is a fixed pixel width container, measure the width of the space to the right of the menu-- and add half of that dimension as a margin-left on the menu...
Aug 31 '08 #4
pradeepjain
563 512MB
It would be easier to advise with a clickable link to the page in your post. I am guessing the menu you have floats left? If so, and if the page it is within is a fixed pixel width container, measure the width of the space to the right of the menu-- and add half of that dimension as a margin-left on the menu...

Its not in a pixel width container..its in a % width.


Thanks,
Pradeep
Sep 1 '08 #5

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

Similar topics

2
by: Itay L. | last post by:
Dear all, I am trying to figure out how to change the background color of my menubar under Windows. I've tried the following: from Tkinter import * root = Tk()
15
by: Code Monkee | last post by:
How can the toolbar and menubar be hidden in IE? When opening the window via javascript I can specify 'toolbar=no,menubar=no', which works fine. However if the window already exists how can I...
5
by: jeff | last post by:
Hello, I am coding a web application to be used on an internal Intranet. I have already coded a menubar for the application using DHTML. I want to get rid of the standard menubar in Mozilla...
0
by: Thorben | last post by:
Hello, the Menubar of my Visual Studio .Net installation is hidden. I only see the toolbars. In the customize dialog all toolbars are selectable. Only the menubar entry could not be selected (i...
1
by: Bill Short | last post by:
Hello World, I have a form with two custom menubars. One is for when a certain person logs in and the other is for all other users. To get these to only come up when they are supposed to I...
1
by: Filips Benoit | last post by:
Dear All, How can I hide menubars for all forms? Filip
1
by: Richard Hollenbeck | last post by:
I'm building custom menubars for my application--a different one for each form. When I right-click on a menubar and select Customize and click on the toolbars tab, the menubar called "Menu Bar"...
0
by: Mohit Vora via .NET 247 | last post by:
When I load a child form inside an MDI parent, the menubar of the parent covers the child somehow. The MDI parent is set to FormWindowState.Normal and has MaximizeBox, MinimizeBox and ControlBox...
2
by: A.J. Pool | last post by:
I have a form with a main menubar containing a number of menu options. In the empty right half of the menubar I want to place a combobox where users can make some sort of selection. However, when...
1
by: ollyculverhouse | last post by:
Hi, I have a custom menubar which lets users jump to useful forms in my database. For example if I first open a form called 'Add Individual' then another called 'Add Firm', if i try opening...
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
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
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...

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.