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

Bullets in UL List hidden by left floated navbar

Wiz
Greetings the group!
I see from a few previous postings that I am not the only person having a
problem with hidden list item bullets. This question applies to both IE 6,
current version, and Firefox 0.8 browsers, which I am using for testing.

I have a design in progress that uses a relatively positioned, left-floated,
122px wide navbar, with the main content padded to the right by 10px,
wrapping under after it exceeds the height of the navbar. Everything looks
fine, except when it comes to ordered and unordered list items. The bullet
dots, or decimal numbers are hidden inside the navbar, by approximately
15px. I have managed to push them back into the content area by applying
this inline style to the UL and OL tags: <ul style="margin-left:70px;
padding-left:70px">. This pushes the bullets into the main content area by
about 12 px from the edge of the navbar. Is this the correct fix, or is
there a better method?

I even tried wrapping the lists inside a blockquote, to no avail. There was
no right offset added. I can get the lists to display normally if I add a
<div style="clear:left"> or <br clear="left">, before the list starts, but
this defeats the design by dropping the lists entirely under the navbar.

I notice that with this fix the list items that should wrap under the navbar
do not, but are offset about 132px to the right, all the way to their end,
whereas paragraphs and headings float to the left edge. If I remove the
margin and padding the list items that have passed the navbar do go close to
the left edge of the body. This tells me that list items are being
positioned relative to the left edge of the html and body, rather that the
containing DIV. Is this correct? Is there a workaround to make lists behave
like other floated block items?

Thanks in advance
--

Posted IMHO, by "Wiz"
Please reply to the group
Jul 20 '05 #1
2 2758
Wiz wrote:
This question applies to both IE 6,
current version, and Firefox 0.8 browsers, which I am using for testing.
FYI, Firefox 0.9 is now available.
I have a design in progress...


URL?

--
Mark.
Jul 20 '05 #2
Wiz
"Mark Tranchant" <ma**@tranchant.plus.com> wrote in message
news:BG*********************@stones.force9.net...
Wiz wrote:
I have a design in progress...


URL?

Mark.


Thanks Mark;

Here are two URLs:
The first is for the unaltered list codes page, where the bullets are
hidden:
http://ns.pnet-server6.net/~wizcraft...ems_page1.html

and the second has my margin-left:70px; padding-left:70px applied to the
master UL tags, which shows the bullets:
http://ns.pnet-server6.net/~wizcraft/

--

Posted IMHO, by "Wiz"
Please reply to the group

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike Kozlowski | last post by:
I have a div floated left for a navbar, with another div in the normal flow for content, like so: #leftnav { float: left; width: 120px; } #content { margin-left: 170px; margin-right: 10px;} ...
6
by: Stephen Miller | last post by:
Hi, How can I configure an ordered list so that the bullet is placed on the right hand side of the list item. ie: list item 1 * list item 2 * list item 3 * Thanks,
1
by: Johannes Theile | last post by:
Hi, is it possible to show the bullets in a list (ul), although it is possitioned as an inline element? Greetings, Johannes
1
by: P Creyghton | last post by:
Does anyone know how to change the distance between a list item and the accompanying text??? example. 1.------item1 2.------item2 should be:
3
by: Jordan Peterson | last post by:
When using {list-style: none} to hide the bullets in a <ul>, the bullets disappear but they are still accounted-for when positioning text. Specifically, I have: <div style='text-align:...
5
by: Howard Martin | last post by:
I have a page at http://www.develop.check.com.au/hols/ where I'm trying to put a navigation strip on the left of the page. Try as I may, I can't get rid of the bullets and move the list over to the...
2
by: Max58kl | last post by:
Hi I am trying to create a bulletted list that has a colored background. The follow css code successfully applies the background color to the list items, but for some reason does not apply the...
5
by: donpro | last post by:
https://testbed.odysseyshipping.com/ 1. If you do a "View Source", you'll see that there are 4 unordered lists in the footer yet they are not displaying in the browser (Firefox or IE). Why? ...
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: 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
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
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.