Nick writes:
> I was just reading the article excerpted below and was curious as to
> how many on the list have used this technique of initially setting all
> padding and margins to 0 and if so how successful was it?
I'm surprised nobody has mentioned:
http://tantek.com/log/2004/09.html#d06t2354
Nothing new for list members, but I've added another post to discuss
some of the issues that this thread has bought to my attention.
http://leftjustified.net/journal/2004/10/19/global-ws-reset/
Andrew.
**
The discussion list for http://webstanda
Thanks to Russ for offering some serious criticism that I could use to
explore the weaknesses of this technique. I think I'll add a follow up
post about this one just because the original article only gave it as
a snippet and really didn't explain any advantages or shortcommings.
> So, apologies t
russ - maxdesign wrote:
You may have been thinking about CSS-Discuss where it came up recently:
And Webmasterworld:
Thanks Russ. It must have been the css-d thread since looking back I see
that I read it and since the Webmasterworld reference was my postI
guess I got the line height addition
> I remember reading a similar suggestion a while back (I don't remember
> where) which included {border : 0; font-site 100.1%; line-height : 1.6;}
> (actually, other than being there, I don't remember what the line height
> was, but I suppose it doesn't matter for this thread).
You may have been
I've been thinking on and off all day and I'd like to do an ignominious
about-face on the zeroing margin and padding technique.
My initial concerns were that:
1. could be more verbose
2. could confuse less-savy future developers.
The verbose issue is easy to overcome. You can zero margins and pad
Nick Lo wrote:
I was just reading the article excerpted below and was curious as to
how many on the list have used this technique of initially setting all
padding and margins to 0 and if so how successful was it?
I remember reading a similar suggestion a while back (I don't remember
where) whic
Hi Andrew,
Thanks for posting the article in the first place, I should've known
the writer would've been on this list!
Anyway, I like the idea and I have a suspicion it'll work pretty well
for my needs. I just tried it in a site I'm working on and it actually
didn't break much and in fact I can
I think this is a strong argument for introducing this
technique to others. The most oft-cited reason for not
using semantic HTML is the perceived control that can
be achieved by using tables/a lot of divs.
By removing this "mystery" dimension from the size of
elements, it could help people to bec
Hi all,
I guess I should add my 2 cents as well :)
re: Russ' comments --
> 1. Once you have removed all margin and padding, this method relies on you
> specifically styling the margins and padding of each HTML element that you
> intend to use. On smaller sites where you may only need to style spec
Thanks for the reply Russ, I agree that it's really down to the
situation.
Some further thoughts from your points:
Smaller sites would presumably have less people working on them and
therefore the issue of confusion is possibly less relevant, though the
problem of verbosity may be. On the other
Not sure about the * declaration but the 11 browsers intrigues me? What
joe bloggs user out there looks at a website in 11 browsers? Broken to
us in Netscape 4 might mean "works fine" to the Netscape 4 user.
If one browser gives me 2px padding and another gives me 1px then I'm
not fussed as lon
Nick Lo wrote:
I was just reading the article excerpted below and was curious as to how
many on the list have used this technique of initially setting all
padding and margins to 0 and if so how successful was it?
Well, I've used it a few times since I read that article and it rocks
In the relativ
Hi Nick,
I think this is very interesting but I have two problems with it:
1. Once you have removed all margin and padding, this method relies on you
specifically styling the margins and padding of each HTML element that you
intend to use. On smaller sites where you may only need to style specific
I was just reading the article excerpted below and was curious as to
how many on the list have used this technique of initially setting all
padding and margins to 0 and if so how successful was it?
"A big part of dealing with cross-browser differe
15 matches
Mail list logo