Using non-breaking space OK for this?

Discussion in 'HTML' started by delerious, Dec 3, 2003.

  1. delerious

    delerious Guest

    I have a one-column table that contains some text. The end of the longest
    piece of text is right up against the right side of the table. I want a bit
    of space in there. So I've added   to the end of the text. Seems to
    work in IE, Mozilla, and Opera. Is this the best way to do what I want?

    Before you mention cell padding, let me say that I cannot use cell padding
    with my table. The pieces of text are also links in my table, and I want the
    user to be able to click on the link anywhere within the table cell, not just
    on the text. So I've set the anchors to have the following styles:
    display:block, width:100%, height:100%. If there's any padding in the cells,
    then the "clickable area" wouldn't take up the whole cell.
     
    delerious, Dec 3, 2003
    #1
    1. Advertisements

  2. delerious

    brucie Guest

    a{padding-right:1em;}
     
    brucie, Dec 3, 2003
    #2
    1. Advertisements

  3. delerious

    delerious Guest

    Thanks for the suggestion!
     
    delerious, Dec 3, 2003
    #3
  4. delerious

    Sid Ismail Guest

    On Wed, 03 Dec 2003 01:56:31 GMT, wrote:

    : I have a one-column table that contains some text.

    Why have a table then??

    Sid
     
    Sid Ismail, Dec 3, 2003
    #4
  5. delerious

    Olaf Studt Guest

    After all, what is a "one-column table"? A list!
    So why not take a <ul> with { list-style: none none; }?

    Greetings
     
    Olaf Studt, Dec 3, 2003
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.