price sheet style..

Discussion in 'CSS' started by seenlihner, Aug 14, 2007.

  1. #1
    I'm trying to find a way to format a price sheet so the item is justified to the left and the price is justified to the right but in between are "......" leading to the price. I understand using auto width will wrap the <div> around the text, but i don't know how to get the "....." to display the whole width between the item and the price.

    fyi...i can't set the text background color because i'm using a gradient background from a previous layer.

    --thanks
     
    seenlihner, Aug 14, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    I think this is a job for a server-side language.. that or resort to a transparent background image on the text.
     
    soulscratch, Aug 14, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sounds like tabular data to me. Try using a table, then add some CSS to position the content of the table cells (and yes, align="" is valid in tables, even in X/HTML Strict).
     
    Dan Schulz, Aug 15, 2007 IP