I then used border bottom where i can manipulate thyickness & colour but it runs right across the page like a block element and not inline (hope Ive got this right)

So my question is: Is there a way to get border botom inline so it just underlines the text and does not run right across the page?

Any insights welcome

Zygoma
—
2010-06-01T15:25:15Z —
#2

aebstract said:

You can put your text in a span <span>text</span> and style the span with your border-bottom styling.

Thanks aeb your solution fixed it

PicnicTutorials
—
2010-05-28T15:29:24Z —
#3

Hi. Use border and float the element. Floating it will shrink wrap the border to the length of the text.

aebstract
—
2010-05-28T15:25:38Z —
#4

You can put your text in a span <span>text</span> and style the span with your border-bottom styling.

RyanReese
—
2010-05-28T21:52:53Z —
#5

I'd actually be more inclined to use aebstracts solution (not to take away from yours Erics) but floating will need to be cared for, aka clearing the next element, and sometimes floating won't be possible.

I'd actually do aebstracts solution to be perfectly frank with you :). Though you can do either or