Tim Ware wrote:
>[...] But there's still The Problem.
>
>
... and to finish this thread:
------------------------------------------------------------------------
On Oct 3, 2006, at 19:12 NL time, Francky wrote off-list:
> Hi Tim,
> I'm sending this off list for I'm at my office now, while my css-d
> login is from home.
>
> The gap is exactly 8px.
> The 64x64 img is inside the <div class="roundimg">.
> The <div class="roundimg"> is inside a <div class="casematerial-2">.
> And in the stylesheet is asked: .casematerial-2 img {margin-right:
> 8px;}.
> Cascade! :-)
> So: .roundimg img {margin: 0 !important;} is solving it.
>
> Greetings,
> francky
------------------------------------------------------------------------
And then:
On Oct 3, 2006, at 19:46 NL time, Tim replied:
> Thanks Francky! That was the ticket.
> I think mine was a boneheaded oversight
> and I appreciate your shining a light on it.
>
> Best, Tim
------------------------------------------------------------------------
End good, all good!
francky
PS the way I discovered it:
* In the Edit CSS sidebar in FF [1] I put a 1px solid red border
around the roundimg-div. Result on the fly!- Determined the gap
was inside the div, so it must be must be some margin or padding
inside, and not the positioning of the div itself.
* Again in the sidebar: giving a green background color instead of
the transparent background color to the corner images. Result:
corners are fine and in the right (right) place, only just in the
gap part of the div, and therefore not visible.
* Made a screenshot, and opened that in a paint program: saw the img
was still 64x64 and not cut off. Determined the gap was 8px tall.
Then the simple trick for simple minds like me:
* The "View CSS" button in the Dev toolbar, and made a quick search
for the string "8px". - After 2 false alarms (18px's discovered
somewhere) determined that .casematerial-2 img {margin-right: 8px)
must be the culprit.
* Back to the page, changed the css in the sidebar, and determined:
no doubt, indeed!
Within 2.3147 minutes, it is taking more time to write this down! ;-)
[1]
The big "bug hunting time saver": Chris Pederick's Web Developer
extension <http://chrispederick.com/work/webdeveloper/>.
It adds a a toolbar to the browser with a scala of wonderful web
developer tools.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/