[wp-hackers] WP Tabs

Mark Shields laebshade at gmail.com
Thu Aug 26 13:49:49 UTC 2004


That works, but I would recommend using margin: 1px; instead of
defining a border.  More efficient, I suppose, but of course it's up
to you.

On Thu, 26 Aug 2004 13:47:02 +0530, Arvind Satyanarayan
<arvind_2111 at yahoo.com> wrote:
> Mark Jaquith wrote:
> 
> > A lot of them are just hidden away in the WP source, without much
> > documentation.
> 
> Hmm, the problem is I don't use WP. Once (if) docs come up on these
> advanced functions I'd be more than happy to link to it via WP Tabs.
> 
> > As for the small shifts... they are introduced because you've defined
> > a border for :hover but not for the normal state.  So on :hover, the
> > border is introduced dynamically, and everything gets shifted around.
> > So what you need to do is to define a 1px border (or however wide the
> > :hover one is) for the normal state with a color that will blend in.
> > Hope that helps.
> 
> That did help, I've chaged the stylesheet, and the shifts seemed to have
> stopped. Thanks :)
> 
> 
> 
> --
> Arvind Satyanarayan
> http://blog.arvind-satya.com - Chinwags from Abu Dhabi
> http://www.movalog.com - Movalog ~ All Things Movable Type
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>



More information about the hackers mailing list