Jump to content

white-space: pre doesn't work with me..??


Maisara-WD
 Share

Recommended Posts

Also I've tested it on opera,, it works wellIt seems that it doesn't work only with IE...waiting for ur testing results,,,

Link to comment
Share on other sites

the code is like this

<html><head><style type="text/css">p{white-space: pre}</style></head><body><p>This is some text.		 This is some text. This is some text.This is some text. This is some text. This is some text.This is some text. This is some text. This is some text.This is some text. This is some text. This is some text.</p></body></html>

Link to comment
Share on other sites

Tested in Internet Explorer 7:It works in Standards Compliant mode, it does not work in Quirks mode.So don't forget to use the correct DOCTYPE declaration when making your website.

Link to comment
Share on other sites

thanks dearby the wayI've tested it in: safari, firefox, netscape 9, IE7, operait worked well in them all except IE7I'll work with ur advice in the futurethanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...