Page 1 of 1
Break between two modules
Posted: Fri Mar 12, 2010 11:47 pm
by fearmydesign
Hi, I want to display my Breadcrums & the search on the same line, but for some reason it keeps putting them on two separate lines and I don't have a or anything. can anyone help me please? Below is my line of code. Thank you
Code: Select all
<div class="bread" align="left"> {breadcrumbs} {search} </div>
Re: Break between two modules
Posted: Fri Mar 12, 2010 11:53 pm
by Dr.CSS
In this board on the forum it's best if possible to give a link to the site in question else all you'll get is guesses, maybe because they are both modules and each up all the space in the div so it just stacks them on top of each other like any toher div that isn't given specific css to move it around...
Re: Break between two modules
Posted: Fri Mar 12, 2010 11:53 pm
by Silmarillion
If you really want that, putting the two tags into a small properly styled table, could solve the problem...
Code: Select all
<div class="bread" align="left"> <table><tr><td>{breadcrumbs}</td><td>{search}</td></tr></table> </div>
Re: Break between two modules
Posted: Sat Mar 13, 2010 1:18 am
by fearmydesign
OK, I tried the tables but I still got some problems. The easiest way I found to fix this is simply by making 2 divs (below) and assign a float:right and float:left on the css. So far so good! Thanks.
Code: Select all
<div class="bread">{breadcrumbs}</div>
<div class="search">{search}</div>