Previous Message
Next Message

Header Width

Sent by Simon Jessey on 1 September 2005 18:06


The header elements are known as "block level" elements. You can turn them into "inline" elements to
with the following style rule:

h1, h2, h3, h4, h5, h6 {
    display: inline;
}

Simon Jessey
------------

Business Email: [EMAIL-REMOVED]
Personal Email: [EMAIL-REMOVED]
Business Site:  http://keystonewebsites.com/
Personal Site:  http://jessey.net/


  ----- Original Message ----- 
  From: Mr. Kim Siever 

  Hi all,

  By default, a header element seems to take up the entire width of a
  page (or containing element). Does anyone know if there is a way in
  CSS to reduce the width to be only that of the actual width of the
  text?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: