Author Topic: Problem with style brackets "{}"  (Read 3244 times)

0 Members and 1 Guest are viewing this topic.

Offline seth

  • Newbie
  • *
  • Posts: 33
    • View Profile
Problem with style brackets "{}"
« on: June 19, 2003, 01:46:27 AM »
Im trying to use the following style in one of my pages:

Code: [Select]
<style>
     body{overflow:hidden}
</style>


But the script removes the the {} and only prints

Code: [Select]
<style>body</style>

to the page. What can I do so that the script leaves the {overflow:hidden} part intact?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with style brackets "{}"
« Reply #1 on: June 19, 2003, 02:10:34 AM »
Use this way:
Code: [Select]
<style>
     body{
        overflow:hidden
     }
</style>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline seth

  • Newbie
  • *
  • Posts: 33
    • View Profile
Problem with style brackets "{}"
« Reply #2 on: June 19, 2003, 05:03:31 AM »
thank you!