Solved

making more space between images

Posted on 2014-04-07
2
215 Views
Last Modified: 2014-04-28
Hi Guys,

I was wondering on my web page here http://www.thedancingsoul.ie/yet can i make the space between the images larger? its basically a table? I would also love to be able to titles under them "inspiration" and "ATC"

Thank you
0
Comment
Question by:jonathanduane2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Assisted Solution

by:Bembi
Bembi earned 250 total points
ID: 39984426
Either you put an placeholder int he table between them (i.e. a white pixelimage or you can even work with CSS tags like borders and margins to keep some space beween then.

THe advantage of the white pixel image is, that browsers interpret them equal while with css tags, the result can be different.
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points
ID: 39984919
Using pure css is the way to go.   You can target your image or td with margin or padding.

table img{
    margin-bottom:10px;
    margin-left:10px;
    margin-right:10px;
    margin-top:10px;

}

Open in new window

https://developer.mozilla.org/en-US/docs/Web/CSS/margin
https://developer.mozilla.org/en-US/docs/Web/CSS/padding

To add something below your green headings which are h2 tags, simply add a div below like this
<h2 class="ls-s-1" style="position: absolute; top: 74px; left: 306px; padding: 5px; color: rgb(247, 239, 239); background-color: rgb(109, 169, 46); border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; white-space: nowrap; opacity: 1; -webkit-transform: rotate(0deg) scale(1, 1); margin-left: 0px; margin-top: 0px; display: block; visibility: visible; background-position: initial initial; background-repeat: initial initial;"> Athlone Therapy Centre </h2><div class="subtitle1">Something to say</div>

Open in new window


Your going to have to add some css to the class you give the div in order to move it up or down relative to the h2 tag.

A note on your coding.  The H tags should be semantic.  Think of the code on your page like a highschool term paper.  You have ONE topic sentence, ( the H1 tag) and several sub topic sentences (the H2 tag) each with supporting paragraphs (the P tag).   You should avoid using H tags simply as design elements.   If your intention is to put a paragraph below each H2 tag, that makes sense.  But if you are treating it as a design element, I suggest simply making it a block element like a DIV>   I would also suggest getting all of your design code into your css and out of the style=" area.  It may work now, but could end up causing issues later.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question