473,657 Members | 2,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unordered lists - indentation woes in MSIE Mac

Hello

I'm creating an unordered list which will be used as a nav element on my
page. I am using the following CSS:

#nav {
position:relati ve;
left:10px;
top:60px;
height:280px;
text-align:left;
z-index: 30;
}

#nav ul {
list-style-type: none;
margin: 0px 0px 0px 0px;
padding: 0px;
}

#nav li {
background: url(../images/vertical_list_b kgd.png) no-repeat;
margin: 0px 0px 5px 0px;
}

Here's the HTML:
<div id="nav">

<ul>
<li>
<div class="bl"><div class="br"><div class="tl"><div class="tr">Lore m
ipsum dolor</div></div></div></div>
</li>
<li>
<div class="bl"><div class="br"><div class="tl"><div class="tr">Lore m
ipsum dolor</div></div></div></div>
</li>
<li>
<div class="bl"><div class="br"><div class="tl"><div class="tr">Lore m
ipsum dolor</div></div></div></div>
</li>
</ul>

</div>


My lists look great in Safari & Firefox on Mac and Windows, but in MSIE Mac
there is an indent on all items of the list after the first one, and in MSIE
Windows, there is no background image.

I can't figure out what I'm doing wrong here. Has anyone had this problem
in the past? Anyone know how to fix it?

Thanks

-------------S

Jul 21 '05 #1
0 1563

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

Similar topics

29
3049
by: Joseph Haig | last post by:
I am trying to use descriptive lists, <DL>, as shown in <http://www.maths.man.ac.uk/~jhaig/tmp/test.html> with a style sheet at <http://www.maths.man.ac.uk/~jhaig/tmp/default-2.css>. With Mozilla and Opera they appear correctly, with a border round both the <DT> and <DD> parts but in Internet Explorer the borders are messed up. Can anyone please tell me where the mistake is? As an aside, the <div id="main"> section should have the...
21
1653
by: Asfand Yar Qazi | last post by:
Hi, After much use of tabs worth 8 spaces, and constantly having to format my C++ code in funny ways to keep all lines within an 80 character line length limit, I'm seriously thinking of switching to using 4 spaces per tab. I feel like I'm about to lose a a long suffering faithful companion... What are your views on this? Any words of sympathy? :0)
5
1902
by: S | last post by:
Whew! Thanks for your help on that last post. I actually understand what you wrote. I'm trying not to use these groups as a way to get my code written for me, I really want to understand what I'm doing wrong (and right!) so your explanations have been very helpful. I really appreciate them. My last problems involve DIV sizing and MSIE Win spacing issues. I have several DIVs on my page that need to be a minimum width and height.
5
2299
by: ibiza | last post by:
Hi all, I have a question which I have no ideal of the answer...I am currently working on a web application and at some time, I have a string representing a short text. This could be a simple example : "This is my list :\n\r-list item 1\n\r-list item 2\n\r-list item 3\n\r\n\rThis was a great list." Let's say this outputs like that :
5
6048
by: simplico | last post by:
I'm creating an unordered list that fits in a defined width on the left side of the page. It works fine in FF but IE is another story. Here is a watered-down version of the code: <html> <head> <title>Untitled</title> <style type="text/css"> * {margin: 0px; padding: 0px; border: 0px; border: 1px solid
4
8317
by: deko | last post by:
There's a pretty good tutorial here: http://www.mediacollege.com/internet/css/ul-list.html but the problem is *none of the directive seem to be doing anything* for me. What I want is a) no indentation, and b) an image as a marker. From what I've read, the CSS should look something like this:
3
3478
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.
3
3091
by: laredotornado | last post by:
Hi, On both Firefox and IE, how can I replace the bullets before unordered list items, with double arrows ">>" throughout my site? Thanks, - Dave
2
1500
by: akapsycho | last post by:
I'm struggling slowly through this CSS but I'm getting it bit by bit. I've looked around and can't seem to find any solution that centers the list items in my unordered list. It's a 100% width ul and can be found at http://www.antiriddle.com/test. Any ideas?
0
8385
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8821
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, 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...
1
8502
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,...
0
8602
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 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...
1
6162
isladogs
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...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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 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.