Jump to content

LeonLatex

Members
  • Posts

    305
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by LeonLatex

  1. I was just asking for help to find the right place to find the solution to my problem. What is wrong with that? And if we who are the visitors here on PHP Freaks can't ask for help, I don't understand what this site is for if we can't ask questions which is in connection with the many categories here at PHP Freaks.
  2. Thanks cyberRobot. Just what I was looking for.
  3. Website starts looks ok in 720px-740px and up. That's ok if it wasn't for the last button/link in my menu bar. I know I have seen the solution to this in w3 schools about "w3 schools CSS" responsive design so this option comes on the next line, but now I can't find it. Please help me someone. or, actually, I would like to have the menu show up like a button like this one: (Show Button) on mobile devices. But now I can't find that either. So, please, any? And search on w3schools.com is no point since all the results come's up is to other sites which have no meaning to what I am looking for.
  4. I can't figure it out, and I can't find the answer. I thought it was an easy thing, like a walk in the park or cycling to the pub. I want to decide for myself how wide the <label> should be. What am I doing wrong? <label style="width: 200px;">Fornavn</label>
  5. I don't 🤠🤔🤪 Thanks 🙂
  6. A person I met at a cafe told me he was hired into a project about some sensors for the pacific sea they are developing. About that he said he was developing the software for those sensors in python because python was faster than C# C+ What do you say? Hard to believe this, that's why I am asking.
  7. It's the w3-card that won't center. There is no content in it except a w3-panel. Without the w3-panel inside it doesn't center either.
  8. I have tried different things to center the card below. But it doesn't. What am I doing wrong? The other styles are working, but it won't center, no matter what. Maybe there is a simple solution for this, but as said, it doesn't work. I have tried inline CSS too. Is it a simple solution for this? <div class=" w3-card w3-center w3-padding w3-twothird w3-round">
  9. In first place I posted this wrong, but when I saw I had posted it in the wrong place it was too late to delete it. That's why it is to find in two places. Got to fill in: After I followed Barands advice it was getting better. He told me to use W3Schools W3 CSS. Things were getting better. I must rewrite the main box completely and stop using my own CSS as little as possible. The only problem now is the article box inside the main box who keeps the article preview text and picture. The box scales to narrow and the photo doesn't scale at all. The photo keeps in the correct place but it doesn't scale down to fit the rest that is scaling down. And the main bow doesent expand on to large picture. Just on text when the text is to long. Hope I manage it till tomorrow after i have slept a little. 06:27 here now. Good morning and good night 😴
  10. Got to fill in: After I followed Barands advice it was getting better. He told me to use W3Schools W3 CSS. Things was getting better. I must rewrite the main box completely and stop using my own CSS as little as posible. The only problem now is the article box inside the main box who keeps the article preview text and picture. The box scales to narrow and the photo doesn't scale at all. The photo keeps in the correct place but it doesn't scale down to fit the rest that is scaling down. Hope I manage it till tomorrow after i have slept a little. 06:27 here now. Good morning and good night 😴
  11. I think you hit a nerve there gizmola and you too maxxd. I feel it as soon as you say it that I'm stuck in terms of considering max and min scaling, viewport and having a fluid design (as maxxd calls it) that has no limitations in terms of scaling up or down. It's what you're talking about that I'm interested in, but which I can't express or describe. It has nothing to do with poor English or language limitations. This only has to do with too little knowledge. I live too much in the past and fail to see that it has evolved. This is like banging your head against the wall. I read, ask for advice, get answers and understand it then and there. I constantly see what I'm doing wrong, and what I should have done differently. Not mine; I see and understand how it should be, recognize and understand what will be done if I do/write like this. When I sit down again, I'm just as clueless. I have too much tunnel vision in many areas. I have to get out of that tunnel. It only leads in one track. I thank you for the answers you give and will read through what is linked to. You keep trying to push me in the right direction. I absorb all the knowledge you give me, but.... 🤔😠I get irritated and frustrated with myself. Thank you for the knowledge you spread and give me. (Barand, Gizmola, Maxxd, Kicken, Requinix, Benamen, Ginerjm and everybody else).
  12. I get an error on this locally but not on WWW. Whats wrong? <?php const PAGETITLE_database_heading='<h1 class="heading">XXXXXXXXXX?</h1>';?> <?php const PAGETITLE_database_text='<h1 class="black_left"><br>XXXXXXXXXX?';?>
  13. Great Gizmola. Just what I needed. But, what is the min with on the websites among other users here on PHP Freaks? I have understood, read and heard from others that it's between 700px and 750px. More precise around 720. What do you guys think about that?
  14. I am in the process of setting up a website that will have a similar design on most other pages. So the pages are built on templates. CSS script will be external. It is important that DIV/CSS is in accordance with standards so they will be scalable. I will try to explain how the basic design page should be built up from the fundamental DIV. Main DIV: Is the foundation that should contain the DIV for the header + the four other DIVs in the width that are filled in automatically if needed from the DB. It will have a border and shadow and a padding of 15px. In the example here, I only explain the structure of the first box, as the others will be the same. The height of this must be increased if necessary when the content boxes become, for example, 3 or 4 rows. main DIV must follow scrolling up and down and all DIVs and elements positioned inside it must follow. The second div is: DIV for heading. It should be at the top of the main DIV with a size of approx. 30 px. height and full width inside main. The heading should be centered. Nothing extra here other than that this should be locked in the top position inside the main DIV The first DIV inside the main DIV should be a container for the ones below and should only contain height and width that are adapted to the boxes described below. Content box: There should be 4 of these in width as said. Each of these will consist of 2 DIV. One above and one below. Is it recommended to put these 2 inside a DIV container/wrap? The top one should contain an image without padding, and the one below should contain a text belonging to the article linked to in this box (the one below). The boxes must have a fixed height and width of 275pxX183px The box below the image, the one containing the text, must only contain the text of the article up to a certain number of characters and letters, and then with a link to the entire article at the end. This should have a padding for the borders of the box and 2px. so that the text is narrower than the image. Same with the box above. It must have an image with a fixed size of 275X180px - 185px. This should have padding 0px. Since I'm going to use the framework for W3Schools, I'm a bit stuck. There are different boxes, and since I want it to be scalable and to be displayed on all devices such as computers, tablets and phones, I want this to be correct. There are boxes, for example. some boxes called CARDS, PANELS and BARS + many more for sure and god knows what. WHO IS RIGHT FOR ME and where in my setup as explained above. I think I got everything. Hope this was explained well enough graphically.
  15. Where is the error? CREATE TABLE '122387_leon'.'article'( 'id' INT NOT NULL AUTO_INCREMENT, 'articletext' TEXT NULL, 'articledate' DATE NULL, PRIMARY KEY ('id')); 122387_leon is the DB name. Since i am logged into the DB via MySQL Workbench & Navicat i have tried with and without 122387_leon. But still I get an 1064 error. What is wrong?
  16. As I thought. Like the rest of the world, web colors have moved on. I can see there is some new stuff in my backyard. Got to read me up on #rrggbb, #rgba and #rrggbbaa - and all the new that has come.
  17. I dont know if this belongs here on CSS, on HTML or miscellaneous, but I posted it here on CSS. I remember back in time we had the standard called web safe colors. Reason why I ask is because I am not sure if this is something that is applicable today, but how importenat is it with websafe colors today?
  18. The script was developed by Barand, and this was probably not the way he set it up in the first place when he developed it for me. I managed quite amazingly to sort of wipe it out when I had to familiarize myself with how it worked in relation to where everything was. Long story short. I was a little too smart-ass when I started on this and didn't back up the original files. Therefore, over time I have spent a lot of time getting it back to where I have come with it now. I have restored it from fragments and differently read solutions online and in books. Therefore, such moments of irritation as you experience can occur. I am sorry for that and apologize for it. What's important for me now is to get it 100% back up and running. Next is to clean it up so you don't have to worry about cosmetic errors anymore.
  19. Now some peace's fell into place
  20. Time for bed 🤪😴 better now: $_POST['member']['policy_number']; I forgot i had the policy_number in the member table. I Will check it out now.
  21. I got a text box called policy_number. If this is left empty on submission the data won't be sent is the idea. But this doesn't work. What is wrong here? <label>Polisenummer:</label> <input type="text" class="w3-input w3-border" name="boat[policy_number]"> This is the PHP script for check: <?php $policy_number= $_POST['policy_number']; $submitbutton= $_POST['submit']; if ($submitbutton){ if (empty($policy_number)) { echo 'Du må fylle inn et polisenummer.'; } else { echo 'Du har fylt ut polisenummer: ' . $fpolicy_number; } } ?>
  22. Thanks for a good explanatory answer, Phill. Such good answers are very nice to get. They are confirming and complementary at the same time for what you already know, but because insecurity is afraid of believing in yourself or afraid to ask so that you don't screw yourself up completely. That's why I'm happy for such answers. I may not be the one who is most afraid of asking stupid questions, but even I have a built-in barrier. I must become better at trusting myself. I haven't put the list too high for that. I know. But thank you.
×
×
  • 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.