Link to home
Start Free TrialLog in
Avatar of Jason Yu
Jason YuFlag for United States of America

asked on

how can make my text relative stable to the left edge of the top menu (the horizontal line)

I have a cms(YII)  supported web site which makes me hard to tune the position of the texts. For each product, I have text describing the product which is a picture at the right side of the text. Please see the attached copyscreen for the problem.

The page's css description is as following:

  

..........
.text  {
    font-family: 'Lato', sans-serif;
    position: absolute;
    display:block;
    top:86px;
    width:30%;
    left:25%;
    right:80%;
    font-size:20px;
    color:grey;
    line-height:27px;
  }


 .text img{
   position:relative;
   padding-left:770px;
   cursor:pointer;
   width:100px;
   height:auto;
  }.......

Open in new window


https://www.ezvizlife.com/item/6.html?from=&position=tab
ASKER CERTIFIED SOLUTION
Avatar of David S.
David S.
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Interesting - this is what I get
User generated image
Hmm... Jason, did you change servers recently? That could be caused by incomplete propagation of a DNS record update (the same address points to locations on two different servers, depending on whether the DNS lookup gets the new or old record).
Avatar of Jason Yu

ASKER

thanks david, we got it resolved. It's a css settings.