Jump to content

holmedwa04

Members
  • Posts

    743
  • Joined

  • Last visited

Posts posted by holmedwa04

  1. So do you think I should just leave them, its just that when I changed my scroll bar colours, I noticed for the first time that the TEXT AREAS had them!...And I thought they looked a bit silly, but even so, you cant have colour scroll bars on Fire Fox.I think I will just leave them, I just thought maybe, like with frames, you could set no scroll bar.

  2. Ok, never mind, I know this is like one of the most random questions ever, but how do you know the ###### of a user, because it doesn't tell you anywhere, or do you just have to guess by there name?

  3. Hi,This is just a quicky, I am making a feedback form, and I have a comments box, beause it is a text area it has a scroll bar, and it looks really ugly, so can I get rid of it, and make it appear only when the users message is longer than the text area?

  4. Right, sorry about this, as the topic is so long now, there appears to be alot of confussion about what code I am now using, and so I will post it below:This is my CSS:

    a:link { color:#0000ff; text-decoration:none; }a:visited { color:#0000ff; text-decoration:none; }a:hover { color:#006633; text-decoration:underline overline; }a.2:link { color:#0000ff; text-decoration:none; font-weight:bold; }a.2:visited { color:#0000ff; text-decoration:none; font-weight:bold; }a.2:hover { color:#006633; text-decoration:underline overline; font-weight:bold; }a.3:link { color:#000000; text-decoration:none; }a.3:visited { color:#000000; text-decoration:none; }a.3:hover { color:#006633; text-decoration:underline overline; }a.4:link { color:#ff0000; text-decoration:none; }a.4:visited { color:#ff0000; text-decoration:none; }a.4:hover { color:#006633; text-decoration:underline overline; }body { scrollbar-3dlight-color:#000000;scrollbar-arrow-color:#FFFFFF;scrollbar-base-color:#000033;scrollbar-darkshadow-color:#000000;scrollbar-face-color:#000066;scrollbar-track-color:#000099;scrollbar-shadow-color:#000033; }body {font-family:arial;color:black;font-size:12pt;}td {font-family:arial;color:black;font-size:12pt;}#grid{border:3px solid #000;font-family:arial}#grid td{padding:0px;border:1px solid #000;text-align:center;width:33px;height:33px;}#grid td.rcell{border-bottom:0px}#grid td.ncell{border-right:0px;border-bottom:0px}#grid td.bcell{border-right:0px}#grid td.xcell{border:0px;padding:0px;}p { padding:0; margin:0; text-align:center;}p.a { font-weight:bold;color:red;padding-bottom:0px; margin: 0 auto}

    ... and this is my HTML:

    <html><head><title>Sudoku Puzzle 01 Answers (Easiest)</title></head><LINK rel="stylesheet" type="text/css" href="sudokustylesheet2.css"><body bgcolor="#000066" link="blue" vlink="blue"><font size="3"><font face="Arial"><font color="black"><center><table border="0" cellpadding="100" cellspacing="0" width="85%" bordercolor="#000000" bgcolor="#FFFFFF"><tr><td><BR><font size="5"> <center><b><u>Sudoku Puzzle 01 Answers (Easiest)</u></b><BR><BR></center><font size="2">Check your answers by marking of all of the numbers that you have correct by checking them off with the red answers.<BR><BR><BR><BR><center><table id="grid" cellspacing="0" cellpadding="0" width="120" height="120"> <tr>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell">0</td>     <td class="ncell"><p class="">5</p></p></td>     <td class="rcell"><p class="">1</p></td>    </tr>    <tr>     <td class="ncell"><p class="a">3</p></td>     <td class="ncell"><p class="a">0</p></td>     <td class="rcell"><p class="a">0</p></td>    </tr>    <tr>     <td class="bcell"><p class="">8</p></td>     <td class="bcell"><p class="n">0</p></td>     <td><p class="">0</p></td>    </tr>   </table>  </td>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="ncell"><p class="">4</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="">5</p></td>    </tr>    <tr>     <td class="bcell"><p class="n">0</p></td>     <td class="bcell"><p class="">3</p></td>     <td><p class="n">0</p></td>    </tr>   </table>  </td>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="">4</p></td>     <td class="ncell"><p class="">3</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="">2</p></td>    </tr>    <tr>     <td class="bcell"><p class="n">0</p></td>     <td class="bcell"><p class="n">0</p></td>     <td><p class="">6</p></td>    </tr>   </table>  </td> </tr> <tr>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="">2</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="">3</p></td>    </tr>    <tr>     <td class="bcell"><p class="n">0</p></td>     <td class="bcell"><p class="">4</p></td>     <td><p class="n">0</p></td>    </tr>   </table>  </td>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="">3</p></td>     <td class="ncell"><p class="">9</p></td>     <td class="rcell"><p class="">1</p></td>    </tr>    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="bcell"><p class="">2</p></td>     <td class="bcell"><p class="">5</p></td>     <td><p class="">7</p></td>    </tr>   </table>  </td>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="">7</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="ncell"><p class="">5</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="bcell"><p class="n">0</p></td>     <td class="bcell"><p class="">8</p></td>     <td><p class="n">0</p></td>    </tr>   </table>  </td> </tr> <tr>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="">4</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="ncell"><p class="">6</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="bcell"><p class="n">0</p></td>     <td class="bcell"><p class="">9</p></td>     <td><p class="">2</p></td>    </tr>   </table>  </td>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="">1</p></td>     <td class="rcell"><p class="n">0</p></td>    </tr>    <tr>     <td class="ncell"><p class="">5</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="">9</p></td>    </tr>    <tr>     <td class="bcell"><p class="n">0</p></td>     <td class="bcell"><p class="n">0</p></td>     <td><p class="n">0</p></td>    </tr>   </table>  </td>  <td class="xcell">   <table cellspacing="0" cellpadding="0" width="120" height="120">    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="">8</p></td>    </tr>    <tr>     <td class="ncell"><p class="n">0</p></td>     <td class="ncell"><p class="n">0</p></td>     <td class="rcell"><p class="">1</p></td>    </tr>    <tr>     <td class="bcell"><p class="">7</p></td>     <td class="bcell"><p class="">6</p></td>     <td><p class="n">0</p></td>    </tr>   </table>  </td> </tr></table></center><BR><BR><BR><center><BR><form> <input type="Button" value="Back" onclick="history.back()"> </form><BR>______________________________________________________<BR><font size=1>Edward Holmes, SMC @ CCMS, <a href="mailto:shapemakingclub@btconnect.com">shapemakingclub@btconnect.com</a></center></td></tr></table></center></body></html>

  5. http://www.w3schools.com/htmldom/dom_obj_history.aspFor empty 'history', check the length for the History object:
    <html><head><script>function goBack(){if (history.length != 0) {	history.back();	} else {	location.href='http://www.google.com';	}}</script></head><body><a href="#" onclick="goBack(); return false;">BACK</a></body></html>

    So, I add the script to my head section, and replace the google, with my site, and then add the link?Also can I change it so that it is a form style button?Edit: Ah, yeah, that seems to work, when I open the page from clicking on it, but when I type the URL in it goes back to google when I click it, is there some way to make it think that google isn't a page? Or add google to its list of "dont go back to"? Apart from that it works though.Edit 2: I have got it to a button now, so no worrys about that, just the bit about bypassing google.Edit 3: Even better, I have just thought, cant you change a parameter so that it goes back so many pages, so perhaps, or maybe not, it wont think that any page other than on of mine will work. Ok, now I am even confusing myself!
  6. Not sure actually why that code is even there, because it isn't the most up to date one that I am using, here it is:

    a:link { color:#0000ff; text-decoration:none; }a:visited { color:#0000ff; text-decoration:none; }a:hover { color:#006633; text-decoration:underline overline; }a.2:link { color:#0000ff; text-decoration:none; font-weight:bold; }a.2:visited { color:#0000ff; text-decoration:none; font-weight:bold; }a.2:hover { color:#006633; text-decoration:underline overline; font-weight:bold; }a.3:link { color:#000000; text-decoration:none; }a.3:visited { color:#000000; text-decoration:none; }a.3:hover { color:#006633; text-decoration:underline overline; }a.4:link { color:#ff0000; text-decoration:none; }a.4:visited { color:#ff0000; text-decoration:none; }a.4:hover { color:#006633; text-decoration:underline overline; }body { scrollbar-3dlight-color:#000000;scrollbar-arrow-color:#FFFFFF;scrollbar-base-color:#000033;scrollbar-darkshadow-color:#000000;scrollbar-face-color:#000066;scrollbar-track-color:#000099;scrollbar-shadow-color:#000033; }body {font-family:arial;color:black;font-size:12pt;}td {font-family:arial;color:black;font-size:12pt;}#grid{border:3px solid #000;font-family:arial}#grid td{padding:0px;border:1px solid #000;text-align:center;width:33px;height:33px;}#grid td.rcell{border-bottom:0px}#grid td.ncell{border-right:0px;border-bottom:0px}#grid td.bcell{border-right:0px}#grid td.xcell{border:0px;padding:0px;}p { padding:0; margin:0; text-align:center;}p.a { font-weight:bold;color:red;padding-bottom:0px; margin: 0 auto}

    Please could you change my code, becuase I am not sure what you mean?Edit: Oops, I thought someone had replied, because I was on the wrong page, sorry!

  7. Hi,I have a website, as you probaly can see from my signature, and on most pages I have back buttons, the only problem is that when somebody enters a page of my site, from google perhaps, their favorites, or by typing in the URL, if it is not the index page then when they click a back button it either doesn't work, or they get shunted off my site.So my question is, how do I make it go to my homepage when any of the above occur?This is my code:

    <form> <input type="Button" value="Back" onclick="history.back()"> </form>

×
×
  • Create New...