|
|
|
{DW4} Odd Gap in Netscape/Mozilla/Firefox Rendering |
| message from Damaeus on 22 Jul 2004 |
When I load my pages in Internet Explorer, everything looks perfect. But
when I load them in Netscape, Mozilla, or Firefox, I get this odd gap
between the vertically aligned series of image links on the left and the
top graphic. At first I thought it was because I had two <body> tags, but
I removed the one body tag that was in a library item. The problem
persists.
Also, the page was created from a template that contains a library item.
Any clues here?
http://www.acupoflight.com/cgi-bin/store/commerce.cgi
Thanks,
Damaeus
|
| Osgood replied to Damaeus on 22 Jul 2004 |
But
Yes. The first image and maybe more are wrapped up in a <p> tag. Mozilla
and Firefox show the default top margin whilst IE doesnt.
If the <p> tag doesnt need to be there, I cant see why it should be,
then remove it plus its closing </p> tag, wherever that is in the code.
If it does need to be there for some reason, which escapes me, you can
use some css to zero the top margin
|
| Damaeus replied to Osgood on 22 Jul 2004 |
Thanks! That did the trick, and I never could find a closing </p> for
that. I think it was just an open tag.
Also, I wonder if you could check one more thing. I spent some time on it,
but never could figure this one out, either. Out of the dozens of problems
I originally had, I finally got them all worked out except that last one
and this one:
The product listing pages -- in Internet Explorer, they render properly
with the item description and options to the right of the image and cart
functions. But in Mozilla/Firefox browsers, the item description and
options appear below the image and cart functions:
http://www.acupoflight.com/cgi-bin/store/commerce.cgi?cart_id=5028546.31636&exact_match=on&product=Blue_Willow
If I can get one last clue, I think I can leave you guys alone for a while.
Thanks,
Damaeus
|
| Osgood replied to Damaeus on 23 Jul 2004 |
You have a few loose <tags> in the code which need to be sorted. For
instance at the end of your 'select quantity button' code you have a
closing </tr> tag, but it has no opening partner.
You need to look through the code carefully and check that all tags are
present and correct. That will possibly sort the problem out with
Moz/FireFox.
I dont know if you are using DW but if you are it will highlight any
code/tags which it feels are wrong. It lets you trouble shoot the
problems faster.
<!--BEGIN SELECT QUANTITY BUTTON-->
<table WIDTH =" 100" BORDER =" 0" CELLSPACING =" 2" CELLPADDING =" 0">
<tr ALIGN="CENTER"><td ROWSPAN=" 2" VALIGN="MIDDLE"><input TYPE="TEXT"
NAME="item-42|Blue_Willow|18.95|Antique Blue Willow - n/h (0042)|~lt~IMG
SRC=~qq~%%URLofImages%%/0042-bluewillw-orignl-nh-sm.jpg~qq~
BORDER=0~gt~|0|7" SIZE="3" MAXLENGTH="3" VALUE="1"></td><td><div
ALIGN="CENTER"> <input TYPE="IMAGE" NAME="add_to_cart_button" VALUE="Add
To Cart" SRC="http://www.acupoflight.com/images/add_to_cart.gif"
BORDER="0"></div></td></tr><tr><td><div ALIGN="CENTER"><a
HREF="commerce.cgi?add_to_cart_button.x=yes&product=Blue_Willow&cart_id=5028546.31636&keywords=&next=&viewOrder=yes">
<img SRC =" http://www.acupoflight.com/images/view_cart.gif"
border="0"></a></div></td></tr></table></tr>
<!--END SELECT QUANTITY BUTTON-->
Damaeus wrote:
http://www.acupoflight.com/cgi-bin/store/commerce.cgi?cart_id=5028546.31636&exact_match=on&product=Blue_Willow
Damaeus wrote:
|
| Damaeus replied to Osgood on 23 Jul 2004 |
Well, I used Dreamweaver on most pages, but on those pages which display
products, it's actually assembled by the server on the fly. So the HTML is
scattered out all over three templates and bits and pieces of various Perl
scripts, in addition to "options files" which in this case hold stripped
down html to insert a different set of options for each type of item.
The other guy said the code is such a mess it's a wonder it displays at
all. Possibly true, but it's a wonder the site works at all given how many
different files are involved in putting one page together on the fly.
|
| Murray *TMM* replied to Damaeus on 22 Jul 2004 |
Why are you using a Library item in a Template?
|
| Damaeus replied to Murray *TMM* on 22 Jul 2004 |
In news:macromedia.dreamweaver, "Murray *TMM*"
I don't remember, oddly enough. :-\ I know it's dumb.... Oh, I remember
now. In the past, I've had the same library item used in a few different
templates. Now I'm down to one template so I may integrate the code from
the library directly into the template.
|
|