?
Solved

set the spacing between 2 span

Posted on 2015-01-08
1
Medium Priority
?
67 Views
Last Modified: 2015-01-09
Hello ,
  I have 2 span element. I would like to set the spacing between the 2 span to 20x. How can I do this..

Thanks

<div class="jbs-btns">
                         <span>  
                             <img src="/Images/Orange.gif" />
                          </span>
                        <span> 
                            <asp:HyperLink runat="server" ID="ApplyTopHyperLink" Text="apply now" rel="nofollow"
                            CssClass="btn-prim orange btn-prim-low btn-prim-small jbs-btns-special" />
                        </span >
</div>

Open in new window

0
Comment
Question by:SiemensSEN
[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
1 Comment
 
LVL 38

Accepted Solution

by:
Tom Beck earned 2000 total points
ID: 40538819
Just add some padding to the first span.

.jbs-btns span:nth-of-type(1) {
    padding-right: 20px;
}

or margin.

.jbs-btns span:nth-of-type(1) {
    margin-right: 20px;
}
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 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