Jump to content

LeonLatex

Members
  • Posts

    393
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by LeonLatex

  1. Please, look at the pictures and tell me what i am doing wrong/what's wrong? On my win. 11 OS installation I have installed Laragon 5.0.0, Visual Studio Code 1.63.2, and Python 10.3.2
  2. I did not find another suitable place and post this, so I posted this here (please move it to more suitable place if i am wrong). So, the time has come to try Python again, and I have downloaded and installed version 3.10.2, ie the latest stable version released. The web server is Laragon 5.0.0. It suggested Bananamen here on the forum and try after he had read mine wishes and requirements for functionality. This web server is and works perfectly, but ..... So, first and foremost, the path to the root folder / directory is not the default in Laragon. As I said, I have today installed Python, and the problem now is that I can not run the test scripts I set up. This is because (see below): The path to the root dir. and test directory in laragon: C:\ Users \ Leon \ OneDrive \ Documents \ www \ python Of course, I know what the problem is, but I can not remember how to solve this problem. How can I change the path to the test directory for Phyton from the data directory that is the default in the Python installation that I want to be the phython directory inside the www root directory? Do you understand what I mean? My OS installation is: Win 11
  3. Since I started this thread for my VS code questions, I might as well continue with my beginner thread and get started with questions. I would like a geting started guide that takes me through the basics until I have started with "my projects". I'm not that fond of videos on youtube. They are usually of an Indian who has a strange English accent or a drunk Russian who sounds like he is standing with a knife to his throat and a gun against the thaw in drunkenness. I have a hard time understanding them. Therefore, I want to read and look at pictures. So if there is anyone who has a few links to share to a needy novice VS Code user who is in training, then I would be very happy 😊😂👍👌
  4. Exactly what i needed to hear. For god's sake, I did not think that far. That's why. Now I also figured out why CLASS is sitting so far inside me too. Thanks requinix 👌👍
  5. Just to describe i use external .css script files and w3-css. In the example frome me i am using inline CSS just to describe my example and question. I have 3 divs aligned on one line. One div for my menu, one div for the main content and one div for what ever i want to use it for. It looks like this: <div id="container"><div id="left">Some Menu Content</div> <div id="center">Some Content Main</div> </div> <div id="right">Some Content Right</div> I mostly use CLASS of old habit. I can not quite put my finger on why it is so. What are the pros and cons of using CLASS = "..." and ID = "..." Bring as many of each you know for each of them. I welcome other tips that are relevant to this thread.
  6. Yes, it did. I am on my way back now and feeling better, much better. Thank you for the good thoughts. Before i start over where i left before i went to the hospital i have to deal with some other work. Then i can start over looking at VS and all the possibilities the program have insde with the right extensions package activated. See you.... (all)
  7. Thanks to everyone. I understand everything you write and tip about. I appreciate it. Right now it's hard for me to start with this since I was hospitalized again today, but they say I'm out again this weekend. It's nothing serious. Just a little surgery to adjust a little on a prosthesis I have in my body. I'm going to do a little bit with mine anyway, but not exactly with VSC. I have to learn that from scratch, so to speak, and that is not the right thing to do when you have been given a lot of drugs. Therefore, there will probably be some questions from me that are not quite after the book.ðŸĪŠðŸ™„ðŸ˜ī (maybe)
  8. Good evening 😊 I have downloaded VS Code. I will use VSC for PHP and MySQL. As I understand it, a basic package for PHP is already pre-installed, but there are extension packages to build on. What packages do I need I ask you who have experience with VSC?
  9. Thanks for a well-worded answer gizmola. Good to have people like you who "have the strength" to take such good time to answer so well-formulated and explanatory. Now I will tread a little carefully, since it is in your field I step in. I have not yet tried to change the layout as you suggest. I do not think the answer lies there. In relation to the problem, well it's like "makeup" and understand for me. So far so good. I have been away from the subject (web development) for a long time (you have heard that before). I'm still trying to learn, but there's too much "the old school" in me for me to constantly manage to get things to be correct 2021/2022. and as long as I make it work in the three major browsers wich in my head is Chrome, Edge / Explorer, and the Norwegian, Opera (which is one of the larger companies listed on the Norwegian stock exchange, wich i cant understand whyðŸ˜ŪðŸĪ”🙄). Anyway, I will re-write it when I get this far, or if I find that to be the main reason. Or, what am I saying. It's been 5 days tomorrow since I posted the opening post. A lot has happened since then. I finally found the error myself (I should post what / where the error was, but do not remember it now. There was something with "position:" fixed; ". Yes, that's right. When I removed" position: "fixed; from "div.content_box" fixed everything. Everything was in line, but there is something with this scaling I still can not figure out. You, gizmola, you are really helpful, and I really appreciate that. So thank you so much for trying to get me on the right track. I need that. Thank you again for taking the time to correct my mistakes and shortcomings. With the best regards from someone who has been a student at the old school, disappeared a few years, came back and thought he could continue as before (and a little on hes own way 😂👍👌).
  10. Yes i did. look at the last line and you will find my HTML. If you want my whole html and css you will find that below: (I think the whole is here) index.php <?php require_once("header.php") ?> <body class="base"> <div class="wrapper"> <?php require_once("mnu.php") ?> <!--Conten Boxt Start--> <div class="main_content_box w3-content w3-card-4 w3-margin-top w3-padding w3-light-gray"> <!-- Content Start --> <div class="main_content"> <h4 class="headline_bold"></h4> <h3 class="content"</h3> <?php require_once("contact.php") <!-- Content slutt --> </div> <!-- content box slutt --> </div> <!-- Footer Start --> <?php require_once("footer.php") ?> header.php <!doctype html> <html lang="NO" class="size"> <head> <link rel='stylesheet' href='https://www.w3schools.com/w3css/4/w3.css'> <link href="css/nav.css" rel="stylesheet" type="text/css"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="Keywords" content="HTML, CSS, JavaScript, SQL, PHP, MySQL, My SQL, Java, Webutvikling, W3C, opplÃĶringsprogrammer, programmering, opplÃĶring, lÃĶring, eksempler, Ãļvelser, kildekode, farger, demoer, tips"> <meta name="description" content="Godt organiserte og lett ÃĨ forstÃĨlige opplÃĶringsveiledninger for nettbygging med mange eksempler pÃĨ hvordan du bruker HTML, SGML, CSS, JavaScript, SQL, PHP, XHTML og XML"> <title>WEBMASTERinfo</title> <!-- CSS Color Choises for Menu Row/Bar Start --> <style type='text/css'> .w3-vomit { background-color: #009933; /*color: #ff8833;*/ } .button:hover { background-color: #0000ff; /* Green */ color: white; } a:link { color: #008833; font-weight: normal; font-size: 14px; text-align: center; line-height: 1; } a:visited { color: #008833;; } a:hover { color: #ff8833; transition-duration: 0.9s; } a:active { color: #ff8833; } </style> <!-- CSS Color Choises for Menu Row/Bar Slutt --> </head> <body class="base"> <div class="wrapper"> <div class="logo_box"></div> <?php require_once("bar.php") ?><br> contact.php (the midle one that scrols and goes up and down). <?php require_once("header.php") ?> <body class="base"> <div class="wrapper"> <?php require_once("mnu.php") ?> <!--Conten Boxt Start--> <div class="w3-content w3-card-4 w3-margin-top w3-padding w3-light-gray"> <!-- Content Start --> <h4 class="headline_bold">BesÃļksadresse:</h4> <h3 class="content">Fjordsveien 14, 2760 Brandbu.<br>(Mot Ulsnestangen/badestarnda)</h3> <h4 class="headline_bold">Postadresse:</h4> <h3 class="content">Postbox 151, 2712 Brandbu.</h3> <h4 class="headline_bold">Mobil:</h4> <h3 class="content">93201691</h3> <br> <!-- Content slutt --> <!-- content box slutt --> </div> <!-- Footer Start --> <?php require_once("footer.php") ?> footer.php <div class="copyright_box"><br> <?php echo "<class='copyright_box'>Copyright &copy; 1999-"; $year = date("Y"); echo $year ?> <!-- slutt copyright_box --> </div> <!-- slutt wrapper --> </div> </body> </html> CSS (the whole) /*CSS Document*/ html { height: 100%; width: 100%; padding: 0; margin: 0; } body { background-color: #ffffff; height: 100%; width: 100%; padding: 0; margin: 0; margin: auto; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: "Helvetica, Ariel"; } div.wrapper { height: 100%; width: 100%; padding: 0; margin: 0; display: block; margin: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; /*border: solid 1px; border-color: #ffcc99; border-radius: 5px;*/ } div.logo_box { background-image: url("../img/logo1.png"); margin: 10px; align: left; width: 420px; height: 56px; /*border: solid 1px; border-color: #999966; border-radius: 5px;*/ } div.menu_box { color: #008833; position: fixed; margin-top: 0px; margin-left: 10px; width: 165px; /*max-height; 100px;*/ height: 300px; /*border: solid 1px;*/ /*border-color: #ffcc99;*/ /*border-radius: 5px;*/ } div.content_box { display: block; margin-left: auto; margin-right: auto; /*width: 50%;*/ /*position: fixed;*/ margin-top: 5px; width: 950px; max-height: 100%; margin: auto; border: solid 1px; border-color: #ffcc99; border-radius: 5px; } div.main_content_box { margin-top: 5px; width: 700px; max-height:100%; margin: 35px auto; font-weight: normal; /*background-color: #cc9966;*/ } div.main_content { margin-top: 5px; width: 630px; max-height:100%; margin: 35px auto; font-weight: normal; /*background-color: #cc9966;*/ } p.bold{ font-family: "Helvetica, Ariel"; font-weight: bold; font-size: 18px; } a.bold{ font-family: "Helvetica, Ariel"; font-weight: bold; color: #000000; } h1.headline { display: inline; font-family: "Helvetica, Ariel" ; font-weight: bold; font-size: 14px; color: #000000; } h1.headline_bold { display: inline; font-family: "Helvetica, Ariel" ; font-weight: bold; font-size: 14px; color: #000000; } h1.headline_bolder { display: inline; text-align: center; font-family: "Helvetica, Ariel"; font-weight: bolder; font-size: 18px; /*line-height: 1;*/ /*letter-spacing: 5px;*/ } h2.headline { font-family: "Helvetica, Ariel"; font-weight: bold; font-size: 14px; color: #000000; } h3.content { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 15px; /*display: list-item;*/ } h3.content_link { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 14px; /*display: list-item;*/ } h3.contact_link { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 15px; } h4.headline_bold { font-family: "Helvetica, Ariel"; text-align: center; font-weight: bold; font-size: 15px; color: #000000; } div.copyright_box { width: 100%; height: 100%; font-family: "Helvetica, Ariel"; font-size: 11px; text-align: center; color: #000000; /*border: solid 1px; border-color: #000000; border-radius: 5px;*/ }
  11. Thanks to you both 😊👍👌 It did not work gizmola, but it put me on the right track, just as you mentioned when you said "leave it to you(me). Here is what solved the problem for me: div.menu_box { color: #008833; position: fixed; margin-top: 0px; margin-left: 10px; width: 165px; /*max-height; 100px;*/ height: 300px; /*border: solid 1px;*/ /*border-color: #ffcc99;*/ /*border-radius: 5px;*/ } div.content_box { display: block; margin-left: auto; margin-right: auto; /*width: 50%;*/ /*position: fixed;*/ margin-top: 5px; width: 950px; max-height: 100%; margin: auto; border: solid 1px; border-color: #ffcc99; border-radius: 5px; } div.main_content_box { margin-top: 5px; width: 700px; max-height:100%; margin: 35px auto; font-weight: normal; /*background-color: #cc9966;*/ } div.main_content { margin-top: 5px; width: 630px; max-height:100%; margin: 35px auto; font-weight: normal; /*background-color: #cc9966;*/ } <?php require_once("mnu.php") ?> <!--Conten Boxt Start--> <div class="w3-content w3-card-4 w3-margin-top w3-padding w3-light-gray"> <!-- Content Start --> <div class="main_content"> <div class='w3-container'> <p><h1 class="headline_bolder">En kort innfÃļring i Internetts historie, vekst, dens utforming og funksjoner.</h1></p> <p><h1 class="headline_bold">Hva ligger bakenfor?<br> Organisasjoner som setter standarder for drift, bruk og utvikling av internett.</h1></p> <br><br> <div class="content"> <p><h1 class="headline">WEBMASTERinfo er en opplysningstjeneste pÃĨ Imternett av Webmasters for Webmasters.</h1> WEBMASTERinfo opplyser og formidler ut i fra kunnskap i forhold til de siste satte standarder som er satt av bla. Internasjonale Standardiseringsorganisasjoner. <br>ISO (International Organization for Standardization/ Den internasjonale standardiseringsorganisasjonen), ICANN, IANA m.fl.</p> <br><br> <p><h1 class="headline">IANA (Internet Assigned Numbers Authority)</h1> er en organisasjon som fÃļrer tilsyn med forvaltningen av IP-adresser, toppnivÃĨdomenenavn (Top Level Domain=TLD) og Internet Protocol Control Protocol - <a href="ipcp.php" title="IPCP" target="new">IPCP</a>. I begynnelsen besto IANA kun av en person, Jon Postel. IANA delegerer lokal forvaltning av IP-adresser til Regional Internet Registries (<a class="bold">RIR</a>)(pÃĨ Norsk, registrar). Hver RIR forvalter adresser for en del av verden. I norge er det NORID som er registrar for .no, TLD (Top Level Domain). Samla utgjÃļr disse en del av Numbers Resource Organization som er et organ som skal representere felles interesser. <br><br> <p><h1 class="headline">IANA delegerer forvaltningen av IPv4 -adresser</h1> til de ulike RIRene i stÃļrre biter (typisk /8 eller mer). Hver RIR forvalter adresseblokkene etter egne bestemmelser. Typisk fungerer det pÃĨ den mÃĨten at forvaltningen av adresser blir delegert videre til ISPer som fÃĨr tildelt mindre blokker av adresser som /19 og /20. Det er ogsÃĨ et system for delegering og forvaltning av IPv6-adresser, men det er lite konkurranse om IPv6 adresseblokker siden tilgjengeligheten pÃĨ adresser er mye stÃļrre enn etterspÃļrselen. IANA er under kontroll av ICANN (Forklaring finnes i avsnitt nedenfor), men den endelige kontrollen over DNS rot-sona er det det amerikanske nÃĶringsdepartementet som har. Den 1. oktober 2016 utlÃļp avtalen med National Telecommunications and Information Administration og IANAs funksjoner utfÃļres heretter av Public Technical Identifiers.</p> <br> <p><h1 class="headline">ICANN Internet Corporation for Assigned Names and Numbers</h1> (ICANN er organisasjonen over IANA) er en allmennyttig (eng: nonprofit) organisasjon med hovedkvarter i Marina del Rey (California) i USA, med formÃĨl ÃĨ administrere global tildeling av DNS-navn, internett-adresser (domenenavn/URL) og protokoll-parametre. Oppgavene utfÃļres innenfor rammene av en kontrakt med USAs handelsdepartement, men ICANN forsÃļker ÃĨ hente innspill fra mange forskjellige deltakere i Internett-samfunnet. Hvor mye de tar hensyn til de innspillene de fÃĨr strides det mye om. Den ble opprettet 18. september 1998, og overtok de oppgavene som til da hadde blitt utfÃļrt av Jon Postel ved Information Sciences Institute – disse oppgavene refereres ofte til som IANA. 6. november 2006 ble Jon Bing innvalgt som medlem i ICANNs rÃĨd for globale toppnivÃĨdomener (GNSO Council) I 2012 samlet en konferanse i Dubai i et forsÃļk pÃĨ ÃĨ innfÃļre internasjonale retningslinjer for internett. Konferansens forhandlinger brÃļt sammen 13. desember 2012 etter at USA og Storbritannia nektet ÃĨ godta en FN-basert styring som kunne tillate Russland og Kina ÃĨ innfÃļre mer sensur i sine egne land.</p> <br> <p><h1 class="headline">ITU (The International Telecommunication Union)</h1> Den internasjonale telekommunikasjonsunion er et FN-organ for global standardisering innen telekommunikasjon med formelt ansvar for ÃĨ lage verdensstandarder innenfor telekommunikasjonsomrÃĨdet. ITU arrangerer ogsÃĨ de fireÃĨrlige Telecom-messene. <br> <p><h1 class="headline">IEE (Industrial Electronics Engineers)</h1> Verdens stÃļrste standardiserte tekniske faglige organisasjon for utvikling av teknologi. <br><br> <p><h1 class="headline">IETF (Internet Engineering Task Force)</h1>utvikler og promoterer Internett-standarder, i nÃĶrt samarbeid med W3C og standardiseringsorganisasjonene ISO og IEC, og befatter seg spesielt med standardene innen TCP/IP. Wikipedia <br><br> <p><h1 class="headline">Norske Standardiserte/Stardiserings-organisasjoner.</h1> <br> SN (Standard Norge) PoT (Post og Teletilsynet) NORID (AS (NOrsk Registreringstjeneste for Internett Domenenavn)) NEK (Norsk Elektrotekniske Komite) ProNormAS <br> <p><h1 class="headline">Disse organisasjonene er bla.</h1> de som er med ÃĨ gjÃļr at du som bruker av internett kan benytte dette innenfor en fastsatt ramme med lover og regler, enkelt forklart standardiserte retningslinjer. Slik at du som er en vanlig surfer eller utvikler av tjenester pÃĨ internett kan ha en rolig og avslappet dag der det meste gÃĨr av seg selv uten for mye ÃĨ sette seg inn i for mye for at du skal finne den websida som du Ãļnsker uten at du trenger ÃĨ tenke over og huske noe mer enn adressen (URL=Uniform Resource Locator) til Ãļnsket internettside eller tjeneste du Ãļnsker ÃĨ “besÃļke”. <p><h1 class="headline">Fra Tanke til IdÃĐ til Internet slik det fremstÃĨr i dag, og hvorfor en Norsk Organisasjon?</h1> Tunga rett i munnen nÃĨ. Hold forskjell pÃĨ <a class="bold">ARPAnet</a>(Advanced Research Projects Agency Network) og <a class="bold">DARPA</a>(Defense Advanced Research Projects Agency). ARPAnet er forgjengeren til Internett slik vi kjenner det i dag, og DARPA er en organisasjon som skulle rettighetsbeskytte ARPA, beskytte dets eksistens og utvikling. ARPAnet ble lansert av USA’s forsvarsdepartement i 1969, men hadde vÃĶrt forsket og snakket om siden 1962. DARPA var de som beskyttet og holdt orden pÃĨ ARPAnet som et &quot;produkt&quot; under utvikling inntil det ble hetende internett, og det ble til det det er i dag ,slik vi kjenner det. ARPAnet var kun ment for, og derfor i stand til kun ÃĨ kun sende/overfÃļre og motta tekst.. Men under utviklingen av ARPAnet var det noen som sÃĨ muligheter for noe mer, og det meldte seg rask at det kunne bli behov for ÃĨ utvikle ARPAnet pÃĨ veg mot noe mer og stÃļrre. Muligheter ble avdekket og synliggjort. Det skjedde nemlig noe i 1975, 1983, og i 1986. Det som skjedde har stor betydning for hva vi har i dag. I 1975 ga DARPA fra seg rettighetene til ARPA-nettet. Det ble helt siden starten i 1969 opprettet nasjonale under-organisajoner. De internasjonale organisasjonene i USA ville aldri hatt kapasitet eller mulighet til ÃĨ fÃļlge opp og sette standarder for ARPAnet/Internett alene, og det ville vÃĶrt et kaos "forsÃļkt" satt i system. Det ville i hvertfall ikke vÃĶrt mulig etter at DARPA sa i fra seg ansvaret og eierskapet over ARPA til National Science Foundation (NSF) Da begynte andre land og bli forespeilet ARPAnet og hva det var/ment for.</p> <br> <p><h1 class="headline">Hvorfor har vi internasjonale (feks. Norske) organisasjoner</h1> Norge har ingen egne organisasjoner som kun er rettet direkte mot utviklingen og bruk av internett og internettjenester. De nevnte organisasjoner du leste om hÃļyere opp er det vi har (de som er verdt og nevne), de som har noe og si, som har en juridisk makt og tyngde. Norge har NORID (les mer nedenfor om NORID)<br> I 2004 ÃĨpnet IANA for at domenenavn med Æ, Ø og Å kunne registreres. SÃĨ hvordan fikk plutselig IANA det for seg at sÃĶrnorske (og nordiske) tegn skulle nÃĨ ogsÃĨ eksistere i internettadresser. De fleste utenfor Norge og Norden har hÃļrt om vÃĨre sÃĶrnorske tegne. Derfor hadde ikke dette eksistert eller vÃĶrt vÃĶrt mulig siden starten i 1969 (1962). Det var pÃĨ grunn av de smÃĨ organisasjonene i de nordiske landene, bla. NORID. er pga. at disse smÃĨ organisasjonene det hele tiden kan utvikles og lages en plan for hvordan internettt til en hvaer tid skal utvikles til alles beste. Det eksisterer ett samarbeide. Hele tiden formidles det nye forslag fra forskjellige land om nye standarder. De smÃĨ organisasjonene innhenter og mottar ogsÃĨ nye forslag fra private aktÃļrer. Det gjÃļr ogsÃĨ de store organisasjoner, men det skjer i de fleste tilfeller fra de smÃĨ underorganisasjonene, som for eksempel NORID.</p> <br> <p><h1 class="headline">Et godt eksempel pÃĨ at det fungerer, er at IANA har godkjent sÃĶrnorske tegn i domenenavn. Om det er noe som har slÃĨtt til (blitt en suksess) er ett annet spÃļrsmÃĨl. Du kan jo forsÃļke selv og se om det er noen norske butikker og firmaer som har registrert sitt firmanavn, for eksempel. www.elkjÃļp.no . <br> Dette var litt om hovedtrekkene som betyr noe for internetts eksistens. SÃĨ nÃĨ videre litt om Norges rolle i mellom alle organisasjoner og standarder, .no domenet og IANA's tilrettelegging av Internett for den norske mann og edderkoppnettet/www/WorldWideWeb. <br> <p><h1 class="headline">I 1983 ble toppdomenet .no delegert til Televerkets forskningsinstitutt.</h1> Norge hadde hverken blitt glemt, gjemt eller sittet pÃĨ gjerdet for det verdensomspennende nettverket som hadde vÃĶrt under planlegging, forskning og utvikling mens den kalde krigen pÃĨgikk. Tanken og ideen var egentlig at ARPAnet skulle fungere som en kommunikasjonsplattform i tilfelle atomkrig.<br> Det norske forskningsinstituttet var det naturlige valget ettersom de allerede var hovedsamarbeidspartner med ARPAnet. I 1987 ble UNINETT-prosjektet startet opp, og da ble det naturlig at de overtok dette nasjonale ansvaret, ettersom de var en teknisk kompetent og nÃļytral part. I 1993 ble UNINETT etablert som et ikke-kommersielt aksjeselskap, og alle kommersielle aktÃļrer ble stengt ute. Dette var for ÃĨ styrke UNINETT som en nÃļytral aktÃļr. I 1995 ble det fÃļrste regelverket for domeneregistrering (navnepolitikken) offentliggjort. Norid hadde pÃĨ den tiden et mye strengere regelverk enn for eksempel .com-domenet. Regelverket ble imidlertid myket opp i 2000 ved at man tillot registrering av generelle ord og uttrykk. I februar ÃĨret etter[ Ãļkte det tillatte antallet domener per organisasjon til 15, og organisasjonene trengte ikke lenger dokumentere at de hadde rettigheter til navnet fÃļr de sÃļkte. Fra 1. juli 2003 ble Norid skilt ut som eget datterselskap under UNINETT AS, UNINETT Norid AS. Selskapet endret navn til NORID AS 27. juni 2019.<!-- kontakt slutt --></p> <p>Dette var litt om historien til Internett. Fra begynnelsen som ARPAnet til det Internett vi kjenner i dag, men det var jo sÃĨnn at ARPAnet skulle fungere som en kommunikasjonsplattform, skulle den ikke? Det er noe som mangler. Vi har jo allerede lÃĶrt at ARPAnet protokellen kun var i stand til ÃĨ sende tekst over nettverket. </p> <p>De fleste i Norge tror at Internett var noe som oppsto pÃĨ 90-tallet. I hvertfall at det kom til Norge pÃĨ 90-tallet. Det er en sannhet med modifikasjoner. NÃĨ har du lÃĶrt at Internett oppsto som et fungerende produkt i 1969, men nÃĨr kom det til Norge. Du lÃĶrte jo det at .no domenet ble regisrert som et internasjonalt domene i 1983 av Televerkets forskningsinstitutt. Norge har vÃĶrt tilknyttet Internett siden 1973. Televerkets forskningsinstitutt har vÃĶrt med sÃĨ og si hele veien.</p> </div> </div> <!-- content_box slutt --> </div> <!-- Footer Start --> <?php require_once("footer.php") ?> <div class="menu_box w3-content w3-card-4 w3-padding w3-light-gray" style="line-height: 6px"> <h4 class="headline_bold">Naviger</h4><br> <p><a class="mnu_link" href="index.php" title="Tilbake til Start">Hjem </a></p> <p><a href="design.php" title="Hva vi kan utvikle">Art & Design</a></p> <p><a href="design.php" title="Opplysning og Info-tjeneste">Opplysning og info-tjenesten</a></p> <p><a href="std_org.php" title="Internetts historie">Internetts historie </a></p> <p><a href="contact.php" title="Kontakt WEBMASTERinfo">Kontakt </a></p> </div>
  12. I think I have posted correctly, otherwise MOD can move it to where it belongs, i hope. I have divided my page into header.php, nav.php, footer.php. It is nav.php that can be scrolled. I want header.php with its <div class = ""> for CSS style and logo to stand still and not follow the scroll up and down when I scroll. How do I do that with CSS? I have tried with the position: fixed; - Doesent work.... <div class="w3-container w3-card-4 w3-light-gray" style="height: 31px, position: fixed"> (the style property woeks fine, and the same does the position: fixed; on the menu <div> What do i do wrong?
  13. Do not quite know how to present it, but I have a div that I call menu. It is located on the left side of the page. Then I have a content div that is centered on the page. The problem is when the page is scaled. on fairly large screens then there is no problem. Then the website looks normal as I have set it up, but on smaller screens and when scaling, content div is placed under menu div. I have tried a bit with different css properties to lock them. but it seems like it does not work. I have also tried with position properties, but it seems impossible. Actually, they should stay calm and scale their size as the rest of the page scales. As usual, I have completely messed up again and can no longer see the forest for just trees. I attach the two css blocks. Can you see what's wrong? div.menu_box { color: #008833; position: fixed; margin-top: 0px; margin-left: 10px; width: 165px; /*max-height; 100px;*/ height: 300px; /*border: solid 1px;*/ /*border-color: #ffcc99;*/ /*border-radius: 5px;*/ } div.content_box { display: block; margin-left: auto; margin-right: auto; /*width: 50%;*/ /*position: fixed;*/ margin-top: 5px; width: 950px; max-height: 100%; margin: auto; border: solid 1px; border-color: #ffcc99; border-radius: 5px; }
  14. This center the text: h3.content { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 15px; /*display: list-item;*/ } This is not: h4.headline_bold { display: inline; font-family: "Helvetica, Ariel"; text-align: center; font-weight: bold; font-size: 15px; color: #000000; } Can someone tell me why, please?
  15. I got two DIV boxes. One for menu box on the left margin and one centered div for the content. To make these position themselves on the same line next to each other. have I used a position: fixed; on the DIV box menu. The problem is when I try to scale the site. The menu does not scale as it should, but it stays in place, but it builds on content that does not scale at all, I send with both CSS and HTML. I hope there is someone here who can look at it. I have worked a lot with this, it may therefore seem a bit messy, but it is not difficult to understand the composition.Thanks a lot guys, and happy new year. 1: index.php file 2: header.php 3: mnu.php 4: footer.php 5: nav.css <?php require_once("header.php") ?> <body class="base"> <div class="wrapper"> <?php require_once("mnu.php") ?> <!--Conten Boxt Start--> <div class="w3-content w3-card-4 w3-margin-top w3-padding w3-light-gray"> <!-- Content Start --> <div class="main_content"> <h4 class="headline_bold"></h4> <h3 class="content"> <!-- Content slutt --> </div> <!-- content box slutt --> </div> <!-- Footer Start --> <?php require_once("footer.php") ?> <?php require_once("header.php") ?> <body class="base"> <div class="wrapper"> <?php require_once("mnu.php") ?> <!--Conten Boxt Start--> <div class="w3-content w3-card-4 w3-margin-top w3-padding w3-light-gray"> <!-- Content Start --> <div class="main_content"> <h4 class="headline_bold"></h4> <h3 class="content"> <!-- Content slutt --> </div> <!-- content box slutt --> </div> <!-- Footer Start --> <?php require_once("footer.php") ?> <div class="menu_box w3-content w3-card-4 w3-padding w3-light-gray" style="line-height: 6px"> <h4 class="headline_bold">Naviger</h4><br> <p><a class="mnu_link" href="index.php" title="Tilbake til Start">Hjem </a></p> <p><a href="contact.php" title="Kontakt">Kontakt </a></p> <p><a href="std_org.php" title="Historie">Historie </a></p> </div> <div class="copyright_box"><br> <?php echo "<class='copyright_box'>Copyright &copy; 1999-"; $year = date("Y"); echo $year ?> <!-- slutt copyright_box --> </div> <!-- slutt wrapper --> </div> </body> </html> /*CSS Document*/ html.size { height: 100%; width: 100%; } body.base { background-color: #ffffff; height: 100%; width: 100%; margin: auto; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: "Helvetica, Ariel"; } div.wrapper { height: 100%; width: 100%; display: block; margin: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; /*border: solid 1px; border-color: #ffcc99; border-radius: 5px;*/ } div.logo_box { background-image: url("../img/logo.png"); margin: auto; height: 110px; width: 538px; /*border: solid 1px; border-color: #999966; border-radius: 5px;*/ } div.menu_box { color: #008833; position: fixed; margin-top: 0px; margin-left: 10px; width: 165px; /*max-height; 100px;*/ height: 300px; /*border: solid 1px;*/ /*border-color: #ffcc99;*/ /*border-radius: 5px;*/ } div.content_box { display: block; margin-left: auto; margin-right: auto; /*width: 50%;*/ /*position: fixed;*/ margin-top: 5px; width: 950px; max-height: 100%; margin: auto; border: solid 1px; border-color: #ffcc99; border-radius: 5px; } /*img.stamp { margin-top: 20px; display: block; margin-right: auto; margin-left: auto; align: center; height: 172px; width: 222px; opacity: 0.4; }*/ div.main_content { margin-top: 5px; width: 630px; max-height:100%; margin: 35px auto; font-weight: normal; /*background-color: #cc9966;*/ } p.bold{ font-family: "Helvetica, Ariel"; font-weight: bold; font-size: 18px; } a.bold{ font-family: "Helvetica, Ariel"; font-weight: bold; color: #000000; } h1.headline { display: inline; font-family: "Helvetica, Ariel" ; font-weight: bold; font-size: 14px; color: #000000; } h1.headline_bold { display: inline; font-family: "Helvetica, Ariel" ; font-weight: bold; font-size: 14px; color: #000000; } h1.headline_bolder { display: inline; text-align: center; font-family: "Helvetica, Ariel"; font-weight: bolder; font-size: 18px; /*line-height: 1;*/ /*letter-spacing: 5px;*/ } h2.headline { font-family: "Helvetica, Ariel"; font-weight: bold; font-size: 14px; color: #000000; } h3.content { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 15px; display: list-item; } h3.content_link { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 15px; display: list-item; } h3.contact_link { font-family: "Helvetica, Ariel"; text-align: center; font-weight: normal; font-size: 16px; } div.content { max-height: 100%; font-family: "Helvetica, Ariel"; text-align: left; font-weight: normal; font-size: 17px; /*display: list-item;*/ } div.copyright_box { width: 100%; height: 100%; font-family: "Helvetica, Ariel"; font-size: 11px; text-align: center; color: #000000; /*border: solid 1px; border-color: #000000; border-radius: 5px;*/ }
  16. I wish you all a merry christamas. Eat well, enjeoy with family and friends and be happy. (we say so in norwegian. I dont know how it sounds for the english speaking people)
  17. Spot on Kevin I have already seen many of the benefits. Thanks 😁👍
  18. yes, I am aware of this gizmola. And I got it all ready in my mind and thoughts. Or, as much as I can have is more correct. The servers are running on Ubuntu / Debian Linux platform like when I was one of the owners (CEO). Web server SW is Apache, DB is MySQL/MariaDB. Server-side script for developing dynamic web pages is PHP. So I have control over most things.
  19. I am running Win11 Home on my local laptop with i7 processor 16 GB RAM. Possibly I have been on it or asked about it further up. But right now it's hard to read through all the posts to see. Therefore, I rather ask again and possibly once too much, but ..... So I will set up a testing server. I started with this, but then it never happened. Got lots of work and do, and in the end it was forgotten. So thus I did as before and tested directly on www-server where my domain is hosted. I am running WIN11 on my local laptop with an i7 processor with 16 GB RAM. Is it to recommend running it in the default directory or is it the same shit which directory I use. I would still like to download AMPPS or WAMP or XAMPP, but (maybe I remember wrong) something tells me that AMPPS and WAMP or XAMPP do not like other directories other than the default one suggested by the developer / web server itself. The reason I want to install it like a all in all package is to save time, I am not so good to do it manually anymore and it is complete with PHP and MySQL. I can do that, but I need some sharp heads used to do this manually. And from where to download the versions I want: Apache 2.4.6 PHP 7.4 MySQL 5.7.23 These are the same versions my web hotel is running. So I need some tips, tricks, and suggestions all from where I can download what I need and how to implement it manually. Is it understood what my need is, do you want to help me send me some tips, tricks, and suggestions? Please 😄
  20. Hello, and good evening DevonZeb. I was new here in February 2021. I know exactly what you are talking about. Self i have bean away from programming for over 10 years. woke up a spring morning 1,5 years ago. Couldnt do anything. It was like blown away. And it wasnt in my imagination it was so hard learning again. It is like i was writing in another thread here. It is like waking up from coma and cant do anything. Got to learn everything up again. And that is not easy at the age of 50.
  21. Good evening Sprig 🙂 I am like you and manny others here "of the old school". I was new here in February 2021.I have bean away from Programming and the life inside the IT univers for more than 10 years. So i know exactly what you are talking about. When i started programing again i thought i would be a easy match. I was so wrong. It was like waking up from coma and have to learn every thing up up up and up again. Good luck Sprig, and welcome 🙂 Leon (Norway)
  22. Nice and a smart move barand, wery! As the person you are, of all, YOU, you go out public to mark me and throwing all the blame on me? It's ok. I let you do that. But... I know you have frinds and like-minded in here on PHP Freaks. You have bean here since 2002 or something. You are well known among the other once her. PHP Freaks is a site i came over by chance, and it was a lucky shot that I did so. Here I also found "my" like-minded people. People who needed help. I did it because I've been away from the "subject programming" for over ten years (since 2010/11). Things I could do were totally gone. I had to learn everything again. There are also "several reasons" for this. Blue. a stroke in 2014. But I'm also 50 years old in January, so everything is not so good and functional anymore , by the case learning. These are things I've told barand about before he knows a lot of me and my future as a self developed and a businessman and one of the persons and owners behind the biggest webhosting and data center in Norway. That is a story back to 1998/99 (actual in 1995, but that is a longer story). So he knows about it, about me. There are also some other incidences as a traffic accident in 1988 with major head injuries that make memory and earning not my biggest "thing" in life. soooo ...... maxxd, then you have heard a little of the one side of the story. I never felt for explain or tell others about what happened between me and barand, or other things for that mather. And still barand is trying to put me in a place i dont belong. Remember there is always two sides of a story, two sides of whats true. Here is the rest of my version. (And i have never tried to hide that this script was something barand had done) Just go back and look up in this tread. I never feel to put a stamp on or blame other people. I let them do their things. As long.........as long as it is not unfair and not goes over head of me or any of mine. I am concerned about justice and that everyone including myself is treated with respect. Now i feel for saying. (never thought i would go SOOOO in to discuss OT on a internet forum). Me and barand was skyping and working on the "marian project" one nigh(i think it was in june)t, like we had done since around February. Me in Norway and him in GB. That day i had tried to do some adjustments and corrections on the site barand has made for me, and. In that matter i removed hes signature. I tried out a few things. Some were luckyly put back the way barand did it Part of the reason why barand should help me with this was that I could use it to learn / practice. That was not a agrement among us from the beginning. But along the way, it became more and more clear that this was what this project was about, and that I would be able to use it later for what it was intended for. A gift from me to my marina where I live. They have had problems for a long time with running the marina association for several years due to lack of time, and that the marina is run on a voluntary basis (unpaid). all with manny problems, like a surgery that went wery wrong, eating heavy medications and a loss of a friend (barand knows all of this) i now felt like stating to go realy in to study and learn barands code. So the whole day i was doing this and sudenly some time in the evening/night barand showed up. And i was actualy waiting for him because i was exited see him on Skype. Like i throw all in my hands away i contacted him/or he was contacting me. I had a lot of questions to ask him. So now i forgot all about what i had done and put them back the way they was. I had the signature/copyright text in the footer file from another site i was working on. Where i forgot to change the text and implement barands information. It still had my name and e-mail, and my intension was to put in barands name and e-mail. Hard to explain and be belived. You got to know me to to understand(me). So, over to the core of the marina.php file where all begun. I tried to learn the PHP and AJAX he set up in this file. He realy did a great job. I comment out hes signature and I commented out part of hes scripts and blocks, just to see what the diferent functions in the script(s)works/do, among other things. If I had the intention to remove it (take advantage of), then I had not just commented it away. I would totally remove it in the source code. There were many things up there that had been commented out, but that he had not seen. besides the one thing that was visually visible in the browser. Until this we had a good collaboration on both mic and writing on Skype. When he became aware of this, he totally turned on his heels and I have never seen a person turn so completely on mood, situation and not least receptivity to listen to what is an explanation. No, barry has since made his own version and locked me out. I tried then as now to explain what had happened. Both in writing by email, on Skype and on pm here at PHP Freaks. Lately I have been trying to sell the script since I do not want to finish it. I have received several stakeholders for it. There is one offer in particular from Denmark that seems to be serious enough. When I got an answer from Denmark a few days ago, I contacted barand the same day / evening and told him about it, and that I would divide the sum 50/50, but now I do not know if it works either. Since I contact Denmark, I wanted to clean up and make the code more readable. That's why I've now messed up the whole script and rendered it useless. Why would I make myself an enemy with someone I depended on to move on? I know that with this I am in danger of not receiving help anymore here on PHP Freaks or being banned. Of course I hope we can all be friends, but ... how far are you willing to go? I also feel unfairly treated. Again, sorry for what I did that seemed like taking your credit for the work I will forever be grateful for. For that is what you accuse me of, and who have not been willing to listen to me. Sorry.... (i had a backup of the scripts/site, but deleted it when i was about delete the web root files and put in the backup).
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.