Welcome to WebmasterWorld Guest from 35.172.195.49

Forum Moderators: open

Message Too Old, No Replies

Need Help IE shows my tables

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

New User

10+ Year Member

joined:Sept 23, 2008
posts: 2
votes: 0


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

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

Junior Member

10+ Year Member

joined:Feb 17, 2003
posts:76
votes: 0


If this code is copied and pasted it looks like the quote marks are different around the border attribute. Maybe try looking there?
12:50 pm on Sept 23, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:Feb 13, 2003
posts: 590
votes: 0


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]

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

New User

10+ Year Member

joined:Sept 23, 2008
posts: 2
votes: 0


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!
1:00 pm on Sept 23, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 17, 2003
posts:76
votes: 0


Glad to help - I remember the days when i spent hours looking for a missing dot or something similar - so frustrating!
7:52 pm on Sept 23, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:May 29, 2007
posts: 578
votes: 0


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".