holahola84 Posted January 29, 2007 Share Posted January 29, 2007 Hi I have been trying out CSS lately but encounter some output issues when displaying with Mozilla.I tried something like this :.cr {clear: right;}#cpanel {float: right;width: 6cm;text-align: center;font-weight: bold;border: 1px dotted;}It displays fine in IE7, but in Mozilla, the .cr {clear: right;} and #cpanel{text-align: center;} is not working.What can be the possible cause of this issue? Thx for any help! Link to comment Share on other sites More sharing options...
pulpfiction Posted January 29, 2007 Share Posted January 29, 2007 Try using "margin:auto" to center in Firefox...#cpanel {float: right;width: 6cm;text-align: center;margin:auto;font-weight: bold;border: 1px dotted;} Link to comment Share on other sites More sharing options...
holahola84 Posted January 30, 2007 Author Share Posted January 30, 2007 Alrite, thx man. Ill try it out =) 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