|
Posted by Paul Watt on 08/15/06 19:02
<ilyas@igsoftwaresolutions.co.uk> wrote in message
news:1155662797.364958.50320@74g2000cwt.googlegroups.com...
> H
>
> I have a simple document in word that I have saved as html using the
> save as options available in word 2003
>
> Whats peculiar is that when I view the source of this html document, I
> find a <p> element and inside it theres text with lots of white space.
> Now correct me if I am wrong but browsers ignore whitespace, but when I
> view this in a browser, the whitespace is clearly visible.
>
> This is fine! - in fact its what I want - but whats confusing me is
> that If I modify this <p> tag, such as deleting the whitespace and then
> press the spacebar to insert it back again, I find that the browser
> (Internet Explorer) ignore the whitespace!!
>
> Whats causing this whitespace, and how I can achive this behaviour so
> that I can control when whitespace is ignored ad when it is not ignored
> using html tags?
>
> Many thanks!
>
Hi,
Firstly, Please,Please,Please don't use word to make web pages. It produces
horrible code. You're much better of with a Notepad and a few hours at
http://www.w3schools.com .
As to your question use   to insert a space in a document.
--
Cheers
Paul
le singe est dans l'arbre
http://www.paulwatt.info
Navigation:
[Reply to this message]
|