Jump to content

Variable line lengths and weird stuff happening


ecorrado

Recommended Posts

This is starting to frustrate me.

 

Please look at this site in Firefox.

 

http://www.postmarkinternational.com

 

I have a floating line of text & graphics on the page. It looks OK in IE.

 

Also if you look at the other web pages of the site you will see that line length are uneven. I have tried to make them all the same but they are all over the place.

 

Is there a way of getting them all even. I should have probably originally created columns but this is the way I got them from Template monster.

 

I have tried numerous set line length which I have not uploaded but I always get the same thing.

Link to comment
Share on other sites

Don't use position: fixed in a situation like this as it is literally fixed from the viewport top left corner, which means that when people use different resolutions and the page centers, the position: fixed div does not relate to them.

 

(IE7 does operate position: fixed slightly differently to Firefox.)

 

I edited these:-

#Layer2 {

position:absolute;/*fixed;*/

/*left:400px;

top:338px;*/

width:225px;

height:67px;

z-index:auto;

}

 

 

}

#Layer5 {

position:absolute; /*fixed;*/

/*left:320px;

top:335px;*/

width:225px;

height:75px;

z-index:0;

}

 

You might have to use top and left positions, but only for very small px.

Edited by Wickham
Link to comment
Share on other sites

Hi Wickham Thanks for your fast reply.

 

I think you have opened my eyes to a whole new world here.

 

I have moved the map & copy to where it is supposed to be but the other copy with the phone number is at the top.

Should I create another layer for that and do the same thing. If so how do I select that text and create a new layer from it.

 

Thanks

Link to comment
Share on other sites

I didn't think about the phone number; leave the styles as I had them before and edit the html markup to change the top margin:-

 

 

class="fs style7 style9">

class="fs style24">Call us for a

Quote

905-470-0001

 

 

 

It's all a bit complicated, but that seems to work.

Edited by Wickham
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...