Jump to content

Rickname

Members
  • Content count

    14
  • Joined

  • Last visited

Everything posted by Rickname

  1. Rickname

    Menu Help

    Have you tried using media queries? https://www.w3schools.com/cssref/css3_pr_mediaquery.asp As example @media only screen and (max-width:600px){ /*CODE*/ }
  2. Rickname

    About font awesome

    fa sucked anyway, with the incompatibility in Tor browser.
  3. Solved this issue, and the solution was too simple to be considerable. <main id="index"> <a href="bilete.html"><img alt="bakgrunnsbilete" src="./Grafikk/Bilete/kids-2985782.jpg"></a> </main> main#index a img{ width:100%; } Anyway, thanks a lot to you @dsonesuk for bearing with me through this thread!
  4. The context here is adding images. I need to be able to set the background property background-size:contain; .
  5. Solved this issue, and the solution was too simple to be considerable. <main id="index"> <a href="bilete.html"><img alt="bakgrunnsbilete" src="./Grafikk/Bilete/kids-2985782.jpg"></a> </main> main#index a img{ width:100%; } Anyway, thanks a lot to you @dsonesuk for bearing with me through this thread!
  6. So it should work giving <main> a background property in CSS? What's then wrong with the code I posted above? Even adding min-height:50%; doesn't makes the background image appear.
  7. It is possible to set an undefined height so the height can be set by abstract background-size values, or otherwise maintain this possibility? And which content could be added for giving the same effect?
  8. I have been trying with container elements, but do not know what I am doing wrong. <main> <div id="index"></div> </main> div#index{ background-image:url("./Grafikk/Bilete/kids-2985782.jpg"); background-attachment:fixed; background-size:contain; }
  9. Rickname

    Please remove forum search limitations...

    Hmm... Get's this error when trying to search:
  10. It's getting frustrating having to wait on the timer before being allowed to proceed the search on the forum for answers for my coding problems. I understand it's a measure against bots/server flooding, but isn't it better options around that doesn't put so strict limitations on us users?
  11. Rickname

    Browser Discussion

    Wonder if the love for Opera is as big now as it was before they became simplicity-focused with Chromium. Myself did I cried many night until I found Vivaldi.
  12. Rickname

    Please remove forum search limitations...

    *cough* phpBB. No heavy arguments, just a personal preference.
  13. Rickname

    .class and #id, what's the difference?

    Thanks @dsonesuk!
  14. Rickname

    .class and #id, what's the difference?

    I'm quite new to coding, and have big trouble understanding the logic in even the supposedly easiest languages to learn. However, what is the functional differences between .class and #id? Is there situations where only either of them can be used? I can't see any difference by reading the W3 pages about them (respectively https://www.w3schools.com/cssref/sel_class.asp and https://www.w3schools.com/cssref/sel_id.asp).
  15. Rickname

    .class and #id, what's the difference?

    So classes are more flexible ref than id. But what is special about id? I can't imaging why it exists if it only can do what classes can do, and that with narrower field of usage.
×