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 > Spacing on an image within a list?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Spacing on an image within a list?

Réponse
 
LinkBack Outils de la discussion
Vieux 31/05/2008, 02h26   #1
brian914
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Spacing on an image within a list?

I have an image within a list. You can see it here:
http://www.agilitygraphics.com/clients/tsp

I want to control the padding, since there is more space on top as on the
bottom. Why is that happening?

Thanks a lot for any !

  Réponse avec citation
Vieux 31/05/2008, 15h01   #2
Walt F. Schaefer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spacing on an image within a list?

What list? What image? Please be more specific.

--

Walt


"brian914" <webforumsuser@macromedia.com> wrote in message
news:g1q9fl$7u5$1@forums.macromedia.com...
>I have an image within a list. You can see it here:
> http://www.agilitygraphics.com/clients/tsp
>
> I want to control the padding, since there is more space on top as on the
> bottom. Why is that happening?
>
> Thanks a lot for any !
>



  Réponse avec citation
Vieux 31/05/2008, 15h26   #3
djinn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spacing on an image within a list?

brian914 wrote:
> I have an image within a list. You can see it here:
> http://www.agilitygraphics.com/clients/tsp
>
> I want to control the padding, since there is more space on top as on the
> bottom. Why is that happening?
>
> Thanks a lot for any !
>


Try replacing this for yours......

..column1 a:hover, .column1 a:active, #uberlink a:link, #uberlink
a:visited, #uberlink a:hover, #uberlink a:active { color: rgb(243, 112,
33); background-image: url(../images/general/nav_bullet.gif);
background-repeat: no-repeat; background-position: 35px center; }

--
chin chin
Sinclair
  Réponse avec citation
Vieux 31/05/2008, 15h31   #4
djinn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spacing on an image within a list?

djinn wrote:

> Try replacing this for yours......
>
> .column1 a:hover, .column1 a:active, #uberlink a:link, #uberlink
> a:visited, #uberlink a:hover, #uberlink a:active { color: rgb(243, 112,
> 33); background-image: url(../images/general/nav_bullet.gif);
> background-repeat: no-repeat; background-position: 35px center; }
>


Sorry the color value should read......

#f37021

instead of rgb(243, 112, 33)

--
chin chin
Sinclair
  Réponse avec citation
Vieux 31/05/2008, 16h15   #5
brian914
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spacing on an image within a list?

I tried that, but it does not correct the line issue I have.

Walt, I am talking about the list/navigation on the left of the page.

Thanks a lot for the !

Brian



  Réponse avec citation
Vieux 31/05/2008, 16h51   #6
TC2112
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spacing on an image within a list?

Hello,

The line the image is in is affected by the line height setting you have in
the body style.
The line heights are 18px.
The text in the menu is 11px, so there is 7px of space above the text in
each line.
The image is only 1px high, so there are 17px of space above the image in
those lines.
Below the image is the 7px of space above the next text link.
So, you have 17px of space above the images and 7px of space below the
images.

You can easily see the lines better by changing the font size in the menu to
18px, same as the line height.
The text fills each line, and the lines with the image have 17px of space
above the dots.


Try adding this to your CSS:

..column1 img {
display: block;
margin: 4px 0px 4px 44px;
}

Adjust margins as needed.

Take care,
Tim




"brian914" <webforumsuser@macromedia.com> wrote in message
news:g1rq39$pjb$1@forums.macromedia.com...
>I tried that, but it does not correct the line issue I have.
>
> Walt, I am talking about the list/navigation on the left of the page.
>
> Thanks a lot for the !
>
> Brian
>
>
>



  Réponse avec citation
Vieux 31/05/2008, 23h20   #7
brian914
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Spacing on an image within a list?

Hey Tim, thanks a lot, that did the trick for me!



  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 07h06.


Édité par : vBulletin® version 3.7.3
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 ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13767 seconds with 15 queries