Jump to content

CSS box problem


Guest erkunt

Recommended Posts

Guest erkunt

hi, I m new w3schooll member and ı m learning css. my problem is in css. ı have a kutu2 and it makes box and ı have baslik it makes title, and i have alt_baslık it is sub title and kucuk_kutucuk makes small box and after use kucuk_kutucuk i insert 4 images eack kucuk_kutucuk. ı want to make 2 small box each line but in below code each small box is in one line, i want in one line 2 small box have can manage this?

<div id="kutu2"> <div class="baslik"> Blog Kurallarý </div> <div class="alt_baslik"> <div class="kucuk_kutucuk"><img src="sablon1.gif" width="40" height="40"></div> <div class="kucuk_kutucuk"><img src="sablon1.gif" width="40" height="40"></div> <div class="kucuk_kutucuk"><img src="sablon1.gif" width="40" height="40"></div> <div class="kucuk_kutucuk"><img src="sablon1.gif" width="40" height="40"></div> </div> </div>
Link to comment
Share on other sites

You could place two images in a div:

<div class="alt_baslik">	<div class="kucuk_kutucuk">		<img src="sablon1.gif" width="40" height="40">		<img src="sablon1.gif" width="40" height="40">	</div>	<div class="kucuk_kutucuk">		<img src="sablon1.gif" width="40" height="40">		<img src="sablon1.gif" width="40" height="40">	</div></div>

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...