By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,396 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,396 IT Pros & Developers. It's quick & easy.

Can CSS change web page to NOMENUBAR

P: 1
Want to be able to have no menubar or status bar when the page opens, and would prefer not to use javascript if possible

Thank you
Feb 15 '07 #1
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 1,892
I'm pretty certain the only way is with javascript.
Feb 15 '07 #2

drhowarddrfine
Expert 5K+
P: 7,435
Yes. CSS is used to style HTML elements and not browser settings.
Feb 15 '07 #3

jhardman
Expert 2.5K+
P: 3,405
This can be done with very basic javascript, emphasis on the VERY BASIC:
Expand|Select|Wrap|Line Numbers
  1. <script language="javascript">
  2. <!--
  3.  
  4. function new_window(url) {
  5.      link = window.open(url, "Link", "toolbar=0, location=0, directories=0, status=0, 
  6.          menubar=0, scrollbars=0, resizable=0, width=200, height=250, left=100,
  7.          top=175");
  8.       }
  9.  
  10. -->
  11.  
  12. </script>
  13.  
  14. <a href="javascript:new_window('myPage.html')">go to my page</a>
  15.  
Feb 15 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.