Jump to content

Nudua

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by Nudua

  1. HiTrying to do some javascript magic here, but can't get it to work. What I want is that when someone push the link "Vis Resultater >>" then some divs/coding shows up under. And if possible, gets hidden the second time someone push the link.

    <a href="#" id="showResult">Vis resultater >></a><div id="result" style="display: none"><p>Testing</p></div <!-- #result -->

    So, when someone press "Vis resultater >>" then I want the div#result to show.

  2. This is probably a dumb question, but I have some problems with positioning the text insde a <td>. The thing is that the <td> is very high, but it's not so much text there. The text apears in the middle of the <td> and doesn't start at the top left corner... Any help would be great.Happy new year to all by the way.

  3. That .tk thing doesn`t work on all computers. When I tried my friends .tk it just showed a white page with nothing. Ì`ve heard other people who have the same thing.

  4. Thanks very much :) I have changed the body margin in CSS to 0px, removed the blank tr tag, and added padding=0 to body tag, but there is still space above the table.  The space is much less though because of the change to the CSS. I dont think the other two changes make any difference:(Do you have any idea?Thanks again~btw, do you have any suggestion to this webpage?

    Have you tried the padding="0" in the body?I have 1 suggestion and that is to change the pictures on the top when you hover them. You can see how you can do it here
  5. I saw that you had body {...blabla...margin: 15px;...blabla...} in your CSS so change that to margin: 0pxor

    ...<table cellpadding="0" cellspacing="0" width="75%" border="0" align="center" bgcolor="#FFFFFF"><tr></tr>...

    Take away the <tr></tr> like this:

    ...<table cellpadding="0" cellspacing="0" width="75%" border="0" align="center" bgcolor="#FFFFFF">...

  6. <body style="overflow: hidden">

    I though of that first, but it didnt`t work...HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Any site</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /></head><body style="overflow: hidden"><div id="left"><img id="left" src="isramme.bmp" /></div><div id="center"><div id="topp"><img id="left2" src="isramme3.bmp" /><img id="right2" src="isramme4.bmp" /></div><div id="bunn"><img id="left3" src="isramme5.bmp" /><img id="right3" src="isramme6.bmp" /><div id="topp2"><img id="topp" src="isramme7.bmp" /></div></div></div><div id="right"><img id="right" src="isramme2.bmp" /></div></body></html>

    CSS:

    body {background-color: #222222;margin: 0px;}div#left {background-color: #222222;width: 12%;height: 100%;float: left;margin: 0px;padding: 0px;}div#center {background-color: #222222;width: 76%;height: 100%;margin: 0px;float: left;padding: 0px;}div#topp {background-color: #222222;width: 100%;height: 16%;padding: 0px;margin: 0px;}div#bunn {background-color: #222222;width: 100%;height: 84%;margin: 0px;padding: 0px;}div#topp2 {background-color: #222222;width: 96%;}div#right {background-color: #222222;width: 12%;height: 100%;margin: 0px;float: right;}img#left {float: right;height: 100%;overflow: hidden;}img#right {height: 100%;float: left;margin: 0px;position: relative;left: -1px;}img#left2 {width: 2%;height: 100%;margin: 0px;float: left;}img#right2 {width: 2%;height: 100%;margin: 0px;float: right;}img#left3 {width: 2%;height: 100%;margin: 0px;float: left;}img#right3 {width: 2%;height: 100%;margin: 0px;float: right;}img#topp {width: 100%;margin: 0px;position: relative;top: -3px;}

    Is it maybe because it dosen`t work on XHTML?

  7. Strict means  you can't use depreciated elements like <font> or depreciated attributed like 'align' in things like <p align='right'> and all text must be within block-level elements.Transitional means you're allowed to have depreciated elements/attributes and you're allowed to have sloppy mark-up (you don't have to contain text in block-level elements).Frameset means when you have frames on your website using <frameset> and <frame> elements.

    But, is then strict and transitional the same, exept that in transitional "you're allowed to have depreciated elements/attributes and you're allowed to have sloppy mark-up (you don't have to contain text in block-level elements)."And I haven`t really got the point with doctype`s...What do they do?
  8. Full name: Audun SektnanAlternative name(s): AudunBirth date(dd/mm/yyyy): 31/05/1991Gender: MaleZodiacal sign: GeminiCountry of residance: NorwayCity of residance: LillehammerHeight: 1.70-1.75?Weight: 51Eyes: BlueHair: BrownSmoking/Drinking/Drugs: no/no/noFavourite Music: Rock, Phantom of The OperaFavourite Movies: Anime/Naruto, Rocky, Rambo, Phantom of The OperaInterest: DSJ3, cross-country, HTML and CSSPets: None :) Additional comments: No :)

    • Like 5
  9. Hello...I have a link in javascript, but I use frames and need to know how to get inn the whole page, not just in the frame the link is in. Like it`s target="_parent" in HTML...

    <td id="link" onmouseover='this.bgColor="999999"' onmouseout='this.bgColor="cccccc"' onClick='window.location="index.html"'><a id="link" href="index.html" target="_parent">Forside</a></td>
  10. <p class="ex12"><div align="center"><img src="Images/switch.gif" border="0" alt="Fresh look colours"></div></p><p class="ex13"><a href="ccon.html">Click Here For More Colour Contacts</a></p>

    What`s your CSS-codes? Those class="ex12" class="ex13" must be the reason...
×
×
  • Create New...