Chin
Chin

Reputation: 12712

Text on top of lines

I am trying to get text to show above some horizontal lines. But try as I might the text always show underneath.

Here is the code http://jsfiddle.net/mrchin/uTsxZ/

Can anyone see what I need to do? I've always done layout in flash and am still learning css. Any help appreciated.

Upvotes: 0

Views: 69

Answers (2)

gekowa
gekowa

Reputation: 452

You need to use background image to display lines underneath the text.

I updated your code, please review. http://jsfiddle.net/uTsxZ/4/

if you need a tripple line, you need to modify your background image to do that.

Upvotes: 0

Matthew
Matthew

Reputation: 16012

Positioning the text relatively seems to work:

#txt_projects
{
   position: relative;   
}

Upvotes: 2

Related Questions