Css - Need another pair of eyes

I know it’s something really evident, but I can’t seem to see it…!! Why won’t my slider2 appear next to slider1 instead of underneath it. Any help will be greatly appreciated.

outdoorhdtv dot com/datasheets2 dot php

I took a look at the page, but you can’t expect someone to fish through all of that code to find the areas where you’re having trouble. Post the html and css in question.

They share the same class names, and no other styles applied to thier ID’s. You need to have different styles for these two boxes. The second box needs enough left-margin to clear the first box. get this sorted out, then come back with updated site.

He can use the same class if he does it correctly, which… that’s what classes are for. If he wants to fill the page with these sliders, he should be able to with 1 class done correctly. Probably just a matter of taking the aligning out and just using some basic float methods. Still would be nice to see the specific code in question.

Not to worry, I found the solution.
There was no problem with the classes, as aebstract said, that is what they are for. The 2 boxes are exactly the same so there is no need for separate classes for each.
I might be a noob on this forum, but I’m hardly a noob when it comes to html and css.

Specific code can be seen by right clicking, view source, all the css is on the same page for development. But that’s academic now anyway.

I took a look at the page, but you can’t expect someone to fish through all of that code to find the areas where you’re having trouble

There was only one page, the css and html are all on the same page, that’s not a lot of code! The other css styling for header, footer, menu is irrelevant to the problem on hand.

Would you mind sharing the solution, so others could learn from it? :slight_smile:

Sure,
The second slider has to be position: absolute, otherwise it just sits beneath the first one. However I decided not to use that particular layout so I deleted the file.

Thanks :slight_smile:

That doesn’t really sound like a solution at all, what happens when you have 3,4,5 boxes? What I mean about it being a lot of code to fish through was I saw link to like 2-3 css files and the page was fairly long in code.

Thats not quite what I meant. Yes, they can have the same class, but they can not share the same positioning styles if you want them side-by-side. Thats all I was saying.