[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

Trying to center 2 images

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
isnoend2001
Asked:
isnoend2001
1 Solution
 
Jagadishwor DulalBraces MediaCommented:
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
 
isnoend2001Author Commented:
Thanks that works
0
 
Ishaan RawatDesigner | Developer | ProgrammerCommented:
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

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now