Member
From: Staten Island, NY
Registered: 2005-08-06
Posts: 131
I've been thanked 0 times.
Offline
http://www.statenweb.com/beta/joeguardi … siness.php
can someone tell me why the contact me today is covering the text??? it looks great in FF when i used margin-top:20px, but had no effect in IE, I even tried to add 20px to the top tag in the css.....
Go to: GetResponse.com for a FREE report.
You've got nothing to lose but more sales!
Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2793
I've been thanked 77 times.
Offline
If the element above the contact form is floated then may need some padding on the bottom, and possibly an overflow of none or hidden
If it's not already in one, the contact form [including blue box] should all be contained in it's own div.
I don't know about the top: and margin-top: problem and I really don't have time to look at it, but I want to give you some tips:
1. Your meta keyword is awful. It is a common mistake for people new to SEO. You don't want more than a couple keywords in your meta keywords tag. Also cut back on the title tag as well. I would count your current site as spam.
2. Check your nesting and syntax. There is a div that has no end tag in your contact form.
Sorry I could not help more.
First off, I'd fix the following code warnings:
Code:
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 21 column 419 - Warning: replacing <p> by <br>
line 21 column 419 - Warning: inserting implicit <br>
line 43 column 1 - Warning: <embed> is not approved by W3C
line 43 column 1429 - Warning: missing <tr>
line 43 column 1807 - Warning: missing </div>
line 38 column 19 - Warning: <img> lacks "alt" attribute
line 40 column 1 - Warning: <object> attribute "align" lacks value
line 43 column 1 - Warning: <embed> attribute "align" lacks value
line 43 column 905 - Warning: <script> inserting "type" attribute
line 43 column 1349 - Warning: <td> attribute "id" has invalid value "1"
I take it you only have IE6, because the layout is totally wrecked in IE7.
There are NO styles applied to anything when I view it in IE7.
Just viewed teh source code. There is NO doctype mentioned at all. Start with that, as you are throwing IE6 into quirks mode, not sure what IE7 does with no doctype, but it might go to quirks as well.
PS You do know that meta keywords is not used by google for rating a page? Because it is so easy to abuse it, they stopped giving it any importance several years ago. (although I tend to add a dozen or so, in case some old search engine still rates them)
TA wrote:
First off, I'd fix the following code warnings:
Code:
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 21 column 419 - Warning: replacing <p> by <br>
line 21 column 419 - Warning: inserting implicit <br>
line 43 column 1 - Warning: <embed> is not approved by W3C
line 43 column 1429 - Warning: missing <tr>
line 43 column 1807 - Warning: missing </div>
line 38 column 19 - Warning: <img> lacks "alt" attribute
line 40 column 1 - Warning: <object> attribute "align" lacks value
line 43 column 1 - Warning: <embed> attribute "align" lacks value
line 43 column 905 - Warning: <script> inserting "type" attribute
line 43 column 1349 - Warning: <td> attribute "id" has invalid value "1"
TA -
What html checker tool did you use right there?
Member
From: San Antonio, TX
Registered: 2006-08-07
Posts: 504
I've been thanked 27 times.
Offline
That's the 'HTML Tidy' plugin for Firefox. Many of us use it around here. You can get it from the Mozilla page: https://addons.mozilla.org/en-US/firefox/addon/249
| Never |


