Solved

Trying to center 2 images

Posted on 2013-06-05
3
239 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 10

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

832 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