About White Space

G

Guest

Hellow.
I write a simple homepage, I found IE have some problems while reading the white space
The code of this homepage is here

<html><head><meta http-equiv="Content-Type" content="text/html; charset=en"><title>notitle</title><style type="text/css"><!-
font.s1
font-size: 80px
color: #CCCCFF
font-weight: normal
font-family: Arial, Helvetica, sans-serif
font-style: normal
text-decoration: underline overline line-through

--></style></head><body><p><font class="s1">Board </font></p></body></html

The word "Board" will be show but the white space is not
If and only if I take "&nbsp;" replace the white space, the blank area is be show
If you use the other browser like mozilla, you will see some different on the page
And the another problem is, in a table like thi

<table width="200" border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor="#6633FF">&nbsp;</td>  
</tr><tr><td bgcolor="#66CC33">&nbsp;</td></tr><tr><td bgcolor="#FF3366">&nbsp;</td></tr></table

If I set a tag <img> with link between the <td> and </td>, and MAYBE the editor insert one or more white space
after the link, the declaration cellpadding="0" cellspacing="0 can't work
In this case, IE is sensitive to the white space, but in the general case, IE often trip the white space
It make me write page suffer inconveniency

Thanks
amaqua
 
B

Burt

Amaqua,
I copied your code below and pasted it into Notepad and noticed that you
had about 9 white spaces... In HTML 4.0, IE or OE will only honor 1 (one)
white space
and from there on you MUST use the &nbsp; for each additional space you
want before the next font/function or whatever.

As for the TABLE thing that you show, I don't quite understand what the
problem is.. Could you elaborate a little more on it? Are you saying that
the
editor you are using is adding the white space? If so, could you backspace
out the whitespace?
Please reply to this same thread.

I would like to help more if I can..
HTH,
--
Burt
The Old Alaskan
MVP's listed on TECKPAGE
http://www.cvinternet.net/~smokydog
http://www.cvinternet.net/~smokydog/teckpage.htm

amaqua said:
Hellow.
I write a simple homepage, I found IE have some problems while reading the white space.
The code of this homepage is here.

<html><head><meta http-equiv="Content-Type" content="text/html;
charset=en"> said:
font.s1 {
font-size: 80px;
color: #CCCCFF;
font-weight: normal;
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
text-decoration: underline overline line-through;
}
--></style></head><body><p><font class="s1">Board
The word "Board" will be show but the white space is not.
If and only if I take "&nbsp;" replace the white space, the blank area is be show.
If you use the other browser like mozilla, you will see some different on the page.
And the another problem is, in a table like this

<table width="200" border="0" cellpadding="0" cellspacing="0"><tr><td
bgcolor="#6633FF">&nbsp; said:
</tr><tr><td bgcolor="#66CC33">&nbsp;</td></tr><tr><td
bgcolor="#FF3366">&nbsp; said:
If I set a tag <img> with link between the <td> and </td>, and MAYBE the
editor insert one or more white space
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top