Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About marisc88

  • Rank
  1. Ok thank you both for replying. I've made the changes suggested by Don E and replaced type="image" with type="reset" as suggested by thescientist and it now appears to work... I'm confused why you can customise the submit button by using type="image" but can't use it for the reset button.. going to have to work out how to do that now. My submit button is behaving differently in Mozilla (opening outlook email) and IE (opening message box alerting email is being sent) but im guessing thats because the site hasnt actually been uploaded to the server yet - or am I wrong and the forms supposed to w
  2. Hello I've just done my first form validation and need help with one little niggle. The problem is with the "resetForm" Function. It works in terms of clearing the form but the alert that shows is the first alert for Function validateForm i.e."We would like to know your name! A first name must be entered". Can someone see where I have gone wrong?? So the JavaScript at the mo is this: function validateForm(){var x=document.forms["contact"]["fname"].value;if (x==null || x=="") { alert ("We would like to know your name! A first name must be entered"); return false; }var x=documen
  3. Excellent thank you!! - those changes have sorted my intial list styling problem so thanks very much. Unfortunately the link styling is still an issue in Mozilla but i'm not too fussed with sorted this right now. Quick question though what type of code is: /*.....*/ ? Thanks again
  4. p.s I realise the whole thing is a bit of a mess anyway.
  5. Hi Thanks for the reply; this is better CSS and works again in IE but not Mozilla still. I can change the font of the bulleted list and it works in both but not the colour- the colour stays the same as the numbered list. I'm actually having trouble changint the colours of my links in Mozilla aswell so I must have messed up somewhere else. Clearly i'm new to all this and don't quite understand what cancels what out etc. Here is my full style sheet, Any obvious mistakes that might cause this??? : a:link { border-style: 0}a:link {color:#0066CC}a:hover {color:#0000FF}table{ background-color:"white
  6. Well I worked something out using: <li class="a">Why is my area not listed?</li> and: li.a {font-family:Teen;color:#6600CC} in my style sheet Which works for firefox but not IE, so obviously its not the correct way to do it ???
  7. Hi Im trying to style a group of nested lists. I want the numbered list to be one font with the nested bulleted list to be a different font. In my external style sheet i've put this : ol.a {font-family:Teen;color:#6600CC} and my html lists are this: <ol class="a" type="1" start="1"> <li>Why is my area not listed? <ul><li> copy ....... <a href="contact.html"> Contact us </a> copy ....... </li> </ul> <li>copy .......? <li>copy .......? <li>cop
  8. Excellent thank you!So I just changed "function SwapOut to function "SwapOu " just to test and they now both work
  9. thanks for the reply, but one the rollovers works so I dont see why the other wouldn't - the document.Home.src is referred in the HTML later using:<a href="index.html" onMouseOver="SwapOut()" onMouseOut="SwapBack()"><img name="Home" I realise its probably not the 'correct' way of doing it but its currently the only way I know - Basically I did the "Home" rollover first - worked fine then tried to add the "Venues" rollover after and now only the "Venues" one works - Any suggestions by editing the current code? Thanks again
  10. Can someone tell me where the error is in this code? - the "venues" rollover works but now the "home" rollover does not - i.e. how do add multiple rollovers - I understand there is a shorter way of coding this but I just need to keep to what I understand for now.. Many Thanks in advance :)Catherine <script language="JavaScript"><!--Rollimage = new Array ()Rollimage[0] = new Image (87,44)Rollimage[0].src = "home.gif"Rollimage[1] = new Image (87,44)Rollimage[1].src = "homerollover.gif"function SwapOut(){ document.Home.src = Rollimage[1].src; return true; }function SwapBack(){
  11. Thanks for the quick reply! - OK i will do - so is it true that onmouseover onmouseout can't be used in any situation without Javascript ? - or is there a reason why in this particular case it does? Cheers
  12. Forgive me I am very new to HTML... Can anyone work out what is wrong with this code, in red and bold - currently the rollovers do not work. The images are both saved in the same folder and both the image names are correct - Any ideas? <html><head><title>My Party Planner</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#aacde9" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><style type="text/css">table{border-bottom: 2px solid #6600CC}</style><table id="Table_01" width="1
  • Create New...