Jump to content
Sign in to follow this  
helemaal-gek

overline and underline

Recommended Posts

I was busy working on my website, but then I wanted to overline and underline one text at the same time. You know like a roman date. MMVI = 2006 Is there anyone who knows how to do this with HTML or CSS?

Share this post


Link to post
Share on other sites
:) tnx pulpfiction it worked!holmedwa04: I couldn`t find it.. at least not one in css, just text-decoration: underline; or text-decoration: overline; and in HTML I only found an underline ( <u></u> ).. but tnxa few minutes later.. I walked against another problem:I made a <div> for this overline and underline in another <div> now it is shown to me beneath each other.. another good suggestion to solve this problem?

Share this post


Link to post
Share on other sites
Presumably that is a CSS attribute, can you do this in HTML?
The html code for that would be<span style="text-decoration: overline underline;">Text to be overlined and underlined.</span>:)

Share this post


Link to post
Share on other sites
The html code for that would be<span style="text-decoration: overline underline;">Text to be overlined and underlined.</span>:)
That worked for me in Firefox.

Share this post


Link to post
Share on other sites

Even the non-inline CSS code works in FireFox 1.5 and 2.0. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×