•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 455,965 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,617 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1391 | Replies: 3
![]() |
•
•
Join Date: Jun 2007
Location: Killarney Vale, NSW
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
Good afternoon,
Just hoping that one of you beautiful persons can help...
I'm building a web page using HTML and CSS and all is going great in IE7, Firefox on the other hand...
I'm getting a space of about 3px under a flash navigator as you may see in the attached file, you can also find the image here: Bloody Firefox!!
The top white area is the margin around the main table. The next part down is the banner for their logo. The red and silver triangles are buttons in the navigation systems (flash).
It's the part below the flash navigator that is the problem - there's about 3 or 4 px of white space which I don't want. After this there is an image.
My html for this section is as follows:
I tried not using CSS to see if there was a conflict but the problem is still there. Things look fine in Dreamweaver (though I know this isn't always good to judge by), it's just Firefox that is having an issue.
Any assistance would be greatly appreciated,
Thankyou for reading.
Scrawn Dog
Just hoping that one of you beautiful persons can help...
I'm building a web page using HTML and CSS and all is going great in IE7, Firefox on the other hand...
I'm getting a space of about 3px under a flash navigator as you may see in the attached file, you can also find the image here: Bloody Firefox!!
The top white area is the margin around the main table. The next part down is the banner for their logo. The red and silver triangles are buttons in the navigation systems (flash).
It's the part below the flash navigator that is the problem - there's about 3 or 4 px of white space which I don't want. After this there is an image.
My html for this section is as follows:
<body>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src="images/temp/banner.gif"/></td>
</tr>
<tr>
<td colspan="3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="605" height="31" title="Flashpoint Fire Service">
<param name="movie" value="images/nav.swf" />
<param name="quality" value="high" />
<embed src="images/nav.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="605" height="31"></embed>
</object></td>
</tr>
<tr>
<td><span class="pic"><img src="images/temp/left-banner-big-flames-and-firefighters-thumb47456.jpg" width="172" height="124" /></span></td>
<td> </td>
<td><span class="pic2"><img src="images/temp/main-banner.jpg" width="822" height="124" /></span></td>
</tr>
</table>I tried not using CSS to see if there was a conflict but the problem is still there. Things look fine in Dreamweaver (though I know this isn't always good to judge by), it's just Firefox that is having an issue.
Any assistance would be greatly appreciated,
Thankyou for reading.
Scrawn Dog
Last edited by Scrawn_Dog : Nov 20th, 2007 at 1:27 am.
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 971
Reputation:
Rep Power: 5
Solved Threads: 48
Try adding CSS like this to wherever the rest of your styles are defined:
That's the only thing I can think of off the top of my head... Also.. check to see if the space is INSIDE the object/swf instance itself, or if it's in the page; that is.. check to see if the movie itself is exactly 31px high, and whether changing the height specified in the object tag and embed tag changes the white space atall...
CSS Syntax (Toggle Plain Text)
object,embed { margin:0; padding:0; }
Plato forgot the nullahedron..
•
•
Join Date: Jun 2007
Location: Killarney Vale, NSW
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 971
Reputation:
Rep Power: 5
Solved Threads: 48
Hm.. the only other thing I can suggest is putting a background color on the movie that fits in better with the other colors on your page. That's not really a fix though, by any means. You could also try giving the section(s) underneath
position:relative; and top:-3px; via CSS, and then only serve that rule to FF.. but that's even messier and a little complicated to say the least.. Plato forgot the nullahedron..
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- VB 6.0. Creating a file for random access (Visual Basic 4 / 5 / 6)
- how do you get space to sell for hosting (Networking Hardware Configuration)
- Continous random loss of HD Space (Windows NT / 2000 / XP / 2003)
- Geting elements from a String Array (C++)
Other Threads in the HTML and CSS Forum
- Previous Thread: Form - really confused - Please help!!!
- Next Thread: Z-index and Dreamweaver CS3 Issue


Linear Mode