Rickname
-
Posts
14 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by Rickname
-
-
fa sucked anyway, with the incompatibility in Tor browser.
-
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!
-
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!
-
On 2018-1-29 at 10:16 AM, dsonesuk said:
The only exceptions are html, body elements where the background image will fill height of browser viewport or browser window regardless the height of html and body elements.
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.
-
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?
-
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; }
-
The context here is adding images. I need to be able to set the background property
background-size:contain;
.
-
Hmm... Get's this error when trying to search:
QuoteERROR
The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
Generated by cloudfront (CloudFront) Request ID: vNsc6oJlMzWNEgFNcW68-rWg-Ewlj37-9_7YUIhGcUPvmt62n3hmRQ==
-
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.
- 1
-
*cough* phpBB.
No heavy arguments, just a personal preference.
-
Thanks @dsonesuk!
-
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?
-
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.
-
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).
Menu Help
in CSS
Posted
Have you tried using media queries? https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
As example