473,799 Members | 2,840 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with a margin when putting and image in a unorderd list

Hi,

I hope somebody can help me. Please look at the following page to see
what's it about.

http://www.tilburg.nl/development/_m...in-problem.htm

The problem doesn't seem to exist in Opera. Only in Mozilla and IE??

Does anybody know how I can remove the extra space between the images???

--
See ya,
Banaan666

=============== =============
please remove .NOSPAM from
e-mail address when replying
=============== =============
Jul 21 '05 #1
6 1516
On Sun, 24 Oct 2004 21:11:52 +0200, Banaan666
<wi********@yah oo.com.NOSPAM> wrote:
Hi,

I hope somebody can help me. Please look at the following page to see
what's it about.

http://www.tilburg.nl/development/_m...in-problem.htm

The problem doesn't seem to exist in Opera. Only in Mozilla and IE??

Does anybody know how I can remove the extra space between the images???


Start to fix this line...

list-syle: none;
- - - -^^^^

....and then you should really set up a selector for your style rule and
not have it apply to every element on the page.

--
Rex
Jul 21 '05 #2
Banaan666 wrote:
Hi,

I hope somebody can help me. Please look at the following page to see
what's it about.

http://www.tilburg.nl/development/_m...in-problem.htm

The problem doesn't seem to exist in Opera. Only in Mozilla and IE??

Does anybody know how I can remove the extra space between the images???


Add this to your styles:
img {display:block; }

Other comments:
Correct the typo for list-style.
Replace 0px; with 0;

--
Gus
Jul 21 '05 #3
Gus Richter skrev:
Other comments:
Correct the typo for list-style.
Replace 0px; with 0;


Why?
--
Knud
Topposter du svar, så ryger du på min ignoreringslist e.
Svar under det du citerer og citer kun det du svarer på - tak.
http://usenet.dk/netikette/citatteknik.html
Jul 21 '05 #4
On Sun, 24 Oct 2004 22:53:45 +0200, Knud Gert Ellentoft
<el*******@mail .tele.invalid> wrote:
Gus Richter skrev:
Other comments:
Correct the typo for list-style.
Replace 0px; with 0;


Why?


The typo - because if you don't the style won't work.

Replace 0px with 0 - because units are not required on 0 values. It's not
wrong, but it's unnecessary.
Jul 21 '05 #5
Hi,

Sorry about that typo... fixed it and changed the 0px to 0 but still the
same problem... I know I should use a selector for this, but this is
just an example so I left out all the selectors.

=============== =============
please remove .NOSPAM from
e-mail address when replying
=============== =============

Jan Roland Eriksson wrote:
On Sun, 24 Oct 2004 21:11:52 +0200, Banaan666
<wi********@yah oo.com.NOSPAM> wrote:

Hi,

I hope somebody can help me. Please look at the following page to see
what's it about.

http://www.tilburg.nl/development/_m...in-problem.htm

The problem doesn't seem to exist in Opera. Only in Mozilla and IE??

Does anybody know how I can remove the extra space between the images???

Start to fix this line...

list-syle: none;
- - - -^^^^

...and then you should really set up a selector for your style rule and
not have it apply to every element on the page.

Jul 21 '05 #6
Thanks

that img {display:block; } fixed the problem in Mozilla en Opera... but
it makes it worse in IE... ???

Have a look at the page in IE
http://www.tilburg.nl/development/_m...in-problem.htm

=============== =============
please remove .NOSPAM from
e-mail address when replying
=============== =============
Gus Richter wrote:
Banaan666 wrote:
Hi,

I hope somebody can help me. Please look at the following page to see
what's it about.

http://www.tilburg.nl/development/_m...in-problem.htm

The problem doesn't seem to exist in Opera. Only in Mozilla and IE??

Does anybody know how I can remove the extra space between the images???


Add this to your styles:
img {display:block; }

Other comments:
Correct the typo for list-style.
Replace 0px; with 0;

Jul 21 '05 #7

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

Similar topics

16
2499
by: Stanimir Stamenkov | last post by:
Take a look at: http://www.geocities.com/stanio/test/ie_and_floats.html Basically I got such content blocks: <div class="someblock"> <img class="preview" ...> <p>...</p> <div class="clear"></div>
6
16074
by: Haines Brown | last post by:
I find that when I use list-style-image with galeon or mozilla, padding is inserted between the symbol image and the following list text, while under IE 5.0 it seems to be inserted before the image instead of after it. li.up { list-style-image: url(../bin/arrow.png); height: 1.4em; margin-left: -0.4em; }
9
6256
by: Faz | last post by:
Hi I'm having some real trouble with a header I have created within a container. I have two problems; firstly the menu (a horizontal UL) will not centre within the surrounding header, despite attempts to use the following within the #header declaration: margin-left: auto; margin-right: auto; The image above the list is easily centred using the 'text-align' property,
2
2107
by: george.leithead | last post by:
Hi all, I have a very strange problem! In following Web page (which is generated from a CMS System), the navigation to the left 'dissapears' when you roll the mouse over the links? It does not do this in all browsers either. I have found it to happen in IE 7 and the latest patched IE 6. I have tried to find out the reason, but keep finding strange behaviour! You will see at the bottom of the HTML, I have a comment. If you follow...
1
3129
by: rirby2 | last post by:
Hi everyone, I'm currently having a rendering problem in IE7 (haven't even tried the lower IEs yet), vs. what I see in FF2. The simplified site can be found at solerasd.com . (There are more image elements that belong in the list but I've only posted 2 since it replicates the problem and minimizes the code to read. In FF, you should see a logo with two images (currently not HREF's) of the same size below it, and a copyright statement below...
24
3630
by: GloStix | last post by:
I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to show what I'm talking about. http://screencast.com/t/i5SLg3cAczH (*WARNING, TAKES A WHILE TO LOAD*) *HTML* <html> <head> <title>James Mann - Portfolio</title>
2
1540
by: Paulson | last post by:
HI all I got a problem with my menu display.I am making a list as shown below in one of my aspx pages. And added a stylesheet in CSS for it. This is not working in IE but not in Mozilla Firefox it is working. Can anyone please help me with this? Just after the page html I pasted my CSS stylesheet code also. __________________________________________________________________
1
2085
by: donpro | last post by:
Hi, I'm creating a template paging sing pure CSS and all looks good except the footer which I am having problems with. 1) When I space out each of the FOUR DIVS at 25%, it wraps in IE. I hacked it by changing to 24% but don;t know why. 2) I can't get the right border to extend down to the bottom border (both IE and Firefox).
3
2030
by: Steve | last post by:
Hi All I have an asp.net 2.0 website with the following css file It uses Master pages and in Firefox 3.04 for windows only, 3 of the web pages don't display the Master page properly The content page overlaps the Master page boundaries In IE 6/7 All works fine
0
9687
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
9541
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,...
0
10482
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...
0
10251
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9072
agi2029
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...
1
7564
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...
1
4139
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
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
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...

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.