Re: CSS in ASP.NET
From: Michel de Becdelièvre (m_debec_at_msn.com)
Date: 11/09/04
- Next message: Bill Borg: "RE: sending HTML email"
- Previous message: Ian Suttle: "Re: ASP.Net form not posting!"
- In reply to: tshad: "Re: CSS in ASP.NET"
- Next in thread: Jeremy Davis: "RE: CSS in ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Nov 2004 21:52:32 +0100
"tshad" <tscheiderich@ftsolutions.com> a écrit dans le message de news:
O7ZkOHoxEHA.3080@TK2MSFTNGP14.phx.gbl...
> "Michel de Becdelièvre" <m_debec@msn.com> wrote in message
> news:%23Mz1XpkxEHA.2036@TK2MSFTNGP12.phx.gbl...
>>
>> "tshad" <tfs@dslextreme.com> a écrit dans le message de news:
>
> Is this why the image size and font size are larger than Mozilla and
> Netscape if I use font-size:small?
If I remember well there is a bug (sorry : "this behaviour is by
design") in pre IE6 versions of IE on this specific instruction.
The bug is either still present in IE6 or dependent on the "quirk mode"
(DOCTYPE), I don't remember.
(Update) Google is your friend :
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/fontsize.asp
Remarks
As of Internet Explorer 6, when you use the !DOCTYPE declaration to
specify standards-compliant mode, the default value for this property is
small, not medium.
Negative values are not allowed. Font sizes using the proportional "em"
measure are based on the font size of the parent object.
Possible length values specified in a relative measurement, using the
height of the element's font (em) or the height of the letter "x" (ex), are
supported in Internet Explorer 4.0 and later.
> If I set the default size (say, font-size:12) and then follow that with
> small, then I should get the same size for IE and Mozilla?
>
> Also, when you say your standard CSS *** are you talking about one you
> set up yourself? Where would I gat a sample startup CSS *** from W3C?
Google is your friend : http://www.w3.org/TR/CSS21/sample.html,
http://www.w3.org/TR/REC-CSS2/sample.html
I think I started from one of those two, and built up gradually from
there whenever I noticed a difference in default behavior, it's a work in
progress, and tied to my projects. I also abandoned all support for anything
older than IE6 / Mozilla / Firefox.
- Next message: Bill Borg: "RE: sending HTML email"
- Previous message: Ian Suttle: "Re: ASP.Net form not posting!"
- In reply to: tshad: "Re: CSS in ASP.NET"
- Next in thread: Jeremy Davis: "RE: CSS in ASP.NET"
- Messages sorted by: [ date ] [ thread ]