I noticed that in my external CSS stylesheet, even if I attempted to use "vertical-align: center" to center <hr> on an html page, it still showed as left-aligned instead. For now, my workaround was this and it worked in IE, but not in Netscape:
<p align="center"><hr width="50%" /></p>
Anyone know of a way to center <hr> on a page, when viewed with IE, Netscape, or Opera? "vertical-align: center" didn't work, and neither did "text-align: center" (which I tried out of sheer desperation).
Now that I think about it, I noticed that tables weren't centering in Netscape either, even when I had <table align="center" in the html. I've used the same workaround of enclosing the table in a <p align="center"> and it does work for both IE and Netscape. It's just extra coding I'd like to cut down on...
Anyone know a way to alleviate this prob as well?
<p align="center"><hr width="50%" /></p>
Anyone know of a way to center <hr> on a page, when viewed with IE, Netscape, or Opera? "vertical-align: center" didn't work, and neither did "text-align: center" (which I tried out of sheer desperation).
Now that I think about it, I noticed that tables weren't centering in Netscape either, even when I had <table align="center" in the html. I've used the same workaround of enclosing the table in a <p align="center"> and it does work for both IE and Netscape. It's just extra coding I'd like to cut down on...
Anyone know a way to alleviate this prob as well?
Comment