Jump to content

Recommended Posts

Posted

Hello,

 

I have a problem with spacing some dive tags...it displays fine in Safari but in Firefox, there is a black background that is strangely showing through around my divs in Firefox. I have searched through my code and kind find any elements with black involved at all, so I totally stumped. I havent checked in IE since I am on a Mac...I would appreciate it if someone could let me know how it displays in IE too:) Here is the link...

 

http://customhcg.com/htmlEmails/001/01.html

 

Thanks very much for your time in advance.

 

Kit

Posted

The black background is coming from this line:

 

<table width="700" cellspacing="0" cellpadding="0" border="0" bgcolor="#000000" align="center">

 

The spacing itself is coming from the 30px of top margin you have on some of your divs. For example:

 

<div style="text-align: left; font-family: verdana; font-size: 10pt; font-weight: bold; color: rgb(32, 149, 153); margin: 30px 0pt;">

<img width="175" height="288" border="0" usemap="#Map6" alt="HCG" src="images/label05.jpg">

<img width="175" height="288" border="0" usemap="#Map7" alt="HCG" src="images/label06.jpg">

<img width="175" height="288" border="0" usemap="#Map8" alt="HCG" src="images/label07.jpg">

<img width="175" height="288" border="0" usemap="#Map9" alt="HCG" src="images/label08.jpg">

</div>

Posted

What the??? This is driving me crazy. How the freak can the source code be different than the code it shows in Firebug? I too just looked at it with Firebug and I see what you mean. How can this possibly be?

Posted

Hey, this might be a stretch, but I seem to remember that shortened color hex (like "#fff" rather than "#ffffff") is only allowed in CSS -- not HTML. Perhaps you using it within the HTML is messing things up? Try using "#ffffff" rather than "#fff" and see if that fixes things.

Posted

Coming in after the fact, but I just happened to notice that the ENTIRE head section is mission - no doctype, either.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...