![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to vertically aligned, inside a div, two images that are side by side: http://www.27lamps.com/Beta/Vertical/Test.html The image on the right is to much upward and the image on the left has a bottom spacing between the image tag and the anchor tag where it is inserted. How can I solve this problems? I really would like to have the images centered vertically. |
#3
| |||
| |||
|
|
shapper wrote: I am trying to vertically aligned, inside a div, two images that are side by side: http://www.27lamps.com/Beta/Vertical/Test.html The image on the right is to much upward and the image on the left has a bottom spacing between the image tag and the anchor tag where it is inserted. How can I solve this problems? I really would like to have the images centered vertically. You've set top and bottom margins on both of the elements you're unhappy with, so try tweaking the values in your CSS: div.SiteHead div.Bottom div.Identity div.Welcome { * * display: block; * */* Divs and floats are automatically block*/ * * float: left; * * height: 115px; * * margin: 20px 0; * * width: 525px; * * z-index: 0; * * * */* You don't really need this, do you?*/ } div.Identity h1 { * * float: left; * * margin: 42px 0; * * width: 420px; } -- John Pondering the value of the UIP:http://improve-usenet.org/ |
#4
| |||
| |||
|
|
I really would like to have the images centered vertically. |
![]() |
| Thread Tools | |
| Display Modes | |
| |