Forum Moderators: open

Message Too Old, No Replies

Need Help IE shows my tables

         

pcflatline

12:26 pm on Sep 23, 2008 (gmt 0)

10+ Year Member



For the life of me I cannot figure this out.I am trying to get rid of the table borders around my sliced images. The site works fine in Firefox but in IE it shows up.

This is my code..

<body>
<table width=100% height=16% border=”0" align="center" cellpadding=”0" cellspacing=”0">

But it looks like IE ignores the Border=0 completly, is there something I am missing here? I don't want the borders to show

thanks in advance

cazgh

12:35 pm on Sep 23, 2008 (gmt 0)

10+ Year Member



If this code is copied and pasted it looks like the quote marks are different around the border attribute. Maybe try looking there?

sonjay

12:50 pm on Sep 23, 2008 (gmt 0)

10+ Year Member



Yes, the left quote is funky for border, cellpadding, and cellspacing. Use straight up-and-down quotes only, not "curly quotes."

Also, you should get in the habit of using quotes for your 100% and other attributes where quotes are technically required, and you would do yourself a favor if you get in the habit of using css for all of those attributes. Every one of the attributes you used is deprecated in the most current html standard.

[edited by: sonjay at 12:54 pm (utc) on Sep. 23, 2008]

pcflatline

12:50 pm on Sep 23, 2008 (gmt 0)

10+ Year Member



That was it! Thank you for the good eye. For some reason Dreamweaver put that in there but I have had some bugs since I switched to Vista with it. Big Thanks!

cazgh

1:00 pm on Sep 23, 2008 (gmt 0)

10+ Year Member



Glad to help - I remember the days when i spent hours looking for a missing dot or something similar - so frustrating!

lavazza

7:52 pm on Sep 23, 2008 (gmt 0)

10+ Year Member



If you declare a DOCTYPE [webmasterworld.com] (e.g
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
) and a CHARSET [webmasterworld.com] (e.g.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
), you can use a validator (e.g. validator.w3.org [validator.w3.org]) that will identify your 'bugs'

E.G


Sorry, I am unable to validate this document because on line 121 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.

The error was: utf8 "\x94" does not map to Unicode

Line 121, Column 30: there is no attribute "HEIGHT".

Line 121, Column 53: there is no attribute "ALIGN".