Jump to content

valid css


dcole.ath.cx

Recommended Posts

#header { clear : both; margin : 0 0 1.5em; border-top : 0.1em solid rgb(175, 175, 175); border-bottom : 0.1em solid rgb(175, 175, 175); background-color : #ebebeb; text-transform : uppercase; line-height : 2em; height : 2em; color : rgb(50, 50, 50); border : none;}i am not sure if this is an error but it looks like you set the top and bottom border and then later on you set it to have no border

Link to comment
Share on other sites

This property applies to block-level elements.then how do I align text in css... #header li { float: left; white-space: nowrap;}#account { text-align: center;}<div id='account'><b> Account Login!</b></div> <div id='header'> <ul> <li>blah</li>

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...