IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Spit and polish
> > ...making the ".Menu a" elements block-level

> Tried it. Like it. Great idea.

Next trick: Now that the "a" element is block-level, you should be able to set padding and margin on it, instead of on the containing div. If you set padding: 0px on the .Menu and "padding: 0.25em 2em; margin: 0px; width: 100%;" on the ".Menu a" you should get the highlight on the links to fill the whole block horizontally. That's what I meant before by better readability; the highlight doesn't just fit the text, it fills the whole block.

> h*

I would leave it then. I just prefer the h* since that already has intrinsic meaning within the markup language (ie HTML). It's a personal preference.

Final tip of the week (thank you, Eric Meyer): while you work with alignments etc, it can help to start your .css file with a (temporary) line:

* { border: 1px dashed grey }

or other color of your choice. It'll immediately show you where your boundaries are. Just make sure you remove it before publication. :D

Many fears are born of stupidity and ignorance -
Which you should be feeding with rumour and generalisation.
BOfH, 2002 "Episode" 10
New Re: Spit and polish
Next trick: Now that the "a" element is block-level, you should be able to set padding and margin on it, instead of on the containing div. If you set padding: 0px on the .Menu and "padding: 0.25em 2em; margin: 0px; width: 100%;" on the ".Menu a" you should get the highlight on the links to fill the whole block horizontally. That's what I meant before by better readability; the highlight doesn't just fit the text, it fills the whole block.

Cool! Setting "width:100%" does not appear to be necessary; in fact for this it looks undesirable in Mozilla. That makes the menu box flow over my Content. That is Not A Good Thing™.

Final tip of the week (thank you, Eric Meyer)

Thank you, tseliot! :)
-YendorMike

What if the hokey pokey really is what it's all about?
- Jimmy Buffett, June 20, 2002, Tinley Park
     OK, so one of those kinks that needs working out... - (Yendor) - (15)
         For one thing... - (a6l6e6x)
         I miss Duckman - (SpiceWare)
         I think I see what it's doing - (JayMehaffey)
         See if that works... - (Yendor) - (7)
             Hard to say what's wrong. - (static) - (5)
                 Re: Hard to say what's wrong. - (Yendor) - (4)
                     Try this. - (static) - (3)
                         WOO! - (Yendor) - (2)
                             *bows* - (static) - (1)
                                 Re: *bows* - (Yendor)
             What I've been doing - (JayMehaffey)
         A few comments, etc. - (tseliot) - (3)
             Re: A few comments, etc. - (Yendor) - (2)
                 Spit and polish - (tseliot) - (1)
                     Re: Spit and polish - (Yendor)

Pain is merely nature's way of hurting you.
43 ms