straightryder Posted August 11, 2010 Report Posted August 11, 2010 Every other div is basically able to be styled.... one I added another id div it won't let me style the width or height. It just spans the length of the box. Unable to do BG color or anything. It passed strict 1.0 strict but I can't seem to get it to work. Any ideas why something like this is happening?
falkencreative Posted August 11, 2010 Report Posted August 11, 2010 You'll have to post the code or a link to the site you are working with. As a completely random guess, you may need to add "overflow:hidden" to your div, in case the items within that div are floated and the outside div isn't wrapping correctly. Just a completely random guess though -- I'd need to look at the code to be sure.
straightryder Posted August 11, 2010 Author Report Posted August 11, 2010 Figured it out: Im an idiot......... I had the styles for the div placed between html comments in the style sheet instead of /**/ *brain slap*
falkencreative Posted August 11, 2010 Report Posted August 11, 2010 Oops. Glad you got it figured out.
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