![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Any kind soul feel like ending my efforts to figure out why two images are removing the top few rows of pixels but repeating them at the bottom? Set the background image to no-repeat. The table-cell height is larger |
#3
| |||
| |||
|
|
Wes Groleau wrote: Any kind soul feel like ending my efforts to figure out why two images are removing the top few rows of pixels but repeating them at the bottom? Set the background image to no-repeat. The table-cell height is larger than the image so the image is repeated. Since the difference in heights is 3 - 5 pixels, only that much of the repeated image shows. |
#4
| |||
| |||
|
|
Any kind soul feel like ending my efforts to figure out why two images are removing the top few rows of pixels but repeating them at the bottom? Set the background image to no-repeat. The table-cell height is larger than the image so the image is repeated. Since the difference in heights is 3 - 5 pixels, only that much of the repeated image shows. The base problem is using tables for layout. But aside from that... |
|
I still don't understand why two pixels at the top are cut off, but at least it looks OK without the (web-traditional) ridiculous amount of cruft in either HTML or CSS. Because that is all of the image that could be shown in a 2 pixel high |
#5
| ||||
| ||||
|
|
The base problem is using tables for layout. But aside from that... |
|
img> is an inline element. Browsers are inconsistent how they treat img> with respect to spacing. FF treats it as it does text by allowing space for a descender. Also there is a whitespace issue caused by the newline following <img>: |
|
Setting ".logo { vertical-align:top} removes the descender space. |
|
I still don't understand why two pixels at the top are cut off, but at least it looks OK without the (web-traditional) ridiculous amount of cruft in either HTML or CSS. Because that is all of the image that could be shown in a 2 pixel high space. |
#6
| |||
| |||
|
|
I still don't understand why two pixels at the top are cut off, but at least it looks OK without the (web-traditional) ridiculous amount of cruft in either HTML or CSS. Because that is all of the image that could be shown in a 2 pixel high space. Again I am not understanding you. How does that relate to the TOP of the image being cut off, in an element specified to be the same height as the image? I guess we are not talking about the same thing. I though you were |
#7
| |||
| |||
|
|
If you're _really_ generous and ambitious, why are my "centered" navigation links slightly off-center? |
for all except for the 'News &
#8
| |||
| |||
|
|
Wes Groleau wrote: If you're _really_ generous and ambitious, why are my "centered" navigation links slightly off-center? The 'News & Notes' line is centered perfectly. |
|
All the others are centered off to the right somewhat. There are two white spaces (   for all except for the 'News &Notes' line. DOM Inspector also shows same. |
|
If you delete all before the <a up to the beginning of the line then you should be ok. Don't know what kind of editor you are using and how the fixed widths got in there. Windows Notepad does not show them. |
![]() |
| Thread Tools | |
| Display Modes | |
| |