PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > auto-indent with a bulleted list
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
auto-indent with a bulleted list

Réponse
 
LinkBack Outils de la discussion
Vieux 01/07/2008, 19h56   #1
r_tist
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut auto-indent with a bulleted list

Hi,

IE auto-indents a bulleted list. Safari and FireFox do not. Why is this? How
do you troubleshoot something like that to correct it?
Should I add left-padding to my li class...or would that only affect the space
between the bullet and the text?

Thank you!

  Réponse avec citation
Vieux 01/07/2008, 20h19   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: auto-indent with a bulleted list

> IE auto-indents a bulleted list. Safari and FireFox do not. Why is this?
> How
> do you troubleshoot something like that to correct it?


Use CSS to manage both the margin and the padding on the <ul> tag.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"r_tist" <webforumsuser@macromedia.com> wrote in message
news:g4duk6$9fg$1@forums.macromedia.com...
> Hi,
>
> IE auto-indents a bulleted list. Safari and FireFox do not. Why is this?
> How
> do you troubleshoot something like that to correct it?
> Should I add left-padding to my li class...or would that only affect the
> space
> between the bullet and the text?
>
> Thank you!
>


  Réponse avec citation
Vieux 01/07/2008, 21h05   #3
Malcolm _
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: auto-indent with a bulleted list

On Tue, 1 Jul 2008 18:56:06 +0000 (UTC), "r_tist"
<webforumsuser@macromedia.com> wrote:

>Hi,
>
> IE auto-indents a bulleted list. Safari and FireFox do not. Why is this? How
>do you troubleshoot something like that to correct it?
> Should I add left-padding to my li class...or would that only affect the space
>between the bullet and the text?
>
> Thank you!



try this:

<style type="text/css">
ul.list {
margin: 0; /*removes indent IE and Opera*/
padding: 0; /*removes indent Mozilla and NN7*/
list-style-type: none;
}/*turns off display of bullet*/

..list li {
margin:0;
font-family: "Times New Roman", Times, serif;
font-size: 1em;
font-style: normal;
}

</style>
</head>

<body>
<ul class="list">
<li>list item 1</li>
<li>list item 1</li>
<li>list item 1</li>
</ul>
<p>&nbsp; </p>
</body>
--

~Malcolm~*...
~*
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h18.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10625 seconds with 11 queries