Switch to full style
HTML code examples
Post a reply

preserve the white space with-in the body tag

Fri Dec 16, 2011 8:26 pm

preserve the white space by the browser when using the pre value with the white-space attribute.

Code:


<html>
    <head>
        <title>pre white space</title>
        <style type='text/css'>
            body {
                white-space: pre;
            }        
        
</style>
    </head>
    <body>
 
    
what is your name
,
what is your age

do you have driving license 
,
do you have a apartment
what is your  first address
,
what is your second address
what is your mobile number
,
what is your phone number

    
</body>
</
html>

 




Post a reply
  Related Posts  to : preserve the white space with-in the body tag
 White space link example     -  
 Black and White in photoshop     -  
 hi i need ppt for space mouse.     -  
 Get Disk total space     -  
 Fixed Space Using imageTTFbbox()     -  
 Get disk free space for Unix-Linux in php     -  
 CSS body example     -  
 hi every body . . .     -  
 Add background to body     -