Jump to content

scott100

Members
  • Posts

    1,819
  • Joined

  • Last visited

Everything posted by scott100

  1. My bet would be EN stands for English.
  2. You have posted this message like on 3 different boards Please refrain from doing this, one post is sufficient.
  3. It's a matter of checking your work as you go along, try to use % instead of px, relative postioning instead of absolute. Here's one i did a while ago, depending on the resolution the stylesheet is changedhttp://scott100.atspace.com/switcher.htm
  4. 1) How do you check if a date is valid? ask Google2) How can I password protect a page? Use a Server Language php/asp etc3) How do I detect the browser the user is using? navigator.appName4) How can I read and write to a text file? - Use a Server Language - like PHP5) How do I change text within table cells? innerHTML- http://www.w3schools.com/js/tryit.asp?file..._tablerow_cells
  5. Yes, basically put the replace string after the info is pulled from the database but before it's printed to screen read textarea from database replace \n with <br> print to screen
  6. What is this, German - Dutch This is the line that pulls out the info that was entered into the textarea, right? $gcon=mysql_result($result,$i,"gcon"); So add this line $gcon=mysql_result($result,$i,"gcon");$gcon=str_replace("n","<br>",$gcon);
  7. You cannot change the resolution, that's off bounds.What you can do is code your page so that it works in all resoltions or use javascript to access screen properties and deliver a page depending on it's values.
  8. You could try using the string replace function: $text=str_replace("n","<br>",$text); It should replace all the carriage returns with <br>. If that doesn't work, try replacing n with \n.
  9. There is an email address on this page that should be used to contact the site owners, just send them a description of the mistake. http://www.w3schools.com/about/about_helping.asp
  10. Instead of having display:block; on the img.icon try it on the div.icon
  11. You have way to many ending </div> tags and you have forgotten to put a ; after many of the values in your css.
  12. Do you mean align and valign?http://www.w3schools.com/tags/tag_td.asp
  13. Try meta refresh, will direct you to w3schools.com after 5 seconds in this case:<meta http-equiv="Refresh" content="5;url=http://www.w3schools.com" />http://www.w3schools.com/tags/tryit.asp?fi...ryhtml_redirect
  14. scott100

    CSS Menu

    There is javascript used in the menu so it's not pure css I have made a couple of change (in red), this should get you going in the right direction <html><HEAD> <style type="text/css">#csstopmenu, #csstopmenu ul{padding: 0;margin: 0;list-style: none;[color="red"]width:130px;[/color]}#csstopmenu li{[color="red"]<!--float: left;-->[/color]position: relative;}#csstopmenu a{text-decoration: none;}.mainitems{border: 1px solid black;border-left-width: 0;background-color: #D8FE89;}.headerlinks a{margin: auto 8px;font-weight: bold;color: black;}.submenus{display: none;width: 10em;position: absolute;top: 1.2em;[color="red"]left: 120px;[/color]background-color: #EEFFCC;border: 1px solid black;}.submenus li{width: 100%;}.submenus li a{display: block;width: 100%;text-indent: 3px;}html>body .submenus li a{ /* non IE browsers */width: auto;}.submenus li a:hover{background-color: yellow;color: black;}#csstopmenu li>ul {/* non IE browsers */top: auto;left: auto;}#csstopmenu li:hover ul, li.over ul {display: block;}html>body #clearmenu{ /* non IE browsers */height: 3px;}</style><script type="text/javascript">// CSS Top Menu- By JavaScriptKit.com (http://www.javascriptkit.com)// Adopted from SuckerFish menu// For this and over 400+ free scripts, visit JavaScript Kit- [url="http://www.javascriptkit.com/"]http://www.javascriptkit.com/[/url]// Please keep this credit intactstartMenu = function() {if (document.all&&document.getElementById) {cssmenu = document.getElementById("csstopmenu");for (i=0; i<cssmenu.childNodes.length; i++) {node = cssmenu.childNodes[i];if (node.nodeName=="LI") {node.onmouseover=function() {this.className+=" over";}node.onmouseout=function(){ this.className=this.className.replace(" over", "")}}}}}if (window.attachEvent)window.attachEvent("onload", startMenu)elsewindow.onload=startMenu;</script></head><body><ul id="csstopmenu"><li class="mainitems" style="border-left-width: 1px"><div class="headerlinks"><a href="http://www.javascriptkit.com">JavaScript Kit</a></div><ul class="submenus"><li><a href="http://javascriptkit.com/">Home</a></li><BR><li><a href="http://javascriptkit.com/cutpastejava.shtml">Free JavaScripts</a></li><BR><li><a href="http://javascriptkit.com/javaindex.shtml">JavaScript tutorials</a></li><BR><li><a href="http://javascriptkit.com/jsref/index.shtml">JavaScript Reference</a></li><BR></ul></li><BR><li class="mainitems"><div class="headerlinks"><a href="http://www.javascriptkit.com">2nd Menu Item</a></div><ul class="submenus" style="width: 14em"><li><a href="">Sub 2 Item 1. Long text, long menu.</a></li><li><a href="">Sub 2 Item 2</a></li><li><a href="">Sub 2 Item 3.</a></li></ul></li><li class="mainitems"><div class="headerlinks"><a href="http://www.javascriptkit.com">3rd Menu Item</a></div><ul class="submenus"><li><a href="">Sub 3 Item 1</a></li><li><a href="">Sub 3 Item 1</a></li><li><a href="">Sub 3 Item 1</a></li><li><a href="">Sub 3 Item 1</a></li></ul></li></ul><div id="clearmenu" style="clear: left"></div><p style="font: normal 11px Arial">This free script provided by<br /><a href="http://www.javascriptkit.com">JavaScript Kit</a></p></body></html>
  15. My IE wasn't vulneralbe either If you use IE though your only asking for trouble, get a decent browser like Opera
  16. Can you give use a link to the page? this is one made from images.
  17. I ran your css through the validator and it passed No error or warning found That's nothing to do with your css validation, just reminding you that you need valid html also.
  18. Try the suggestions here: http://www.lissaexplains.com/forum/archive...php/t-47942.htm
  19. You cant just make up variables, change the border that has already been seton line 98 you will see this code:document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>'); Change to border:none;
  20. scott100

    Images?

    Or use float<img style="float:left" src ="xxx.gif" /> <img src ="xxx.gif" />
  21. Instead of this:<a href="#" onclick="openWin(yoururl)">Open new Window!</a>Use this:<img src="xxx.jpg" onclick="openWin(yoururl)" />xxx.jpg = the path to your image.
  22. Welcome Chinthapalli,By logo you mean an image, right? If so check out the tutorial on HTML Images. If you have any further questions post back
  23. There is no align or valign css attribute.<div style="text-align:center;"></div>then maybe text-valign:middle
  24. No problem, i'll get shot of that host soon Glad to see you got it working
  25. I think this is a good example of what you asked for: http://www.dynamicdrive.com/dynamicindex2/fadescroll.htmIt even has a link as part of the demo - it's created with javascript so no server side code.
×
×
  • Create New...