Jump to content
kaioian

CSS align

Recommended Posts

Hello, I need help.I wrote the css and the html like on the photo but I don't know how to aling every movie to be under the one before. Is there any chance to do it without touching the html file only the css :) Thanks for every help :)

index.htm

main.css

post-117779-0-85041600-1358805499_thumb.jpg

Share this post


Link to post
Share on other sites

Just remove the float property and they'll all be stacked vertically.

Share this post


Link to post
Share on other sites
movie {    background-color: rgba(255, 255, 255, 0.75);    border-radius: 0 25px 0 0;    box-shadow: 2px 2px 10px black;    display: block; /*display: inline-block; amended by dsonesuk */    margin: 10px;    padding: 8px;    width: 480px;}

Share this post


Link to post
Share on other sites
Hello, I need help.I wrote the css and the html like on the photo but I don't know how to aling every movie to be under the one before. Is there any chance to do it without touching the html file only the css :) Thanks for every help :)
basic info must be replaced and paste it same in HTML part of body,i.e paste it downNo need of cssmain block user details is required Edited by xhtmlchamps1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...