Jump to content
Sign in to follow this  
robdesigner

Initial Image alignment outside soapbox when page loads

Recommended Posts

robdesigner

My website : www.cheap-webdesigns.co.uk

This is just an experiment site, but when the soapboxes load on the site, the images are aligned incorrectly.

With Chrome they are outside the box, and they correct themselves if you zoom in or out.

With IE they are aligned permanently to the left.

With Mozilla they are aligned to the right.

They should be centred, any help would be appreciated.

Share this post


Link to post
Share on other sites
Danny

Hi,

Have you made any changes to the Soapbox at all, such as adding your custom CSS ?

If not, can you try adding the code below and see if this resolves your issue.


.soapboxes .fboxgraphic img { position: relative !important; }
[/CODE]


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
robdesigner

Yes we did, we added a background to it and some other changes, such as border, margin and transparency, will the affect the code that we have added.

Thanks for coming back to us, very kind of you :-)

Share this post


Link to post
Share on other sites
robdesigner

That worked a treat, tested on all browsers, that is excellent, even with the custom CSS to the soap boxes it has been effective. If i wanted to make the same changes to the normal boxes, i.e background, what would be the correct tag, i.e the below is for the soapbox. I would just want to replace the soapbox with the normal box.

Thanks again

.soapbox .dcol-pad

{

background: #000000;

box-shadow: 0 0 3px 1px #EEEEEE;

border: 3px solid #FFFFFF;

border-radius:15px;

box-shadow: 2px 2px 2px #808080;

opacity:0.9;

padding: 20px;

text-align: center;

margin: 10px;

}

Share this post


Link to post
Share on other sites
Danny

Hi,

I apologise but I am not quite sure what you mean. Are you having the same issue with the Boxes section too ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×