| Web Design & Programming Building websites, coding scripts or developing apps? html, css, javascripts, ajax, php, asp, java, c+, C++ and other geeky info is here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Status: Junior Member Join Date: Jul 2009 Posts: 1
![]() | Click here for my soon to be layout: http://thatcake.net/55.php Well you see each blog entry, and see how theres a header and footer for each? yeah well i would like to have a 5px left/right border or background to turn it into a box. (thats why the top header has the short two lines on it). I've tried EVERYTHING! I'm so so so stuck! How do I code this to make it possible into a box? you see how it is on my sidebar? yeah like that |
| | |
| | #2 (permalink) |
| Status: Junior Member Join Date: Jul 2009 Posts: 1
![]() | just do like that <div class="box"> <div class="box_top">image for box top</div> <div class="box_content"> content of your box </div> <div class="box_bottom">image for box bottom</div> </div> now write the following css .box_top { width:width of the top image; height : heitht of the top image; } .box_bottom { width:width of the bottom image; height : heitht of the bottom image; } .box_content { width:width of the box; background:url(image that should be repeat to show sides of your box ) repeat-y; } try to cut the image for top and bottom in same width hope that should work |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |