Jump to content

dsonesuk

Members
  • Content count

    9,605
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by dsonesuk

  1. dsonesuk

    How can i get right image src code from ftp server

    If bots including GOD's all sophisticated crawling Googlebot are constantly making mistakes involving relative urls, surly this is causing a inefficient crawling of these websites, using bandwidth which in turn causes overhead in budget cost, and if your site is inefficiently causing these issues using relative links, this must impact on the number of times your site is crawled and the number of valid links it will actually crawl if it is always coming across mistakes caused by using relative links.
  2. dsonesuk

    multiplication and data base

    Can you actually get it to show any value within a page using oracle? that is the most important requirement before proceeding further.
  3. dsonesuk

    How can i get right image src code from ftp server

    IF! everyone used relative paths correctly, and the site properly configured, then mostly they would be fine, except when it comes to situations like: 1) Your site has the potential to have 4 duplicate sites http://example.com http://www.example.com https://example.com https://www.example.com result: your SEO is diluted, images, page linked to, can be potentially linked to all but the correct link. 2) possible duplicate relative link to unrelated page that uses the same filename, but in in different sub folder 3) Canonical links won't function properly with a relative link 4) RSS feed links won't function properly with a relative link 5) Search bots have to determine the correct path to follow with relative links, instead of the correct path being already fully provided, causing impact the depth and how often they crawl the website. 6) Less chance of someone quickly copying website and using on a different domain. (hmmm... what tutorial site have we seen that happen to? several times)
  4. dsonesuk

    Button counter save

    The count is stored in a single row with a id ref, and probably a count identifier if you have more than one counter on a database, local storage stores data specific to the user visiting a site, it will never able to register and update other users triggering a count event. Every time someone clicks the button or whatever, it goes to the database and increments the current value by 1, the current total result is then retrieved and shown on the website.
  5. dsonesuk

    How do you make W3CSS Columns the same height?

    290px is smallest device width (320) minus 30px for 15px padding left and right.
  6. dsonesuk

    How do you make W3CSS Columns the same height?

    Just noticed a mistake, the css is using a .flex class it should be like this, corrected css https://www.w3schools.com/code/tryit.asp?filename=FTEKPYO1FKQ3 however if you prefer the original you can use it but just remove .w3-row.custom-flex.flex > .w3-col {flex: 1 0 290px;} as it is obsolete there is no .flex class element so its reverting to default setting for parent class styling display: flex;
  7. dsonesuk

    How can i get right image src code from ftp server

    If you want a more SEO friendly site, its preferable to use absolute paths rather than relative.
  8. dsonesuk

    How can i get right image src code from ftp server

    Like I said just by entering ' mywebsitename.com' domain refers to a folder called 'mywebsitename.com/httpdocs/' in the background, you don't need to enter 'httpdocs/' at all!. Anyone entering mywebsitename.com will is directed to 'mywebsitename.com/httpdocs/' folder because that is where all your website folders and files are placed. So replace all references to 'mywebsitename.com/httpdocs' with 'mywebsitename.com'. Also you should not use a ftp reference at all, that is a File Transfer Protocol used for you guessed it! FILE TRANSFER! it should be Hyper Text Transfer Protocol as in 'http://mywebsitename.com/img/elc.jpg'
  9. dsonesuk

    How do you make W3CSS Columns the same height?

    Use display: flex with a custom class, as it seems w3css doesn't provide class to do the same https://www.w3schools.com/code/tryit.asp?filename=FTEFHOI27J7C
  10. dsonesuk

    multiplication and data base

    You are using width attribute not css styling, and it can only use numbers with % px etc with operators '-', '+', '/' and '*' https://developer.mozilla.org/en-US/docs/Web/CSS/calc
  11. dsonesuk

    How can i get right image src code from ftp server

    Your default root folder is 'mywebsitename.com/httpdocs/' this is where all your website files are placed, entering 'mywebsitename.com' domain address in browser window address bar should take you directly to the root folder index file which will be your home page. Folders added to this root folder such as 'img' are accessed by adding that folder name to you domain website name i.e mywebsitename.com/img will take to that img folder, then by adding the file name 'elc.jpg' should access that image file i.e 'mywebsitename.com/img/etc.jpg'.
  12. dsonesuk

    Html spacing of Tables

    Looking at it again! I think what you are referring to, is the space created by using height: 100vh; for the table height? this will cause its height to always be that of the browser windows viewport height, it won't adjust to the number of tables using this vh unit, all will be the same viewport height, if the viewport height of browser is 800px each of the tables height will be 800px; and if the table content is only 60% you will have 20% spacing of 800px (160px) top and bottom.
  13. dsonesuk

    html columns

    They have to to be placed in separate containing div elements of width 50%, this will separated the address into to columns. Then each line of address text must be placed into a paragraph block element, this will cause them to stack above each other in separate rows. https://www.w3schools.com/code/tryit.asp?filename=FT9D8OOB1078
  14. dsonesuk

    Html spacing of Tables

    I've already told you not to use br to create spacing, and yet! you still continue to do so, using br elements mean they will create a block of spacing of the current font-size, line-height used where they are placed, whereas using margins instead AGAIN! already mentioned, will give you a more precise manageable spacing. I'm not going to give an example because its extremely pretty basic knowledge which you can get from the tutorials to test and so if you can't be bothered to learn it yourself, why should I bother.
  15. dsonesuk

    Html spacing of Tables

    Ditto my last post, and this will help https://validator.w3.org/nu/#textarea
  16. dsonesuk

    Inserting a Higher Software Version

    You can use multiple version of jQuery as explained here https://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page That is why sometimes you will see '$' for $(...) or 'jQuery' jQuery(...) there are used to separate jquery plugins that may cause conflict.
  17. dsonesuk

    Html spacing of Tables

    Perhaps its due to total lack of valid CSS and html coding, and that you ARE using br elements instead of margins.
  18. dsonesuk

    Responsive image inside div

    To be responsive, you shouldn't us a fixed width using px, unless you use media queries to adjust width and html content structure as the device increases or decreases. You are using max-width: on wrapper div, which makes this element responsive up to a specific max-width. Most responsive sites use percentages widths for inner html structure within the fixed width container element, these also will use media queries to change from 3 to 2 to a 1 single column structure for mobile devices. Once this responsive page is working as it should, you can then think about adding all the other features like shopping cart images etc.
  19. dsonesuk

    Responsive image inside div

    Obviously the left fixed margin length of 1200px will push it out beyond the boundary of browser window when its width starts getting below: 1200px, so you will have to try alternative to using this massive left margin. Again! image is useless in determining to html structure and styling used, its basically gone from a image to a video being supplied to a mechanic to fix a problem. Supply code html/css or a link to this page is a much better option than a image.
  20. dsonesuk

    Responsive image inside div

    If you have a problem with your car, would you show the mechanics only a picture of the car or bring them the car so they can inspect it and identify the problem.
  21. dsonesuk

    What is needed to make this form work?

    When i made the changes with ALL lowercase including 'submit', it passed and tried to go to thank you page but got a 404 error, so that needs to be corrected too.
  22. dsonesuk

    What is needed to make this form work?

    Its looking for post index names of 'name', 'email', 'message' and 'submit' in comparison to what you have used 'Name', 'Email', 'Message' and no attribute name or value for 'submit', which because in php are case sensitive and therefore treated as completely different, and in one case does not exist at all to pass validation in the php page it is sent to.
  23. dsonesuk

    recursion example in python for loops

    Add current value plus total remaining values remaining below current. 6 + (5+4+3+2+1+0) = 21
  24. dsonesuk

    mysql and python

    https://www.w3schools.com/python/python_mysql_create_db.asp
  25. dsonesuk

    jquery issue

    The jQuery error is usually produced because your jquery code has an error of some kind, as pointed out by the two following errors, The last error usually means your code expects '$' as a reference to jquery, but you are using 'jQuery' which is used to prevent conflict with other jquery versions or plugin coding by using 'jQuery.noConflict()'
×