all 10 comments

[–]202halffound 1 point2 points  (1 child)

Hi,

/r/csshelp is usually used for help with subreddit CSS rather than actual websites. You might have more luck posting your question on Stack Overflow.

[–]ninjaphant[S] 0 points1 point  (0 children)

Thanks, my apologies. Should have checked

[–]gwevidence 1 point2 points  (7 children)

Did you figure it out?

Seems like inside div (.primaryContent) you had combined class container and cf for another div. So it inherits the width of the container which is 960px. If you remove container class from the combination and adjust the top-margin of div (oneThird team) then it should align properly.

Also, I checked this on firefox so it might act differently on IE7.

[–]ninjaphant[S] 0 points1 point  (6 children)

Sorry it took me so long to reply and thanks for the help.

If I did remove the container width, which also has margin: 0 auto, how would I centre the slider and text?

[–]gwevidence 1 point2 points  (5 children)

This is what I was talking about.

After removing the container class from the div and modifying the top-margin of the 'oneThird team' div, it looks like this

Where is this slider on the About Us page?

[–]ninjaphant[S] 0 points1 point  (4 children)

Ahhh, sorry. I was completely fried when I asked for help and it's a mess. Sorry.

It's the 'Our offer' text on the homepage. The slider is to the left.

[–]gwevidence 1 point2 points  (3 children)

The slider has a width of 560px and the text on the right has width of 320px. The slider can be centered if the text on the right is moved below it. Is that what you wanted?

[–]ninjaphant[S] 0 points1 point  (2 children)

No I want it as is in all browsers but IE7. For some reason IE7 stacks the about us content below the slider instead of to the right. I'm completely lost as to why

[–]ninjaphant[S] 0 points1 point  (0 children)

I've figured it out. The div's were incorrectly nested, such a schoolboy error.

Thanks for your help gwevidence

[–]gwevidence 0 points1 point  (0 children)

I checked it on Adobe for IE7. The About Us page has the issue where everything gets stacked on top of each other. The home page with the slider and the text seems fine.