Wednesday, 3 August 2016
IMAGE SRC IN CSS WITHOUT SOFTWARE
------------------------------------------------------------------------------------------------------------
WHEN HTML PAGE IN HtmlFolder3 AND IMAGE IN ImageFolder3
CODE:
-------------------------------------------------------------------------------------------------------------
<html>
<head>
<style type='text/css'>
.IMAGE{
background:
url(../../../ImageFolder1/ImageFolder2/ImageFolder3/Image.gif) no-repeat;
width:42px;
height:42px;
}
</style>
</head>
<body>
<div class='IMAGE'>
</div>
</body>
</html>
------------------------------------------------------------------------
CSS CODE USE IN HTML
-------------------------------------------------------------------------
<!-- CSS
CODE IN HTML -->
<img src="https://www.w3schools.com/tags/smiley.gif"
style="
border-color:Red;border-style:solid;
border-width:6px;width:400px;height:400px
">
OR USE EXTERNAL CSS FILE IN CSS FOLDER
WHEN HTML PAGE IN HtmlFolder3 AND IMAGE IN ImageFolder3
HOW WRITE CSS FILE LINK HTML PAGE
1) FIRST WRITE CSS PAGE URL PART CSS/IMAGE.css
2) SECOND WRITE HTML PAGE URL PART HtmlFolder1/HtmlFolder2/HtmlFolder3/
WITH CHANGE FORM ../../../ BECAUSE
HtmlFolder1/ = ../
HtmlFolder2/ = ../
HtmlFolder3/ = ../
HOW WRITE IMAGE URL PART IN IMAGE.css FILE
1) FIRST WRITE IMAGE.gif URL PART ImageFolder1/ImageFolder2/ImageFolder3/Image.gif
2) SECOND WRITE IMAGE.css URL PART IN IMAGE.css FILE
CSS/ WHICH IS EQUAL TO ../
------------------------------------------------------------------------------------------------------------------
IMAGE SRC IN CSS - YouTube
https://www.youtube.com/watch?v=xuRIh-2Bk2s
1 hour ago - Uploaded by SAVE MONEY
THEN ADD CSS OR IMAGE URL REMAINING PART AFTER MAIN FOL... ... .
HTML PAGE CODE:
HOW WRITE CSS FILE LINK IN HTML PAGE
BECAUSE HTML PAGE THREE DOWN FLODER SO USE IN URL ../../../
AND IMAGE.css ONE FOLDER DOWN IN CSS FOLDER
:39 · How to Convert a ...
--------------------------------------------------------------------------------------------------------------HOW WRITE CSS FILE LINK IN HTML PAGE
BECAUSE HTML PAGE THREE DOWN FLODER SO USE IN URL ../../../
AND IMAGE.css ONE FOLDER DOWN IN CSS FOLDER
Search Results
CONVERT FILE PATH TO URL LINK - YouTube
https://www.youtube.com/watch?v=Sqztci8kzfk
8 mins ago - Uploaded by SAVE MONEY
IMPORT SQL FILE IN PHP MY ADMIN - Duration: 7:39. SAVE MONEY 3 views · 7HTML IMAGE CSS
https://www.boots.com/smashbox-and-vlada-cover-shot-petal-metal-eye-palette-10252664
---------------------------------------------------------------------------------------------------------------
<div data-namespace="s7classic" class="s7thumb" state="selected"
style="width: 70px; height: 70px; background-image:
url("https://boots.scene7.com/is/image/Boots/10252664?fit=constrain,1&wid=70&hei=70&fmt=jpg");">
<div data-namespace="s7classic" class="s7thumboverlay" type="image"></div>
</div>
-------------------------------------------------------------------------------------------------------------------
<html>
<head>
<html>
<head>
<link type='text/css' rel='stylesheet' href='../../../CSS/IMAGE.css' />
</head>
<body>
<div class='IMAGE'>
</div>
</body>
</html>
-------------------------------------------------------------------------------------------------------------
CSS FILE CODE:
HOW WRITE IMAGE FILE LINK IN IMAGE.css PAGE
BECAUSE CSS FILE ONE FOLDER DOWN SO USE IN URL ../
FIRST WRITE IMAGE PAGE URL PART
ImageFolder1/ImageFolder2/ImageFolder3/Image.gif
THEN ADD CSS PAGE URL PART CSS/ = ../
-------------------------------------------------------------------------------------------------------------HOW WRITE IMAGE FILE LINK IN IMAGE.css PAGE
BECAUSE CSS FILE ONE FOLDER DOWN SO USE IN URL ../
FIRST WRITE IMAGE PAGE URL PART
ImageFolder1/ImageFolder2/ImageFolder3/Image.gif
THEN ADD CSS PAGE URL PART CSS/ = ../
.IMAGE{
background: url(../ImageFolder1/ImageFolder2/ImageFolder3/Image.gif) no-repeat;
width:42px;
height:42px;
}
-------------------------------------------------------------------------------------------------------------
<html>
<head>
<style type='text/css'>
.IMAGE{
border-radius: 8px;
background: #F7F6F6 url(http://www.w3schools.com/css/paris.jpg) repeat-x 0 0;
width:400px;
height:300px;
}
.IMAGE:hover{
border-radius: 8px;
background: #F7F6F6 url(http://www.w3schools.com/css/trolltunga.jpg) repeat-x 0 0;
width:400px;
height:300px;
}
</style>
</head>
<body>
<div class='IMAGE'>
</div>
</body>
</html>
---------------------------------------------------------------------------
BLANK OR DUMMY IMAGE GENERATOR
BROKEN IMAGE WITH WRONG DOMAIN LINK
GOT THIS CODE DUMMY IMAGE GENERATOR
http://dummy-image-generator.com/
http://img.dummy-image-generator.com/animals/dummy-16x16-Lama.jpg
BLANK OR DUMMY IMAGE GENERATORhttp://dummy-image-generator.com/
http://img.dummy-image-generator.com/animals/dummy-16x16-Lama.jpg
https://dummyimage.com/
https://dummyimage.com/300/09f/fff.png
https://dummyimage.com/100x100/ff0303/35f513.png&text=IMAGE
BROKEN IMAGE
http://www.pageresource.com/trouble/timage.htm
Broken Images
Troubleshooting image problems
Let's start out by checking out what a broken image may look like. In older versions of Netscape, you get the little grey paper with the bottom corner torn and some colorful shapes on it. In IE, you get a little white box with a red "x" inside of it. Below is what they might look like:
Broken Pic in Netscape | Broken Pic in Internet Explorer |
Now, to get rid of these little "broken image" symbols, we need to figure out what is causing the problem. Well, let's start with a Web page that you have live on the Web. We will work with pages that are offline a little later.
---------------------------------------------------------------------------
<html debug="true">
<head>
<meta name="viewport" content="width=device-width, minimum-scale=0.1"/>
<title>35f513.png&text=IMAGE (100ױ00)</title>
</head>
<body style="margin: 0px; background: rgb(14, 14,
14);">
<img style="user-select: none; background-position: 0px
0px, 10px 10px; background-size: 20px 20px; background-color: white;
background-image: linear-gradient(45deg, rgb(238, 238, 238) 25%, transparent
25%, transparent 75%, rgb(238, 238, 238) 75%, rgb(238, 238, 238) 100%),
linear-gradient(45deg, rgb(238, 238, 238) 25%, transparent 25%, transparent
75%, rgb(238, 238, 238) 75%, rgb(238, 238, 238) 100%);" src="https://dummyimage.com/100x100/ff0303/35f513.png&text=IMAGE"/>
</body>
<script src="chrome-extension://bmagokdooijbeehmkpknfglimnifench/googleChrome.js"/>
</html>
---------------------------------------------------------------------------
BROKEN IMAGE IN GOOGLE CHROME BY WRONG IMAGE LINK
----------------------------------------------------------------------------------------------------------------
<html debug="true">
<head>
<meta name="viewport" content="width=device-width, minimum-scale=0.1"/>
<title>35f513.png&text=IMAGE (100ױ00)</title>
</head>
<body style="margin: 0px; background: rgb(14, 14,
14);">
<img style="user-select: none; background-position: 0px
0px, 10px 10px; background-size: 20px 20px; background-color: white;
background-image: linear-gradient(45deg, rgb(238, 238, 238) 25%, transparent
25%, transparent 75%, rgb(238, 238, 238) 75%, rgb(238, 238, 238) 100%),
linear-gradient(45deg, rgb(238, 238, 238) 25%, transparent 25%, transparent
75%, rgb(238, 238, 238) 75%, rgb(238, 238, 238) 100%);" src="http://fbgadgets.blogspot.co.uk/100x100/ff0303/35f513.png&text=IMAGE"/>
</body>
</html>
----------------------------------------------------------------------------------------------------------------
BLANK BLOGGER TEMPLATE WITH REDIRECT
BLANK BLOGGER TEMPLATE WITH REDIRECT
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
<html>
<head>
<b:skin></b:skin>
</head>
<body>
<b:section id='Primzon'/>
</body>
</html>
radio button click option selected change
----------------------------------------------------------------------------------------------------------------
<html>
<title>How can I update select options based on selected radio button?</title>
<!-- https://stackoverflow.com/questions/59863986/how-can-i-update-select-options-based-on-selected-radio-button -->
<head>
<style>
.hide {
display: none;
}
.show {
display: block;
}
</style>
</head>
<body>
<h2>Choose Your Date</h2>
<input type="radio" value="sat_feb8" name="date1" id="day1" onclick="onLoad();">
<label for="size1">Saturday, February 8</label>
<br>
<input type="radio" value="sun_feb9" name="date1" id="day2" onclick="onLoad2()">
<label for="size2">Sunday, February 9</label>
<br>
<input type="radio" value="sat_feb15" name="date1" id="day1" onclick="onLoad()">
<label for="size3">Saturday, February 15</label>
<br>
<input type="radio" value="sun_feb15" name="date1" id="day1" onclick="onLoad2()">
<label for="size4">Sunday, February 16</label>
<br>
<h2>Choose Time</h2>
<div id="group1" class="hide">
<select>
<option>2 PM</option>
<option>5 PM</option>
<option>8 PM</option>
</select>
</div>
<div id="group2" class="hide">
<select>
<option>1 PM</option>
<option>4 PM</option>
</select>
</div>
<script type="text/javascript">
function onLoad() {
//method for button times
var group1 = document.getElementById("group1");
group1.classList.remove('hide');
group1.classList.add('show');
var group2 = document.getElementById("group2");
group2.classList.remove('show');
group2.classList.add('hide');
}
function onLoad2() {
//method for button times
var group2 = document.getElementById("group2");
group2.classList.remove('hide');
group2.classList.add('show');
var group1 = document.getElementById("group1");
group1.classList.remove('show');
group1.classList.add('hide');
}
</script>
</body>
</html>
----------------------------------------------------------------------------------------------------------------
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment