dynamic heading text, possible to fill in remaining space with a background?

Discussion in 'CSS' started by wolfestone, Jul 19, 2010.

  1. #1
    here's what I'm trying to do:

    [​IMG]

    The column is a fixed width, but the heading is dynamic text. I want to fill the remaning space with a solid bar (black area) that will fit regardless of the length of the heading text. It will be one line.

    is thre any way to do this? I'm stuck.

    Thanks for any suggestions
     
    wolfestone, Jul 19, 2010 IP
  2. simpleloveman

    simpleloveman Guest

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Make a div for the background and give the color you need as background..... And make a div for text color and give it the color you want to to whatever you need. And the problem will be solved. I can do incase if you want me to do.
     
    simpleloveman, Jul 19, 2010 IP
  3. wolfestone

    wolfestone Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry, I realized I forgot to mention that my page has a textured background. I may be able to make a tiled piece of that though and repeat it behind just the heading, and put the stripe on the div.

    Thanks very much for the help!
     
    wolfestone, Jul 19, 2010 IP