Guest TonioG Posted October 22, 2005 Share Posted October 22, 2005 Does anyone know why it is that I can use align = left in my hr tag ;<hr align = "left" width = "50%" />but if I try to transfer this to css I find that the attribute does not exist? Most frustrating. Does this mean that I am forced to fudge it and use span or div or something? Or worse still, not use style sheets at all! Any illumination on this matter would be gratefully received.TonioG Link to comment Share on other sites More sharing options...
actionsketch Posted October 23, 2005 Share Posted October 23, 2005 for what ever reason, css is cryptic when it comes to aligning. Try adding "float:left" in your css for your hr tag. If that doesnt work, play with "margin". Link to comment Share on other sites More sharing options...
F-Man Posted October 23, 2005 Share Posted October 23, 2005 hr is block-level, so you must align it with margins. 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