Jeralyn Merideth wrote:
> Rafael,
>
> Thank you for your advice. However, I'm a little confused. Here is the
> code for my body:
>
> body#navon_home #navbar li#home a {
> background: #fff url(../img/navon.jpg) repeat-x;
> color: #fff;
> }
> body {
> text-align: center;
> background: url(../img/banner.jpg) repeat-x;
> }
[...]
> You can see that I *do* have #fff as a background color.
Actually, at this point you overrode the background color with your
second rule, you should add #fff to that background, i.e.
background: #fff url(../img/banner.jpg) repeat-x;
> Here 's the code for my topmast:
>
> #topmast {
> position: relative;
> top: -15px;
> height: 62px;
> background: transparent;
> }
>
> As you can see, I do not have a value of "auto" on the "top" property.
> Is it possible you are looking at an old file? Not that I think I ever
> had it set to auto. I wouldn't put a value of auto on that property.
You are right, that was my rule, so I explained that totally wrong.
I meant you didn't need the top property, since you are now (assuming
you did take my code into consideration) overriding the body's padding
and margin, so now setting top to a negative value will mean having it
out of the viewport.
> I'm also confused as to why you feel mixing em's with pixels is an
> "atypical" design approach. Have you ever viewed Cameron Moll's work?
> He mixes em's with pixels all the time and I wouldn't call his work
> atypical.
You are right, yet something else I didn't explain as I should.
Sorry for not using the right words. I only meant you won't get what
you're probably waiting for, since you're setting the height in px but
the padding is set in em's.
> also, could you clarify, for me, what you mean by "basic issues"? I'm
> not sure how I can fix something unless I know what is wrong.
That was regarding the negative top position to correct the body's
padding / margin. You know, I think I was somehow mad at this point,
sorry for this, it had nothing to do with you.
> Hint: I changed the font size to something else and that didn't work
> either.
:) I hope you meant you did that with your browser's "font size"
feature (or whatever is called), and not in the CSS code itself (though
it should work too, I believe).
Hope this helps... this time... somehow.
Regards.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/