- From: Aaron Smith <aaron@gwmicro.com>
- Date: Thu, 07 Oct 2004 10:03:20 -0500
- To: Jon Gunderson <jongund@uiuc.edu>,w3c-wai-ua@w3.org
- Message-Id: <6.1.2.0.0.20041007100008.048c4350@127.0.0.1>
Jon, Thanks for the response. My solution is to just use a DIV (fewer keystrokes than applying a block style to a SPAN <grin>). Actually, my concern was that the validator did not complain about applying a style meant for a block element to a non-block element. Thanks, Aaron At 09:49 AM 10/7/2004, Jon Gunderson wrote: >Aaron, >You may need to change the default rendering of SPAN to >"display: block", since the deafult for SPAN is "display: >inline". If you really want the width to be "100%" I would >suggest using the DIV element instead of the SPAN element. By >default DIV is "block level" and SPAN in "inline". > >Jon > > >---- Original message ---- > >Date: Wed, 06 Oct 2004 17:06:26 -0500 > >From: Aaron Smith <aaron@gwmicro.com> > >Subject: CSS 'width' Question > >To: w3c-wai-ua@w3.org > > > > According to CSS1 spec 5.5.23, the width style > > "Applies to: block-level and replaced elements." > > > > Why, then, does the CSS Validator > > (http://jigsaw.w3.org/css-validator/) not complain > > about <SPAN CLASS="wide">Blah</SPAN>, where class > > wide contains width: 100%? > > > > Thanks, > > > > Aaron > > > > -- > > Aaron Smith > > GW Micro, Inc. > > Technical Support & Web Development > > Phone: 260/489-3671 | Fax: 260/489-2608 > > WWW: http://www.gwmicro.com | FTP: > > ftp://ftp.gwmicro.com > > >Jon Gunderson, Ph.D., ATP >Coordinator of Assistive Communication and Information Technology >Division of Rehabilitation - Education Services >MC-574 >College of Applied Life Studies >University of Illinois at Urbana/Champaign >1207 S. Oak Street, Champaign, IL 61820 > >Voice: (217) 244-5870 >Fax: (217) 333-0248 > >E-mail: jongund@uiuc.edu > >WWW: http://cita.rehab.uiuc.edu/ >WWW: http://www.staff.uiuc.edu/~jongund -- Aaron Smith GW Micro, Inc. Technical Support & Web Development Phone: 260/489-3671 | Fax: 260/489-2608 WWW: http://www.gwmicro.com | FTP: ftp://ftp.gwmicro.com
Received on Thursday, 7 October 2004 15:03:25 UTC