Hello Jacine,
I've stumbled on a mysterious spacing issue while trying to add Flash to your theme.
I've successfully replaced the original sky banner with a Flash swf. However, I'm having trouble getting my swf header to butt up directly against the main navigation bar (primary links) beneath it. The screen shot I've attached illustrates this. I've exaggerated the #header height to 220px and gave it a black background in order to reveal what I think the problem is. There seems to be something keeping the primary links about 5px below the flash content area. If I make the flash content taller, the navigation AND the gap get moved down relative the the new height of the flash content.
I've also attached the style.css and page.tpl.php files so you can see my changes, which are few.
I will continue to experiment, but appreciate any type of suggestions you can think of.
-Dan
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | page.tpl-style.zip | 4.18 KB | PixelFly |
| style-page-tpl.zip | 4.23 KB | PixelFly | |
| header nav gap screen shot.jpg | 92.96 KB | PixelFly |
Comments
Comment #1
jacineHi Dan,
I took a look at your files, but it's really hard to tell without having a live view of it.
One thing that does jump out at me is the '8' value in this code:
var fo = new FlashObject("drupal_header.swf", "drupal_header", "960", "120", "8", "#ffffff");Could that be bottom padding or margin? I hope that helps.
Jacine
Comment #2
PixelFly commentedThe 8 there is actually the Flash Player version number being sent to FlashObject's functions.
I discovered that things were really messed up in IE. I was making the mistake of doing all of my testing in FireFox. So, I cleaned some things up and have some new files for you to look at if you have time.
Here's the live site:
http://www.danbraun.net/drupal/
Right now things are looking peachy keen in IE for a change, but Firefox has some extra space under the the header?
Comment #3
jacineSorry Dan,
I'd love to help, but I'm swamped right now and need to work on the new release of Sky in my free time + the Drupal 6 version, so I'm kind out of commissions for this type of thing right now.
I hope you can figure it out!
Jacine :)
Comment #4
jacinesorry, duplicate.
Comment #5
jacineduplicate
Comment #6
PixelFly commentedI understand. Hope your work is going smoothly :)