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 March 4th, 2006, 04:33 PM
Registered User
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dreamweaver 4 - Firefox issue

Hello folks,

I was wondering if anyone can tell me why upon creating a webpage using Dreamweaver 4, that the webpage appears fine in IE6 but different in Firefox?

Fine in the sense that, it looks the way I want it to look in IE6 but then after checking in Firefox it looks different.

for example, if I create a table in Dreamweaver 4 and change the table border color, the changes are reflected in IE, however in firefox, the table border color remains the same.

Any suggestions would be greatly appreciated!
 
Old March 5th, 2006, 08:07 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It sounds like you're using proprietary markup that only works in Internet Explorer.

Try validating your page with the HTML validator and see what messages you get from the validator: http://validator.w3.org/


HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 5th, 2006, 06:23 PM
Registered User
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much for the reply Imar. I created one table in Dreamweaver as a test and placed the html code in the validator. It came back with 3 errors...

1) Error Line 1 column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
<html>

2) Error Line 8 column 42: there is no attribute "BORDERCOLOR".
<table width="50%" border="1" bordercolor="#FF0000">

3) Error Line 10 column 20: there is no attribute "BORDERCOLOR".
    <td bordercolor="#FF0000">&nbsp;</td>

below is the code:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="50%" border="1" bordercolor="#FF0000">
  <tr>
    <td bordercolor="#FF0000">&nbsp;</td>
  </tr>
</table>
</body>
</html>

Again, in IE, the table color (red) is fine. In firefox, the table color will not change from the default grey color.

Any suggestions will be greatly appreciated. Thanks again!
 
Old March 6th, 2006, 03:13 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

As the error message indicates, there is no such thing as BORDERCOLOR in the official HTML specs.

Try this instead:

<table style="width:50%; border: 1px solid #FF0000;">

This draws a 1px solid border around the table.

Note that this doesn't give each cell a border, as the HTML border does.

This is just a simple example, but there are many more differences that you need to be aware of to create truly cross browser web sites. It's a bit too much to explain in a single post.

I suggest you get a good book about XHTML and CSS, for example: Beginning Web Programming with HTML, XHTML, and CSS

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 7th, 2006, 01:11 PM
Registered User
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks alot for your time Imar!

 
Old June 26th, 2007, 02:21 AM
Authorized User
 
Join Date: Feb 2007
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

hey thanks man for the tip.
i was waiting to get the solution for this problem for a long time

Regards
Amitav Roy
Email: amitavroy7@gmail.com
Web: http://www.pixelgroups.com

Blog: http://weandgraphic.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox issue timeout08 Dreamweaver (all versions) 2 September 29th, 2008 02:55 PM
Problem Viewing Dreamweaver w/Firefox mantaray Dreamweaver (all versions) 3 June 24th, 2008 04:42 PM
DREAMWEAVER/FIREFOX ISSUE PSRIGLEY Dreamweaver (all versions) 9 May 24th, 2008 11:37 AM
Firefox issue Teessider_2000 HTML Code Clinic 6 September 20th, 2006 03:32 AM
Dreamweaver MX & Firefox 1.0 Compatibility teldridge Dreamweaver (all versions) 3 November 18th, 2004 05:20 PM





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