37 users online (0 members and 37 guests)  


  Results 1 to 3 of 3

Related

  1. <span>    Forum: CSS Forum
    Replies: 2
  2. can <span> do this?    Forum: CSS Forum
    Replies: 1
  3. can <span> do this?    Forum: HTML Forum
    Replies: 0
  4. Help Using Span    Forum: CSS Forum
    Replies: 1
  5. left border background question    Forum: HTML Forum
    Replies: 5
  1. #1
    Smith's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2004
    Posts
    3

    Span / border question

    Hello everyone,
    I'm just begining to learn css and could use some help.


    What does span do exactly?

    Also I want to use a border to form an empty box as a frame to position some graphics over.

    I've found width and border-width but what governs height?
    is it o.k to use a height command or will this be bad code.

    Greatful for any help
    Thanks Smith.
    Last edited by Smith; 06-29-2004 at 02:56 PM.

  2. #2
    krak_d's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Liverpool
    Posts
    166
    Hi Smith and welcome to the forums,

    the span element works in conjunction with id and class attributes to help make it easiar for you to give some structure to your document via CSS commands.

    The span element defines content to be inline whereas the div element defines content to be block-level.

    Also I want to use a border to form an empty box as a frame to position some graphics over.
    Place your image in a table and set the border to anything other than zero!

    krak_d

  3. #3
    Smith's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2004
    Posts
    3

    thanks

    hello krak_d thanks for the help much appreciated



Tags for this Thread