![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've got a wordpress blog with a fairly nondescript header photo. What I want is to chop the leftmost 1/4 or so off that photo, and replace that part with a rotating selection of photos, all the same size as one another, with a thin black margin in between. The rotation would be handled by a little rotation script, http://hiveware.com/rotate.php. The site is: http://www.depaulacs.org/ |
#3
| |||
| |||
|
|
Peter <facetious_nickname (AT) hotmail (DOT) com> wrote: I've got a wordpress blog with a fairly nondescript header photo. What I want is to chop the leftmost 1/4 or so off that photo, and replace that part with a rotating selection of photos, all the same size as one another, with a thin black margin in between. The rotation would be handled by a little rotation script, http://hiveware.com/rotate.php. The site is: http://www.depaulacs.org/ See HTML source: http://homepage.ntlworld.ie/spartanicus/depaulacs.org/blog/index.html |
#4
| |||
| |||
|
|
Spartanicus wrote: [excellent help] |
#5
| |||
| |||
|
|
How does this look now? Any suggestions? http://www.depaulacs.org/ |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
OK - here's another question, if you've got a second - is it possible to automatically adjust the relative widths of two divs, one "inside" the other? I'd like to be able to rotate a variety of images into the spot currently occupied by the photo on the left, but I would like them to be different widths. Is there a way to do this, or do I have to set a fixed width and crop all my photos to that size? |
#8
| |||
| |||
|
|
Peter <facetious_nickname (AT) hotmail (DOT) com> wrote: OK - here's another question, if you've got a second - is it possible to automatically adjust the relative widths of two divs, one "inside" the other? I'd like to be able to rotate a variety of images into the spot currently occupied by the photo on the left, but I would like them to be different widths. Is there a way to do this, or do I have to set a fixed width and crop all my photos to that size? Just set the width of the absolutely positioned extra div that has the "left" decorative image to "100%" instead of the fixed "200px" in my example. It defaults to a transparent background colour and the image was already set to "no-repeat", so the sky background will show through. Note that this will only work correctly you have moved the right border from the inner div of the original example and have made it part of the image itself. |
#9
| |||
| |||
|
|
Spartanicus wrote: [snip help] Thanks! At the risk of asking that one question too many :-), what if I wanted to remove the sky background entirely, and just have 4 equal-sized graphics next to one another, with a border in between each pair? Assuming the containing div is 780px, I reckon that would make each image 190px wide, + 5px borders in between. Hints? |
#10
| |||
| |||
|
|
what if I wanted to remove the sky background entirely, and just have 4 equal-sized graphics next to one another, with a border in between each pair? Assuming the containing div is 780px, I reckon that would make each image 190px wide, + 5px borders in between. |
![]() |
| Thread Tools | |
| Display Modes | |
| |