I was wondering if there was a way to have a horizontal rule to continue before and after a word? Kinda of like
is there a code for that?
I was wondering if there was a way to have a horizontal rule to continue before and after a word? Kinda of like
is there a code for that?
------------------
Check out my site here and let me know what you think
You could use CSS to position it like that, but there is no default way to make it stay on the same line.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Why type of CSS code would I need?
------------------
Check out my site here and let me know what you think
It might depend on the exact situation/layout, but I imagine it would be similar to the CSS you would use to position a div in an unusual way. For example,float:leftmight help. I'd have to play with it to see how it works. You could also use CSS to try and override the 'block' aspect of an <hr>. Maybe juststyle="display:inline;"would be enough.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Code:<head> <style> hr{ margin-left:60px; } .line{ float:left; width:100%; margin-top:-18px; } .text{ float:left; } </style> </head> <body> <div class="text">Jan 13th</div> <div class="line"><hr /></div> </body>
Bookmarks