Jump to content

Ingolme

Moderator
  • Content count

    13,051
  • Joined

  • Last visited

  • Days Won

    324

Everything posted by Ingolme

  1. Need to reference stylesheet off of own server

    When it shows you all the code (it's minified CSS). right-click and choose "Save As..." and save the file with a .css extension.
  2. How to build multimedia website with html

    You need to read through the tutorials. Here's the tutorial page for CSS shadows: https://www.w3schools.com/css/css3_shadows.asp
  3. quotes in POST but not in variable

    You have to distinguish between a representation of the string in your code and the actual value of the string. The variable is being sent in from outside, so there's no literal string that needs to be parsed by the PHP engine.
  4. Help needed Compiled source unreadable?

    I'm afraid this system is much too complex to solve in a forum post. It looks like you would have to hire somebody to reverse engineer this software.
  5. How to build multimedia website with html

    There's no feature in CSS to add outline to text, but it can be imitated using multiple text shadows, each in one of four directions.
  6. How to build multimedia website with html

    Things like changing position, rotating and changing colors can be animated with CSS. https://www.w3schools.com/css/css3_transitions.asp https://www.w3schools.com/css/css3_animations.asp For more complex animations you would need more difficult techniques.
  7. Help needed Compiled source unreadable?

    Which software is intended to run this code? This certainly is not capable of running in browsers.
  8. How to build multimedia website with html

    Which part of that site is multimedia? It's a storefront, if you want to have a store on your website you can search for ecommerce software for your server.
  9. Jagged Rounded Corners

    I can't see anything obvious from your image. Seeing a live example of each of the two buttons would help me figure it out.
  10. How to build multimedia website with html

    I would start with clearly defining what "multimedia website" means.
  11. How can I make a randomly teleporting button in html

    You'll have to learn Javascript. https://www.w3schools.com/js/default.asp There aren't tutorials out there for every possible thing you would want to do, but you can learn how to break down your problem into its components and build a program that does it. After you've learned Javascript, the first step is to define what it means to teleport: How frequently does it teleport and where can it teleport to?
  12. 404 means that the URL of the file is wrong.
  13. CSS accordion

    Remove the <br> element from between the radio button and the label.
  14. CSS accordion

    You can't have both effects with pure CSS. These work like radio buttons and checkboxes. A checkbox can be checked and unchecked, but does not affect other checkboxes. A radio button can only be selected and only gets deselected when a different radio button in the same group is selected.
  15. NewsLetter SignUp Subscription

    You have to build it or hire somebody to build it for you. A PHP script will work if your server supports PHP, but there are tons of other server-side languages with which to build your website.
  16. NewsLetter SignUp Subscription

    You're going to need software on your server to do anything. HTML does not do anything on its own.
  17. Semantic Layout vs Visual Design

    I always write semantic HTML first and think about styling later. I can't give a definitive solution that applies to every problem, I solve things on a case-by-case basis and that's where experience comes in. The longer you have spent solving problems, the easier it is to come up with solutions to new ones. I only mentioned Javascript because your example looked like it was already employing Javascript to begin with. if you have the radio buttons there for a different reason than a Javascript-based feature then the solution may be different.
  18. Semantic Layout vs Visual Design

    I haven't yet encountered a situation where it's impossible to apply CSS to make it look right without altering the semantic order of the elements. In your first example, shifting content to the left or right is not extremely difficult. In your second example with radio buttons, this sounds like a Javascript thing. You just need one image element and one title which are modified by Javascript and they don't need to be embedded with the radio buttons because the radio button label should describe what is changed. In summary, I don't see a reason not to stick with semantic layout.
  19. Read Multiple Rows Sequentially

    What you're asking for is called pagination and it's usually done by adding a page or offset number to the query string and putting that value into the LIMIT clause of the SQL query. You can use AJAX to do it, but I'd recommend first using just PHP and then adding the Javascript layer on top of that for convenience.
  20. 50px not 50px in canvas?

    The size of pixels on the canvas is different than the size of pixels in the browser. By default, they're the same, but if you resize the canvas with CSS they change. If you have <canvas width="100" height="100"> and you use CSS to set its width to 200px, then each pixel on the canvas will occupy two pixels on the page. The width and height attribute of the canvas indicate the size of the surface being drawn on.
  21. White gap between images

    Images are inline elements, so they are aligned with the baseline of the text. There is space below the text baseline to accommodate hanging letters such as g or y. To solve this, you can use the vertical-align CSS property on the images to align them with the middle of the text instead of the baseline. This would go in your CSS stylesheet img { vertical-align: middle; }
  22. @media queries not working

    The syntax is wrong in your second media query code. The @media keyword should appear only once at the beginning. @media screen and (max-width: 640px) {
  23. Interlacing PHP and HTML without echo Statements

    The problem with using echo statements is that code editors will not highlight the HTML syntax. If you're building a template file, you usually have large amounts of HTML with small amounts of PHP. I personally do not like the BASIC style syntax even for templates. When you use curly braces, most code editors will show you where the current brace ends and allow you to show or hide the block of code. With proper formatting and indentation the code becomes easier to read. <?php if(isset($_GET['edit'])) { ?> <button type="submit" name="update">update</button> <?php } else { ?> <button type="submit" name="save">save</button> <?php } ?>
  24. {Text-decoration: blink} does it exist?

    I remember when blink was phased out, Mozilla made a big announcement out of it. It used to work in all browsers, but was deprecated and later removed.
  25. Well..this cant be right

    Insert the customer first, then the order after. You should only need to insert once into each table.
×