W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > October to December 2004

Re: CSS 'width' Question

From: Jon Gunderson <jongund@uiuc.edu>
Date: Thu, 7 Oct 2004 09:49:31 -0500
To: Aaron Smith <aaron@gwmicro.com>, w3c-wai-ua@w3.org
Message-Id: <9174ef2d.8b95f36d.81b6100@expms1.cites.uiuc.edu>

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
Received on Thursday, 7 October 2004 14:55:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 06:51:27 GMT