Hot or cold?
FIRST
Hi Skillcrush (and anyone further along in the course!); I'm hoping someone with an experienced eye can offer me some assistance with the z-index. It's the first item I've come across in Skillcrush101 HTML & CSS that has me stumped!
I've reviewed the materials and CSS cheatsheet and I'm still confused.
Here is my code - is this correct?? I don't think I've 'got' the z-index/modal yet..?! :) I put the modal div id near the top of my HTML as it kept sitting at the bottom of the page. The CSS text is also copied below.
Many thanks, hopefully this can help someone else out who may be struggling!
Best wishes
Michelle
HTML code:
littleredtootle | Skillcrush
I've reviewed the materials and CSS cheatsheet and I'm still confused.
Here is my code - is this correct?? I don't think I've 'got' the z-index/modal yet..?! :) I put the modal div id near the top of my HTML as it kept sitting at the bottom of the page. The CSS text is also copied below.
Many thanks, hopefully this can help someone else out who may be struggling!
Best wishes
Michelle
HTML code:
This is my modal pop-up.
How to Help Your Loved Pet with Cancer
From someone with personal experience.
Disclaimer: This site is informational only. Please consult with your loved one's veterinarian and I strongly recommend second opinions before making treatment decisions. Please get the best vet you can find!
Most important factors in your pet's health
- Best quality diet that you can afford, species-specific;
- Purest quality water that you can (preferably rainwater or distilled; mineral water not so good);
- Healthy surroundings - reduced exposure to breathable chemicals such as fragrance sprays and harsh cleaning chemicals. Please also be aware that many essential oils are not good for pets - follow recommendations of experts in this area and please do not blindly experiment!
- Exercise is very important for prevention, and some pets get bored of their toys quickly. If you work away from home and your pet is indoors all day, consider interactive toys like electronic 'mouse under the carpet' toys or similar - lots of toys like this are becoming available.
- Natural expression - please consider very very very carefully procedures such as de-clawing; yes they stop your pet from scratching your furniture but it interferes with their natural biological processes and can have impacts on their joint health and balance; apparently arthritis can be a side-effect over time. Cats can be trained to have a favourite 'scratch-pole' or 'scratch-pad' that they will love over your couch!
Some good authors include:
- Juliette de Bairacli Levy
- Other (to be added)
- Other (to be added)
Please visit the website of Dr Becker, holistic veterinarian, for further information and expert advice.
Dr Karen Becker, Healthy Pets
CSS code:
#modal-popup {
width: 600px;
top: 10px;
center: 50%;
z-index: 200;
}
p { color: green;
font-family : arial, sans-serif;
font-size: 22px;
font-weight: bold;
text-align: center;
font-style: italic;
height: 1px;
padding: 20px;
float: left;
}
h1 { color: #5a2772;
font-family: georgia, serif;
text-align: center;
font-size: 42px;
border: 4px solid mediumorchid;
padding: 10px;
margin: 10px;
float: left;
}
h2 { color: blue;
font-family : arial, sans-serif;
text-align: center;
width: 1000px;
font-size : 22px;
text-decoration: underline;
padding: 20px;
float: left;
}
h3 {color: darkblue;
font-family: arial, sans-serif;
text-align: left;
}
ol{
color: default;
font-family: times new roman, serif;
text-indent: 50px;
text-align: justify;
background: url('http://www.1000pictures.com/scenic/sky/noy-2011-07-24-195...');
}
.list {
width: 1000px;
height: 900px;
text-align: left;
padding: 30px;
float: left;
}
#listitem04 {
color: #5a2772;
text-decoration: underline;
font-weight: bold;
font-style: italic;
float: left;
}
#disclaimer {
border: 4px solid black;
padding: 4px;
text-align: center;
float: left;
}
#heading2 { color:#5a2772;
font-family: georgia, serif;
text-align: center;
width: 1000px;
font-size: 32px;
padding: 10px;
margin: 10px;
float: left;
}
div.modal {
z-index: 10px;
} #SecondBestCollection
❤️
👍
💡
👏
😂


Comments
Start the Conversation
asdfasdf
& % * #*$)@())$@#'";.;/;,..[]{}L<>: