p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2008, 10:43 AM
Registered User
 
Join Date: Sep 2008
Location: hereford, herefordshire, United Kingdom.
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 29th, 2008, 02:55 PM
Imar's Avatar
Wrox Author
Points: 33,563, Level: 80
Points: 33,563, Level: 80 Points: 33,563, Level: 80 Points: 33,563, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,231
Thanks: 7
Thanked 203 Times in 201 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old September 29th, 2008, 03:55 PM
Friend of Wrox
Points: 4,805, Level: 29
Points: 4,805, Level: 29 Points: 4,805, Level: 29 Points: 4,805, Level: 29
Activity: 38%
Activity: 38% Activity: 38% Activity: 38%
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,323
Thanks: 3
Thanked 70 Times in 69 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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DREAMWEAVER/FIREFOX ISSUE PSRIGLEY Dreamweaver (all versions) 9 May 24th, 2008 12:37 PM
Dreamweaver 4 - Firefox issue okayfine Dreamweaver (all versions) 5 June 26th, 2007 03: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 10:20 AM
Firefox v. IE CrystalReportViewer Issue melbsurfer Crystal Reports 1 October 20th, 2006 10:31 AM
Firefox issue Teessider_2000 HTML Code Clinic 6 September 20th, 2006 04:32 AM



All times are GMT -4. The time now is 06:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc