helemaal-gek Posted November 22, 2006 Share Posted November 22, 2006 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? Link to comment Share on other sites More sharing options...
pulpfiction Posted November 22, 2006 Share Posted November 22, 2006 Try this....it worked in IE 6, not sure about firefox...text-decoration: underline overline; Link to comment Share on other sites More sharing options...
holmedwa04 Posted November 22, 2006 Share Posted November 22, 2006 Presumably that is a CSS attribute, can you do this in HTML? Link to comment Share on other sites More sharing options...
helemaal-gek Posted November 24, 2006 Author Share Posted November 24, 2006 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? Link to comment Share on other sites More sharing options...
Tarte Posted November 24, 2006 Share Posted November 24, 2006 Try this....it worked in IE 6, not sure about firefox...text-decoration: underline overline;Should be working on FF also Link to comment Share on other sites More sharing options...
helemaal-gek Posted November 27, 2006 Author Share Posted November 27, 2006 it doesn`t.. at least not in my firefox.. (I don`t have the latest version) Link to comment Share on other sites More sharing options...
Jonas Posted November 29, 2006 Share Posted November 29, 2006 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> Link to comment Share on other sites More sharing options...
jesh Posted November 29, 2006 Share Posted November 29, 2006 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. Link to comment Share on other sites More sharing options...
Chocolate570 Posted November 30, 2006 Share Posted November 30, 2006 Even the non-inline CSS code works in FireFox 1.5 and 2.0. Link to comment Share on other sites More sharing options...
helemaal-gek Posted November 30, 2006 Author Share Posted November 30, 2006 oowyeaah!that <span> thing worked! great thank you very much! (I also got rid of that <div> conflict ) Link to comment Share on other sites More sharing options...
holmedwa04 Posted December 1, 2006 Share Posted December 1, 2006 So, could you use:<p style="text-decoration: overline underline;">Text to be overlined and underlined.</p> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now