Jump to content

Nadya

Members
  • Posts

    3
  • Joined

  • Last visited

Nadya's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Nadya

    white-space:pre help

    The Result of <div class="preElement">Some co ntenton more then one line</div>
  2. Nadya

    white-space:pre help

    in my css file i have the followingbody {background-image: url(sand.jpg) }h1 {font-size: 20pt; text-align: center; }h2,h3,h4 {font-size: 15pt; text-align: left; text-decoration: underline; }.preElement{ white-space:pre; font-weight:bold; color:navy; font-family:arial;}the problem is that white-space:pre DOES NOT work? Anybody has an idea?
  3. My problem is: I have a css file body {background-color: "#FFCCFF"}h1 {font-size: 20pt; text-align: center }h2 {font-size: 15pt; text-align: center }and an html file:<html> <head> <link rel="stylesheet" type="text/css" href="foliocss.css" /> <script type="text/javascript"> document.write('Portfolio'); </script> </head> <body> <h2> CV </h2> </body></html>how to change the size of the text in document.write using the css file.what and how to write in the css10x
×
×
  • Create New...