Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2008, 09:43 AM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Firefox issue

Hello...

I am fairly new to website design, i am currently using dreamweaver to put my websites together.

in the following example, i have 2 rows in dreamweaver both with images in - when exported to IE7 it looks perfect :D but it looks broken up when exported to firefox :(.

I have included the html below for people to have a look at. When i try to validate the html below, it says there are no errors or warnings found.

</head>

<body>
<table width="800" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><p><img src="images/nawc_image_03.png" width="883" height="232" /></p>
    </td>
  </tr>
  <tr>
    <td><img src="images/nawc_image_05.png" width="883" height="16" /></td>
  </tr>
</table>
</body>
</html>


if anyone can offer their help i would be very grateful,

thanks


 
Old September 29th, 2008, 01:55 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Can you define broken? Can we test this out on-line somewhere?

And what do you mean with "when exported to IE7 "? How do you view this page in the browser?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old September 29th, 2008, 02:55 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Okay, for one thing, you have a <p> and </p> tag in there. Those tags are *supposed* to produce a break between their content and other content. So one could argue that FireFox is doing it right and MSIE is wrong.

Also, you have whitespace between the </p> and the </td> and the browser is free to interpret that as space that SHOWS on the screen.

On top of that, you have
   <table width="800" ...>
and yet you have
   <img ... width="883" ...>

How can you expect to put something into a table when the something is wider than the table??

I dunno if any of these are the cause of your problem, but I'd sure start by changing them.

<body>
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="images/nawc_image_03.png" width="883" height="232" /></td>
  </tr>
  <tr>
    <td><img src="images/nawc_image_05.png" width="883" height="16" /></td>
  </tr>
</table>
</body>
</html>





Similar Threads
Thread Thread Starter Forum Replies Last Post
DREAMWEAVER/FIREFOX ISSUE PSRIGLEY Dreamweaver (all versions) 9 May 24th, 2008 11:37 AM
Dreamweaver 4 - Firefox issue okayfine Dreamweaver (all versions) 5 June 26th, 2007 02:21 AM
MasterPage and Firefox issue! bignermo BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 May 22nd, 2007 09:20 AM
Firefox v. IE CrystalReportViewer Issue melbsurfer Crystal Reports 1 October 20th, 2006 09:31 AM
Firefox issue Teessider_2000 HTML Code Clinic 6 September 20th, 2006 03:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.