Css positioning


#1

The instructions ask us to change the display of all the divs to inline-block.
I wrote this and tried to submit via IE and chrome, but it didn't work. Did I miss something? Thanks
div {display: inline-block;}


#2

Can you show all your CSS code please? As well as the error message you're receiving.

If you aren't sure how to post your code please see this link.


#3

Sorry, I thought you could see my code. Its only one line.
The instructions are to set display of all the divs to inline-block. I will repaste that css line below per instructions.

indent preformatted text by 4 spaces		div {display: inline-block;}

The error msg is "did you remember to set the display of the divs to inline-block".
Thanks. Let me know if I posted that code correctly, I had been using blockquote.


#4

So everything in your CSS code under the "div" container looks like this?

div {
	height: 50px;
	width: 100px;
	border: 2px solid black;
	border-radius: 5px;
	/*Add your CSS here!*/
	display: inline-block;
}

#5

Thanks for posting the whole code. Since it was given to us, I did not repeat it. But what I did was open a new div code line within the div selector provided.
In other words, I should have just added display as you did. I didn't consolidate the div values....
It works now.
Thanks!!!!


#6

Hello! I have the same problem.
I wrote this:

div {
	height: 50px;
	width: 100px;
	border: 2px solid black;
	border-radius: 5px;
	/*Add your CSS here!*/
	display: inline-block;
}

But when I tried to submit my code, it didn't work.
Error message was "Oops, try again. Did you remember to set the display of your

s to inline?"