e too, but I seriously don't recommend
> trying it.
>
> mike 2k:)2
>
>
>e-mail: [EMAIL PROTECTED]
>site: http://www.webSemantics.co.uk
>
>
>
>
>
> -Original Message-
> From: Andrew Krespanis [mailto:[EMAIL PROTECTED]
> Sent: 06 July 2005
: wsg@webstandardsgroup.org
Subject: Re: [WSG] Complete CSS reset
> Has anyone made a stylesheet that resets everything back to the way it
> would be if styling pure XML?
Here you go:
* {
margin:0;
padding:0;
display:inline;
font:1em serif;
}
To quote your CSS file:
"And I didn'
> Has anyone made a stylesheet that resets everything back to the way it
> would be if styling pure XML?
Here you go:
* {
margin:0;
padding:0;
display:inline;
font:1em serif;
}
To quote your CSS file:
"And I didn't reset everything to inline, because then it's hard to
tell what's what."
On 6 Jul 2005, at 5:43 am, Kenny Graham wrote:
So then I set those 11
properties on html, and then set the same properties on html * to
inherit. Works like a charm... but not on IE. I guess IE doesn't
really use a default stylesheet, and if it does, it doesn't cascade
properly. If anyone's m
Well, this has been educational if nothing else. I figured out how to
do it on every non-IE browser (insert sarcastic comment). At first I
tried resetting 11 properties on *, but then realized that it was
killing the entire concept of inheritance. If I set li to bold, links
inside the li wouldn'
Hi Bob
* margin:0; padding:0 removes the margin and padding from EVERYTHING.
You then have to declare your margins and padding on every element or there
will be none.
Personally, I don't want to worry about forgetting the padding on an input
or the margin on a checkbox or forgetting to reset the
s.
This is not unique to me. Others have done more extensive reset commands.
Ted
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rimantas Liubertas
Sent: Tuesday, July 05, 2005 2:49 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Complete CSS reset
O
t: Re: [WSG] Complete CSS reset
On 7/5/05, Kenny Graham <[EMAIL PROTECTED]> wrote:
<...>
>I'm going to be teaching some web
> developers CSS soon and would like to teach it from a "complete
> seperation of structure from presentation" standpoint which is
On 7/5/05, Kenny Graham <[EMAIL PROTECTED]> wrote:
<...>
>I'm going to be teaching some web
> developers CSS soon and would like to teach it from a "complete
> seperation of structure from presentation" standpoint which is hard to
> do when headings are still big, blockquotes are still indented, et
Has anyone made a stylesheet that resets everything back to the way it
would be if styling pure XML? If I have to, I'll go thru html.css and
undo everything that it does, but if someone here has already done it,
it'll save me a lot of time. I'm going to be teaching some web
developers CSS soon and
10 matches
Mail list logo