- This topic is empty.
-
AuthorPosts
-
October 6, 2009 at 8:37 pm #26358
BaylorRae
MemberI redesigned my website and added rounded corners for each blog post. When I started exporting it I removed all the elements around the box, trimmed it, and spliced it into three parts. The top, middle, and bottom.
The background on my page is a gradient so I have to remove the blue color around the borders of each box so it will scroll correctly. But when I do that it the white from the middle section to go behind the top of the box.
This is my CSS and html from the page.
Code:.box {
background: url(../images/content-bg.jpg) repeat-y;
}.post {
background: url(../images/content-top.png) repeat-x;
padding: 15px;
}
.post-footer {
background: url(../images/content-bot.png) no-repeat bottom;
height: 41px;
margin-top: -1px;
}Code:Custom Droid Speeder
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
[attachment=1]website template.jpg[/attachment]
[attachment=0]Picture 1.png[/attachment]October 6, 2009 at 10:31 pm #65125cybershot
Participant -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.