Jump to content


Popular Content

Showing content with the highest reputation since 06/18/2019 in Posts

  1. 1 point
    What is wrong? You expected center center not to work in media query? You'd be wrong, it would carry on from position styling from default non media query styling, as does background size, attachment and repeat. If you want to reset to default value use background-position: initial; in media query.
  2. 1 point
    Potato and knife? Banana and fork? Apple and spoon? Or maybe chalk and cheese. 😁
  3. 1 point
    Seems 'html, body' is correct but for desktop only, 'window' is used for mobile devices. See here: http://blog.jonathanargentiero.com/jquery-scrolltop-not-working-on-mobile-devices-iphone-ipad-android-phones/
  4. 1 point
    I'm not sure what else it would be, there might be another animation playing still. It seems like there are competing animations. The fact that it doesn't do it if you wait (presumably until after any animations finish) suggests that's the issue.
  5. 1 point
    You specifically set them to 48% of the window, so they always fit on one row. If you want them to wrap, you have to give them a width which will eventually not fit in the window and then they will move into columns. Alternatively, you can remove the width property and just use a media query to change the flex-direction to column on mobile devices.
  6. 1 point
    The property is "flex-wrap" with a dash between the words.
  7. 1 point
    The variable "stdcd" is not defined, you need to assign an input element to it before you can use it. You can access an element using one of many DOM methods such as getElementById() or querySelector()
  8. 1 point
    You will have to start learning a server-side programming language such as PHP. It is not easy, be patient and take your time to learn it properly before applying it to projects.
  9. 1 point
    Hello all! Im Timeka a 38 y.o. self taught coder from Washington, DC USA. In the 4 years of teaching myself Ive created sites for me and a few clients. Right now putting together a PHP member based site for someone
  10. 1 point
    In Javascript, all strings are internally treated as UTF-16 strings: http://ecma-international.org/ecma-262/5.1/#sec-8.4 http://speakingjs.com/es5/ch24.html
  11. 1 point
    Set those links used for image links to that of img styling with width 80%, the img tag to width: 100%. CSS: img { display: block; margin-left: auto; margin-right: auto; width: 80%; } a.img_wrap { display: block; margin-left: auto; margin-right: auto; width: 80%; } a.img_wrap img{ width: 100%; height: auto; } HTML: <img src="whatever.png" alt=""> <a href="whatever.whatever1" class="img_wrap"> <img src="whatever1.png" alt=""> </a> <a href="whatever.whatever2" class="img_wrap"> <img src="whatever2.png" alt=""> </a> <a href="whatever.whatever3" class="img_wrap"> <img src="whatever3.png" alt=""> </a>
  12. 1 point
    You haven't specified a generic fallback font (usually serif or sans-serif) and you forgot a semi-colon after the font-family rule.
  13. 1 point
    I imagine that you have a <body> and <html> tags elsewhere. Have you tried using the browser dev tools, if you select that div you can see what stylings are being applied to it. Your CSS is a little interesting, your sans-serif font declaration seems to be after your font-weight? with no semi-colon in between it may be erroring out.
  • Create New...