/    Sign up×
Community /Pin to ProfileBookmark

Joomla template hacking – floating elements?

Hi all

I’m doing Joomla template hacking and this is where I’m stuck.

I have eight elements that I want to have alligned as following:

|upper_place_main | upper_place_blog-related | upper_place_articles-of-interest | upper_place_case-studies |
|place_main | place_blog-related | place_articles-of-interest | place_case-studies |

I have to do it somehow with floats?

At the moment I just can’t figure a way to have them nicely alligned next to each other. All help is appreciated! Thank you!

Here’s what I have in CSS styles:

#upper_place_main, #upper_place_blog-related, #upper_place_articles-of-interest, #upper_place_case-studies {

position: relative;
font-size: small;
height: auto;
}

#place_main, #place_blog-related, #place_articles-of-interest, #place_case-studies {
overflow: hidden;
display:inline-block;
position: relative;
top: 60px;
height: auto;
float: left;

}
bloomit is online now Add to bloomit’s Reputation Report Post Edit/Delete Message

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @bloomit 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.19,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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