/    Sign up×
Community /Pin to ProfileBookmark

Does anyone know of a way that I can make all the divs that are in the file that I have attached display at the top? Thanks

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@Eye_for_VideoMar 06.2012 — Not about to download files from unknown source!

That being said... if your main container <div> is wide enough... and each <div> inside that is narrow enough... a class="floatLeft" applied to each <div> would work just fine... of course you need to create the class
[CODE].floatLeft {
float: left;
}[/CODE]

Best wishes,

Adninjastrator
Copy linkTweet thisAlerts:
@spufiMar 06.2012 — FYI, the files are fine to download.
Copy linkTweet thisAlerts:
@JEMdesignsauthorMar 07.2012 — I tried float and it still is doing the same thing.
Copy linkTweet thisAlerts:
@PBSWebDesignMar 07.2012 — Based on looking at your code the galleries are tables. The javascript just pulls up a div with tables inside depending on which person you click. That way they each bring up there own specific table with their own pictures inside it seems. In Html Tables naturally stack over one another. So one table will naturally stack one on top of the other without css dictating how to line up properly.
[CODE]
<style type="text/css">
table {
float: left;
}
</style>
[/CODE]


Add this to the head section of your page. It will get the galleries to line up one after another when clicking on the links.

This will get the galleries to all line up when clicked side by side as they are clicked. I believe thats what you were wanting.
Copy linkTweet thisAlerts:
@JEMdesignsauthorMar 07.2012 — No still not working. What I want is when I click on the next gallery it replaces where the currently gallery was. Also the tables are each inside their own div which is where the javascript class id is. I have also tried z-index and that doesn't seem to work.
Copy linkTweet thisAlerts:
@Eye_for_VideoMar 07.2012 — How about something like the coda slider?

One very wide <div> holds a number of other container <div>s, only one of which is visible at a time.

See a sample of it here... the videos:

http://www.exploreolympics.com/

more info here:

http://www.ndoherty.biz/demos/coda-slider/2.0/

You can customize as needed.

Best wishes,

Eye for Video

www.cidigitalmedia.com
×

Success!

Help @JEMdesigns spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...