September 19, 201114 yr Hello friends, I ma having a strange problem and i have tried numerous times adjusting image size moving with margin but of no use as u can seehere the left and right column bottom image is slightly off place although same image size is used for top how can i fix it?
September 19, 201114 yr .colum_left_top { background: url("../image/left_top.jpg") no-repeat scroll center top transparent; height: 36px; left: -1px; /* This would be the problem */ padding: 0; position: absolute; top: 0; width: 181px; } .colum_left_bottom { background: url("../image/left_bottom.jpg") no-repeat scroll center top transparent; bottom: 0; height: 36px; left: -1px; /* This would be the problem */ padding: 0; padding: 0; position: absolute; width: 181px; }
September 19, 201114 yr Author .colum_left_top { background: url("../image/left_top.jpg") no-repeat scroll center top transparent; height: 36px; left: -1px; /* This would be the problem */ padding: 0; position: absolute; top: 0; width: 181px; } .colum_left_bottom { background: url("../image/left_bottom.jpg") no-repeat scroll center top transparent; bottom: 0; height: 36px; left: -1px; /* This would be the problem */ padding: 0; padding: 0; position: absolute; width: 181px; } i know where the problem is but main problem is both image are of same size if top has no issue why bottom is moving?
September 19, 201114 yr i know where the problem is but main problem is both image are of same size if top has no issue why bottom is moving? Both the top and bottom images are misaligned here in FF6.
September 19, 201114 yr Try aligning the images left instead of centre. That way there's no calculation being performed in order to position them. (Centring elements with an odd horizontal dimension tends to be a little problematic). Edited September 19, 201114 yr by Renaissance-Design
September 19, 201114 yr Author Try aligning the images left instead of centre. That way there's no calculation being performed in order to position them. (Centring elements with an odd horizontal dimension tends to be a little problematic). thanks i got it sorted i had problems in slicing
Create an account or sign in to comment