Change on home page

Hope you can help

I chaged some code in my scroller.php

Then the home page has now moved totally to the left and I’m not sure why or what to do to get it back

my site is

Quality Web Design, Web Design Packages

hi, I put those margins in but it’s not budged

Hi, those margins won’t work on floats. As ralph mentioned, remove the float: left too.

ahh I see, it’s worked, only thing now is that the home-container is stuck to the slider. changing the top margin doesnt seem to work

Looks like elements like #home-container have fallen out of the wrapper. You could center them like this: remove float: left on #home-container and #footer and instead use margin: 0 auto;

#home-container {margin: 0 auto;}
#footer {margin: 22px auto 0;}

But what changes did you make? Might be better to get everything inside the wrapper.

Looks like your footer image is sitting outside the closing div of the footer instead of inside it. Or if its supposed to be after then it shouldn’t be floated but display:block and centred using a width and auto margins. {
    display: block;
    float: none;
    margin: auto;
    width: 950px;

 title="Follow Us on E-mail" class="bounce" /></a></div>
				<div style="clear: both;"></div>
		[B]<img src="" alt="footer" style="float: left;" />[/B]
		<div style="clear: both;"></div>

There’s a lot of scripts in that page :slight_smile:


since carrying out the above changed the main content area is stuck to the slider and there is something strange happening at the bottom of the fooyer.

Any ideas how to sort this out
Much appreciated

hey, it’s worked thanks

Since the change the home-container / main home part is stuck to the slider. changing the top margin doesnt seem to work,

can you help me with that also?

the chages are all listed at the top if this post

for some reason it sometimes takes a long time to update. Thanks for your help anyway I’ll update you

It doesn’t look like the live site has been updated yet.

ahh right. So i did that but it’s still displaying strangely with extra grey lines to the right

You wrote the style directly into the tag iteslf which is why I gave a dummy reference to it as no class exists on that element.

This is your code:

<img src="" alt="footer"[B] style="float: left;"[/B] />

Remove that float:left and add a class instead and then use the styles as follows.

<img src="" alt="footer" class="footerbg" />

.footerbg {
    display: block;
    float: none;
    margin: auto;
    width: 950px;

strange, I don’t understand why it changed as they all seemed to be ok then I changed some information and removed a button that was at the bottom of the slider.

Anyhow I cannot find in my css to change the code as you suggested and also the follow us was added via the footer widget so how do I edit this code?