![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Did you try it with the correct syntax? With <ul> nested in <li>. This goes a *lot* faster if you provide an URL demonstrating the problem. See previous message to Beauregard. |
#12
| |||
| |||
|
|
Beauregard T. Shagnasty wrote: Provide a sample URL. Harlan Messinger wrote: Yes, please, I'm likewise not seeing why this would happen. I use this approach all the time. Here it is: http://ivredimages.free.fr/produits.php |
#13
| |||
| |||
|
|
The width of this design is 800px. |
|
I should make it a bit smaller then. |
#14
| |||
| |||
|
|
Beauregard T. Shagnasty wrote: Chris wrote: Here it is: http://ivredimages.free.fr/produits.php See the page with IE6 or IE5.x Win2K, IE6 and Firefox 1.0.3 look pretty much the same to me. Did your original effort have the nested <ul> outside of an <li>? For me, it is okay under Firefox. But under IE, the first line item is shifted to the right a few pixels. The <ul> are nested inside <li> in this page. |
|
2. It won't fit in my 800px wide browser window without horizontal scrollbar. The width of this design is 800px. I should make it a bit smaller then. |
|
Thank you for your remarks. |
#15
| |||
| |||
|
|
The "Semi-remorque" line. Very minor - I wouldn't get upset by it. <g However, what happens if you shorten the text "Effectuée par des professionnels du transport :" so it is not near the image? |
|
2. It won't fit in my 800px wide browser window without horizontal scrollbar. The width of this design is 800px. I should make it a bit smaller then. Actually, why not make it fluid, so it doesn't matter *what* the size of the visitor's browser is? http://www.benmeadowcroft.com/webdev...ft-column.html |
| percentage ( 100% ), and dropping Verdana from the font list. Google for why - discussed in these groups almost daily. |
#16
| ||||
| ||||
|
|
Beauregard T. Shagnasty wrote: The "Semi-remorque" line. Very minor - I wouldn't get upset by it. <g> However, what happens if you shorten the text "Effectuée par des professionnels du transport :" so it is not near the image? I have just done that but the result is the same. |
|
Actually, why not make it fluid, so it doesn't matter *what* the size of the visitor's browser is? http://www.benmeadowcroft.com/webdev...ft-column.html Fluid would mean that the width would adapt to the browser window, |
|
which could lead to something disproportionate with widths 1024 or 1280. I wonder if this would be a good idea for this type of design... |
|
percentage ( 100% ), and dropping Verdana from the font list. Google for why - discussed in these groups almost daily. I am not sure I understand your remark for Verdana. What is wrong with it? |
#17
| |||
| |||
|
|
This goes a *lot* faster if you provide an URL demonstrating the problem. See previous message to Beauregard. The problem goes away if you remove .normalList li {margin: 1em;}. IE |
#18
| |||
| |||
|
|
But this would not solve my problem: there is still a shift to the right of the first list item. |
#19
| |||
| |||
|
|
If you want a list to work with reasonable consistency across ALL browsers, you have to set the margin AND the padding. Some browsers indent their list items with margin, some with padding. You have to set both. I typically set padding: 1em and margin: 0. I suggest about 1.4em for <ul> to allow for IE's need for lots of space |
![]() |
| Thread Tools | |
| Display Modes | |
| |