HTML div excess whitespace - html

I have a div with an image of the world map in it, and it has map icons with text overlays placed on it. However, the border of the div is way bigger than the image, and there is no margin or padding setting that makes it like that. There is also nothing that I can see that is stretching the div border, but it still stays big. Any ideas as to why this might happen?
Any help would be appreciated
Here is the code snippet that is responsible for the Continents image:
.container {
position: absolute;
text-align: center;
color: black;
}
.centered {
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.overlay {
position: relative;
bottom: -3;
background: rgb(201, 67, 67);
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
color: #f1f1f1;
width: 100%;
transition: .5s ease;
opacity: 0;
color: white;
font-size: 15px;
padding: 10px;
text-align: center;
}
.iconImage {
display: block;
width: 100%;
height: auto;
}
<!-- Continents Picture -->
<div class="container" style="align-content: center; border: 3px solid black; padding: 0px; margin: 0%;">
<div class="centered; padding: 0%; margin: 0%;" style="border: 3px solid rgb(17, 0, 255)">
<img src="continents.png" style="width: 70%; border: 3px solid rgb(255, 0, 0)">
<!-- North America marker -->
<div class="iconContainer " style="border: 3px solid rgb(17, 0, 255); bottom: 30em; left: 28em; width: 3%;">
<img src="mapMarker.png" alt="map " class="iconImage" style="position: relative;">
<span class="overlay" style="position: relative;">North America</span>
</div>
<!-- Africa marker -->
<div class="iconContainer " style="border: 3px solid rgb(17, 0, 255); bottom: 22em; left: 58em; width: 3%;">
<img src="mapMarker.png" alt="map " class="iconImage" style="position: relative;">
<span class="overlay" style="position: relative;">Africa</span>
</div>
<!-- Europe marker -->
<div class="iconContainer " style="border: 3px solid rgb(17, 0, 255); bottom: 43em; left: 57em; width: 3%;">
<img src="mapMarker.png" alt="map " class="iconImage" style="position: relative;;">
<span class="overlay" style="position: relative;">Europe</span>
</div>
<!-- Asia marker -->
<div class="iconContainer " style="border: 3px solid rgb(17, 0, 255); bottom: 47em; left: 75em; width: 3%;">
<img src="mapMarker.png" alt="map " class="iconImage" style="position: relative;">
<span class="overlay" style="position: relative;">Asia</span>
</div>
<!-- Australia marker -->
<div class="iconContainer " style="border: 3px solid rgb(17, 0, 255); bottom: 33em; left: 85em; width: 3%;">
<img src="mapMarker.png" alt="map " class="iconImage" style="position: relative;">
<span class="overlay" style="position: relative;">Australia</span>
</div>
</div>
</div>

add width: min-content; and (for firefox) width: -moz-min-content; to your .container Element.

Related

Stretch image to fit in specific div

I have the following div which is containing an image:
And here's the HTML and styles to it:
<ul id="noty_centerRight_layout_container" class="i-am-new" style="right: 20px; position: fixed; width: 310px; height: auto; margin: 0px; padding: 0px; list-style-type: none; z-index: 10000000; top: 339.5px;">
<li style="overflow: visible; border-radius: 5px; background-color: rgb(255, 255, 255); border-color: rgb(204, 204, 204); color: rgb(68, 68, 68); width: 310px; cursor: pointer; min-height: 349px;" class="animated bounceIn">
<div class="noty_bar noty_type_alert" id="noty_4752181183881090">
<div class="noty_message pop-activity default-yellow" style="font-size: 13px; line-height: 16px; text-align: left; padding: 15px; width: auto; position: relative;">
<div class="noty_text">
<h3></h3>
<p> <button title="Close (Esc)" type="button" class="popup-close">×</button></p>
<p><img style="width: 350px;" src="https://img.alleop.bg/catalog/Banners-Front/Popup-Product-banners/IMG_27082018_165243_0.png"></p>
<p></p>
</div>
</div>
</div>
</li>
</ul>
I want to make the image to be equal size as the div with id
noty_677289985142816800
Also, i've added
<ul id="noty_centerRight_layout_container" class="i-am-new" style="right: 20px; position: fixed; width: 310px; height: auto; margin: 0px; padding: 0px; list-style-type: none; z-index: 10000000; top: 339.5px;">
<button title="Close (Esc)" type="button" class="popup-close">×</button>
<li style="overflow: visible; border-radius: 5px; background-color: rgb(255, 255, 255); border-color: rgb(204, 204, 204); color: rgb(68, 68, 68); width: 310px; cursor: pointer; min-height: 349px;" class="animated bounceIn">
<div class="noty_bar noty_type_alert" id="noty_4752181183881090" style="background-color:blue;">
<div class="noty_message pop-activity default-yellow" style="font-size: 13px; line-height: 16px; text-align: left; padding: 15px; width: auto; position: relative;">
<div class="noty_text">
<p><img style="width:310px;margin-top:-28px;margin-left:-15px;height:311px;" src="https://img.alleop.bg/catalog/Banners-Front/Popup-Product-banners/IMG_27082018_165243_0.png"></p>
<p></p>
</div>
</div>
</div>
</li>
</ul>
try this code.
you can set it as the background image for the above div link below.
<div class="noty_message pop-activity default-yellow" style="font-size: 13px; line-height: 16px; text-align: left; padding: 15px; width: auto; position: relative; background: url('https://img.alleop.bg/catalog/Banners-Front/Popup-Product-banners/IMG_27082018_165243_0.png'); background-size: 100%; height: 220px;">
<div class="noty_text">
<h3></h3>
<p>
<button title="Close (Esc)" type="button" class="popup-close">×</button>
</p>
<p><!-- <img style="width: 350px;" src="https://img.alleop.bg/catalog/Banners-Front/Popup-Product-banners/IMG_27082018_165243_0.png"> --></p>
<p></p>
</div>
</div>
css added:
background: url('https://img.alleop.bg/catalog/Banners-Front/Popup-Product-banners/IMG_27082018_165243_0.png');
background-size: 100%;
height: 220px;

How to create a custom arrow with two colors?

I would like to create a custom shape like this image
My HTML :
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
<div class='row'>
<div class="col-md-10 ">
<div class="col-md-2" style="background-color: yellow;height: 38px;padding:0;">
aaaaa
</div>
<div class="col-md-1" style="padding:0;">
<div class="col-md-12" style="background-color: green; border-radius: 0px 400px 50px 0px/0px 150px 23px 0px;">
mmm
</div>
<div class="col-md-12" style="background-color: red; border-radius: 0px 11px 400px 0px/0px 23px 150px 0px;">
nnnn
</div>
</div>
</div>
</div>
You can simply use pseudo element and data attribute. You will be able de generate the HTML from backend without changing CSS (you simply need to adjust the color as you need) :
* {
box-sizing: border-box;
}
.element {
display: inline-block;
position: relative;
padding: 10px 40px;
background: #ccc;
border: 1px solid #000;
}
.element:before {
content: attr(data-before);
position: absolute;
top: 0;
bottom: 50%;
right: -42px;
width: 40px;
background-image: linear-gradient(45deg, black, red);
border-top-right-radius: 100%;
border: 1px solid #000;
color: #fff;
z-index:99;
}
.element:after {
content: attr(data-after);
position: absolute;
top: 50%;
bottom: 0;
right: -42px;
width: 40px;
background-image: linear-gradient(45deg, black, green);
border-bottom-right-radius: 100%;
border: 1px solid #000;
color: #fff;
z-index:99;
}
<div class="element" data-before="A" data-after="B">
content 1
</div>
<div class="element" data-before="C" data-after="D">
content 2
</div>
<div class="element" data-before="E" data-after="F">
content 3
</div>
Use HTML5 canvas tag and java script to draw you own image in
you can read about it in below link
https://www.w3schools.com/html/html5_canvas.asp

Is there anyway to get a background image to be fixed at first and then scroll?

So I am basically trying to get a scrolling parallax effect with multiple background images on my webpage. I will post a link to a website with a perfect example of what I am talking about (look at the first two background images on the webpage). Here is that link: https://www.wix.com/website-template/view/html/1885?originUrl=http%3A%2F%2Fwww.wix.com%2Fwebsite%2Ftemplates%2Fhtml%2Fportfolio-cv%2F1&bookName=&galleryDocIndex=0&category=portfolio-cv
The problem with my webpage however is that once you scroll down to a certain point, the first background image gets cut off (as it should) but the second background image scrolls too soon and leaves this "whitespace" where the background is revealed. I will give a jsfiddle link so you can see what I am talking about. You might have to expand the viewport on jsfiddle to see the first background image for some reason. Thanks in advance.
CSS:
body {
padding: 0;
margin: 0;
background-color: rgb(114, 129, 139);
overflow-x: hidden;
animation: fadein 1s;
}
a {
text-decoration: none;
font-family: Tahoma, Geneva, sans-serif;
}
h1 {
line-height: 300px;
font-size: 90px;
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic,
"AppleGothic", sans-serif;
}
h2 {
position: relative;
bottom: 50px;
font-size: 60px;
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic,
"AppleGothic", sans-serif;
}
#p_in_first_div {
font-size: 20px;
line-height: 120px;
vertical-align: middle;
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic,
"AppleGothic", sans-serif;
}
#first_bg_image {
display: inline-block;
position: relative;
width: 100%;
}
#first_bg_image::after {
content: '';
position: absolute;
top: 0; right: 0;
bottom: 0; left: 0;
background: url(http://pngimg.com/uploads/businessman/businessman_PNG6580.png);
background-position: 49em 0px;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
margin-top: -1700px;
width: 120%;
height: 3100px;
opacity: 0.8;
pointer-events: none;
transform: scale(.80);
}
#second_bg_image {
display: inline-block;
position: relative;
width: 100%;
}
#second_bg_image::after {
content: '';
position: absolute;
top: 0; right: 0;
bottom: 0; left: 0;
background: url(https://image.freepik.com/free-photo/desktop-with-notebook-smartphone-coffee-and-laptop_1112-253.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
margin-top: 377px;
height: 1600px;
background-position: center;
z-index: -1;
opacity: 0.7;
transform: scale(1, 0.8);
}
#header_div {
width: 100%;
height: 70px;
box-shadow: 0px 1px 40px;
background-color: rgb(143, 0, 46);
}
#header_nav {
line-height: 70px;
word-spacing: 25px;
font-size: 13.4px;
}
#header_div_icon {
position: relative;
right: 50px;
vertical-align: middle;
width: 40px;
height: 40px;
}
#current_link_home {
color: rgb(190, 226, 231);
}
#first_body_div {
height: 690px;
width: 820px;
background-color: rgb(69, 72, 87);
margin-left: auto;
margin-right: auto;
margin-top: 15%;
margin-bottom: 7%;
box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.5);
position: relative;
}
#icon_in_div {
margin-left: auto;
margin-right: auto;
display: block;
width: 100px;
height: 100px;
padding: 160px 0px 0px 0px;
}
#resume_button {
background-color: Transparent;
border: 2px solid rgb(79, 87, 170);
outline: none;
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic,
"AppleGothic", sans-serif;
font-size: 18px;
display: block;
margin-left: auto;
margin-right: auto;
line-height: 45px;
width: 220px;
height: 45px;
transition-duration: 0.4s;
}
#professional_skills_div_1 {
width: 230px;
height: 15px;;
background-color: rgb(79, 87, 170);
}
#professional_skills_div_2 {
width: 230px;
height: 15px;
background-color: rgb(79, 87, 170);
}
#professional_skills_div_3 {
width: 230px;
height: 15px;
background-color: rgb(79, 87, 170);
}
#professional_skills_div_4 {
width: 430px;
height: 15px;
background-color: rgb(79, 87, 170);
}
#professional_skills_div_5 {
width: 280px;
height: 15px;
background-color: rgb(79, 87, 170);
}
#professional_skills_div_6 {
width: 480px;
height: 15px;
background-color: rgb(79, 87, 170);
}
#professional_skills_div_7 {
width: 480px;
height: 15px;
background-color: rgb(79, 87, 170);
}
#professional_skill_percentage_80 {
font-size: 15px;
font-family: Tahoma, Geneva, sans-serif;
text-align: left;
position: relative;
right: -20px;
top: -4px;
}
#professional_skill_percentage_60 {
font-size: 15px;
font-family: Tahoma, Geneva, sans-serif;
text-align: left;
position: relative;
right: 130px;
top: -3px;
}
.h2_line_heights {
line-height: 450px;
}
.other_links {
color: rgb(114, 129, 139);
}
.text_align {
text-align: center;
}
.text_color {
color: rgb(190, 226, 231);
}
.h2_subheadings_font {
font-size: 30px;
}
.h2_subheadings_positions {
position: relative;
top: -260px;
}
.professional_divs {
position: relative;
right: 32px;
height: 45px;
top: -210px;
width: 1400px;
margin-left: auto;
margin-right: auto;
}
.professional_outside_divs {
display: inline-block;
width: 35%;
}
.professional_paragraphs {
font-size: 15px;
font-family: Tahoma, Geneva, sans-serif;
text-align: right;
position: relative;
right: 40px;
top: -4px;
}
.professional_outside_skill_bar_divs {
width: 29%;
display: inline-block;
position: relative;
right: 1.5vw;
}
.professional_skill_percentages_50 {
font-size: 15px;
font-family: Tahoma, Geneva, sans-serif;
position: relative;
right: 180px;
top: -4px;
}
.professional_skill_percentage_90 {
font-size: 15px;
font-family: Tahoma, Geneva, sans-serif;
position: relative;
left: 70px;
top: -3px;
}
HTML:
<body lang="en-US">
<div id="first_bg_image">
<header>
<div id="header_div">
<nav class="text_align" id="header_nav">
<!--
image source:
https://scrapbookalphabet.blogspot.com/2011/08/wood-slat-png-free-scrapbook-letters.html?m=1
-->
<img id="header_div_icon"
src="https://3.bp.blogspot.com/-8Gdu_oKhrdM/Tk_5-lBzZII/AAAAAAAACIU/cw3CLnAXv5k/s1600/1Capital-Letter-C-Wood.png"
alt="Icon 1">
HOME
<a href="#prof_id" class="other_links" id="professional_link">
PROFESSIONAL
</a>
<a href="#exper_id" class="other_links" id="experience_link">
EXPERIENCE
</a>
<a href="portfolio_page.html" class="other_links" id="portfolio_link">
PORTFOLIO
</a>
<a href="#second_body_div" class="other_links" id="contact_link">
CONTACT
</a>
</nav>
</div>
</header>
<div class="text_align">
<h1 class="text_color">
I<span>'</span>m Chad Wilson<span>.</span>
</h1>
</div>
<div class="text_align">
<h2 class="text_color h2_subheadings_font">
Front End Web Developer
</h2>
</div>
</div>
<div id="second_bg_image">
<div id="first_body_div">
<img id="icon_in_div"
src="https://3.bp.blogspot.com/-8Gdu_oKhrdM/Tk_5-lBzZII/AAAAAAAACIU/cw3CLnAXv5k/s1600/1Capital-Letter-C-Wood.png"
alt="Icon 2">
<p class="text_align text_color" id="p_in_first_div">
Click the link below to download my resume.
</p>
<a href="https://drive.google.com/file/d/0B5NM_iPTWudsRzRzS094Ul9pMTQ/view?usp=sharing"
id="resume_button"
class="text_color text_align"
target="_blank">
Download Resume
</a>
</div>
<div class="text_align h2_line_heights" id="prof_id">
<h2 class="text_color">
<span>01</span> Professional
</h2>
</div>
<div class="text_align">
<h2 class="text_color h2_subheadings_font h2_subheadings_positions">
My Knowledge Level in Software
</h2>
</div>
<div class="professional_divs">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
Wordpress
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_1">
</div>
</div>
<div class="professional_outside_divs">
<p class="professional_skill_percentages_50 text_color">
50%
</p>
</div>
</div>
<div class="professional_divs">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
Drupal
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_2">
</div>
</div>
<div class="professional_outside_divs">
<p class="professional_skill_percentages_50 text_color">
50%
</p>
</div>
</div>
<div class="professional_divs">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
Wix
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_3">
</div>
</div>
<div class="professional_outside_divs">
<p class="professional_skill_percentages_50 text_color">
50%
</p>
</div>
</div>
<div class="professional_divs remove_bottom_bar">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
Photoshop
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_4">
</div>
</div>
<div class="professional_outside_divs">
<p class="text_color" id="professional_skill_percentage_80">
80%
</p>
</div>
</div>
<div class="professional_divs">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
Illustrator
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_5">
</div>
</div>
<div class="professional_outside_divs">
<p class="text_color" id="professional_skill_percentage_60">
60%
</p>
</div>
</div>
<div class="professional_divs remove_bottom_bar">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
Javascript
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_6">
</div>
</div>
<div class="professional_outside_divs">
<p class="text_color professional_skill_percentage_90">
90%
</p>
</div>
</div>
<div class="professional_divs remove_bottom_bar">
<div class="professional_outside_divs">
<p class="professional_paragraphs text_color">
HTML & CSS
</p>
</div>
<div class="professional_outside_skill_bar_divs">
<div id="professional_skills_div_7">
</div>
</div>
<div class="professional_outside_divs">
<p class="text_color professional_skill_percentage_90">
90%
</p>
</div>
</div>
</div>
JSFIDDLE link: https://jsfiddle.net/245uqz0p/
I think this link might help you.
w3school parallax effect

How to get three horizontal images to display next to each other

I've got three images that need to be displayed horizontally with no gaps between them and a link on top of each one they also need to be scalable to the window size. Currently there are gaps between them.
Here is all of the relevant code I've got so far:
.callout-container {
position: relative;
bottom: 480px;
right: 0px;
}
.callout {
position: relative;
float: left;
Width: 33.3%;
}
.button-1 {
position: absolute;
top: 160px;
right: 1420px;
color: white;
background-color: rgb(224, 99, 38);
padding: 10px;
padding-left: 100px;
padding-right: 100px;
font-family: Futura;
font-size: 20pt;
opacity: 0.9;
}
.button-2 {
position: absolute;
top: 160px;
right: 825px;
color: white;
background-color: rgb(224, 99, 38);
padding: 10px;
padding-left: 100px;
padding-right: 100px;
font-family: Futura;
opacity: 0.9;
font-size: 20pt;
}
.button-3 {
position: absolute;
top: 160px;
right: 220px;
color: white;
background-color: rgb(224, 99, 38);
padding: 10px;
padding-left: 100px;
padding-right: 100px;
font-family: Futura;
opacity: 0.9;
font-size: 20pt;
}
<div class="callout-container">
<div>
<div class="callout-one callout">
<img src="callout_1.png" alt="">
</div>
<div class="callout-two callout">
<img src="callout_2.png" alt="">
</div>
<div class="callout-three callout">
<img src="callout_3.png" alt="">
</div>
</div>
<div>
<div>
<a href="" class="button-1" style="text-decoration:none;">
Property Owner?
</a>
</div>
<div>
<a href="" class="button-2" style="text-decoration:none;">
City Visitor?
</a>
</div>
<div>
<a href="" class="button-3" style="text-decoration:none;">
Teacher?
</a>
</div>
</div>
</div>
Edit: also here is a screenshot of how it is currently displayed.
screenshot
if I understand well, you want the links to be aligned with the images?
I create a jsFiddle to test.
https://jsfiddle.net/mp9007/aL27fxm3/
I think i'm close to want you want:
<div class="callout-container">
<div>
<div class="callout-one callout">
Property Owner?
<!-- image -->
</div>
<div class="callout-two callout">
City visitor?
<!-- image -->
</div>
<div class="callout-three callout">
Teacher?
<!-- image -->
</div>
</div>
And then remove the absolute/right alignement from the css button class
.button-3{
position: absolute;
top: 160px;
//right: 220px;
color: white;
background-color: rgb(224, 99, 38);
padding: 10px;
padding-left: 100px;
padding-right: 100px;
font-family: Futura;
opacity: 0.9;
font-size: 20pt;
}

img moving when browser re sized

I have updated this post, as i seem to be facing a new issue with this image problem, basically, i need to center an image on all devices.
Here is the HTML of the images, all images must stay as they are as its a custom menu.
body { font-family: 'Roboto', sans-serif; background-color:#2d2d2d; color: #f5f5f5; margin: 0 auto; padding:0; font-size:12pt; padding-top:20px; padding-bottom:20px; }
}
#box2 {
display:block;
margin:auto;
height:500px; /*change ## to the pixel setting of your image*/
width:500px;/*change ## to the pixel setting of your image*/
}
#media screen and (max-width: 768px) {
body { padding:0; background-image: none !important; }
}
<?php
/*
Template Name: Page Menu
*/
?>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<style>
body {background-color:black}
</style>
<div id="body">
<div id="box2" "style="position: absolute">
<a href=""><img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/111.png" width="500" align="middle" style="position: absolute; top: 100px; left: 500px; "/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid white; top: 240px; left: 530px; "/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid blue; top: 170px; left: 785px;"/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid green; top: 140px; left: 650px;"/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid red; top: 280px; left: 890px;"/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid purple; top: 435px; left: 565px;"/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width=65" style="position: absolute; border: 0px solid grey; top: 435px; left: 820px;"/>
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid yellow; top: 325px; left: 690px;"/>
</div>
</div>
I just need the main image to be centered on all devices, basically just in the middle of 100% screen width, finding it hard to do so have no idea why
OK, I had to change some stuff around. Images are bigger than they were you may have to resize as well, but stay in place now.
<!doctype html>
<html>
<style>
body {
background-color: black;
}
img {
position: absolute;
}
</style>
<body>
<div class="navigation">
<div "style="position: relative">
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp- content/uploads/2015/10/home1.png" style: "width= 65; border: 0px solid white; top: 22%; left: 42%;"/></a>
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" style= "width= 65; border: 0px solid blue; top: 170px; left: 715px;"/></a>
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" style= "width= 65; border: 0px solid green; top: 230px; left: 460px;"/></a>
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" style= "width= 65; border: 0px solid red; top: 260px; left: 825px;"/></a>
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" style= "width= 65; border: 0px solid purple; top: 405px; left: 490px;"/></a>
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" style= "width= 65; border: 0px solid grey; top: 405px; left: 760px;" />
</a>
<a href="http://tridentas.co.uk/bowwownow">
<img src="http://www.tridentas.co.uk/tridentascouk/bowwownow/wp-content/uploads/2015/10/home1.png" width="65" style="position: absolute; border: 0px solid yellow; top: 305px; left: 625px;" />
</a>
</div>
</div>
</body>
</html>