473,406 Members | 2,293 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,406 software developers and data experts.

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 1504
On Sun, 24 Oct 2004 21:11:52 +0200, Banaan666
<wi********@yahoo.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 ignoreringsliste.
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********@yahoo.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
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...
6
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...
9
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...
2
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...
1
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...
24
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...
2
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...
1
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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
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.