Solved

Trying to center 2 images

Posted on 2013-06-05
3
221 Views
Last Modified: 2013-06-05
I am trying to center the 2 images in the center section of this page:
http://roofgenius.com/RoofCalcWriter/test.asp
image65.jpg and image67.jpg
How can i do this?
0
Comment
Question by:isnoend2001
3 Comments
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 500 total points
ID: 39224643
Add with in div.inline

div.inline {
    float: left;
    width: 50%;
}

Open in new window

if still error
try adding
 text-align:center;
also
0
 

Author Closing Comment

by:isnoend2001
ID: 39224659
Thanks that works
0
 
LVL 9

Expert Comment

by:Ishaan Rawat
ID: 39224660
wrap the two images in a div give it a defined width and then add...
margin: 0 auto;

Open in new window

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now