|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 ! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 ! > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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 > > > |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Hey Tim, thanks a lot, that did the trick for me!
|
|
![]() |
| Outils de la discussion | |
|
|