Hmm. the plot thickens.
In mozilla's forms.css is where it all happens:
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
padding: 0px 2px
damn that Reply-To
-- Forwarded message --
From: sam foster <[EMAIL PROTECTED]>
Date: Wed, May 7, 2008 at 9:49 AM
Subject: Re: [css-d] button padding in FF
To: Philippe Wittenbergh <[EMAIL PROTECTED]>
The span is in the button to provide for flexibility in how the
I have that exact browser, albeit on OS X 10.5.2 - as have many 1000s
of dojo users, so thats a worrying report. Firebug or other addon
instability?
Thanks for going and taking a look though. I've put up a reduced test case at:
http://sam-i-am.com/work/sandbox/css/buttonpadding.html
On Mon, May 5
does anyone know a trick to get rid of the minimum padding that FF
applies to button elements? I'm putting background image on a span
inside a button and its applying 3px left/right padding around the
contents, even if I set padding: 0.
Also tried -moz-padding-start: 0; -moz-padding-end: 0; to no e
As you say there's all kinds of nested table fun going on there. And
AFAICT you've just got your div in the wrong td. Back out a level or
two and look at the rows - there's 2 rows to the table, one for the
top, one for the bottom. You need to inject your div into the bottom
row, first td. There may
> No ambiguity at all, imho. Both selectors have the same specificity.
> Both target the same element: a p that is a descendant of a div (this
> can be div p or div div p or div div div p). Descendant is the
> keyword here.
> The second selector wins, because it comes last in the stylesheet.
> CSS
explicit what was going on.
This was for a optional footer on a portlet container where the footer
div was used to complete the chrome around the portlet, but may not
always have any content.
thanks,
Sam
On 10/8/06, Holly Bergevin <[EMAIL PROTECTED]> wrote:
> From: "sam foster"
My goal is to allow the container context to style my "P", but not
inherit different styling when that container is nested in a different
one
> > ..panel2 .container-type2 .container-type1 p {
> > background-color: pink; /* this isnt working. */
> > }
> > ..panel2 .container-type1 .container-ty
I tend to treat button rows (I call them button trays) like any other
list of links, and use floats, with markup something like this:
Button
Label
the UL has margins, padding, list-style-type reset, .buttonTray li has
float: left, .end has clear: both. between .buttonContainer and
.som
I've got a test page at:
http://www.sam-i-am.com/work/sandbox/components/nested_containers.html
It shows some tests I'm doing with nesting containers. I'm trying to
define some container styles that will work nested one in the other
(to a reasonable, arbitrary depth e.g. 4 or 5).
I seeing some str
?
What about css-d isn't working for you? Its (almost?) all
english-language. Occassionally people might spell colour as color (or
vice-versa)..
sorry if I'm missing the point.
Sam
On 10/2/06, Lori Cole <[EMAIL PROTECTED]> wrote:
> Does anyone know a CSS discussion list that is U.S. based? Than
Maybe s5 is better? it is exactly this hybrid. Very standards-based,
and smart in its use of a semantic document structure, css, js.. and
easily extensible.
http://meyerweb.com/eric/tools/s5/
> Yes, but the problem is once again that the stability and
> accessibility of these solutions is just di
This is so simple I must be missing something. But I have this div,
that I want to give a minimum height of 1px. It may or may not get any
content in it, and I want it to collapse up if its empty.
IE 6 doesnt of course support min-height, so for now I'm using height:
1px. But even this simple case
> See, I do not do layout professionally, and do not have to work from
> design comps. Now design comps certainly have their place, but
> I think that the web is _essentially_ a flexible medium.
Just for the record, you can do flexible width table layouts too. But
I'm being cast as the table advoc
I believe the official word from the IE team is that ie7 will be
released for server2003, XP, Vista and the win64 platforms.
If you have a version of XP, you could install in virtual pc (which is
free nowadays)
Sam
On 9/22/06, Ian Young <[EMAIL PROTECTED]> wrote:
> > Subject: [css-d] IE7 on Windo
Well, I for one have several more years experience making layouts that
way than with CSS. They also tend to be more forgiving - of overwidth
content for example.
I also think table-ing up a (non-trivial) layout can be a more
intiutive process than doing the same in CSS. Wrapping your head
around fl
I think the pros and cons of Smarty go beyond the scope of this list,
no matter how you frame it. That said, from a CSS designer's
experience / point of view I like the model. It makes logical sense.
>From the PHP developers point of view, I find it ultimately redundant
- php is already a hypertext
17 matches
Mail list logo