|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions How to move |
How to move |
Ok i have a design and on the right side corner i have a Block, and when i view my messages in forum my blocks gets dropped all the way down due to the buttons like "Reply" "New Thread" and "Pool" are located on the top right corner, so is option of moderator, i was wandering is there anyway to move those buttons little to the left so my blocks can drop back into their spot or is there a code to force my blocks back where they belong.
|
Hi Jippik,
i saw your website the problem is caused by <div class="side_left"> it must have a proper width in order to allow your right div to float so the solution would be adding max-width to .side_left Code .side_left { float: left; margin: 7px 0 0 12px; max-width: 890px; } |
as a matter of fact you didn't specified any width so i can't tell to increase or to decrease however it seems to be bigger so you'll decrease
for example HTML Code <div class="container"> <div class="left">This will float to the left</div> <div class="right">This will float to the right</div> </div> CSS Code .container { min-height: 600px; } .left { width: 200px; float: left; } .right { float: right; } at least one of the .left or .right must have a specified width and you can check this link for CSS float CSS Float - W3Schools Post edited by cooltaha - Thursday, 2012-12-13, 3:07 AM
|
Ok thats what i have in CSS but count not find anything in HTML
Code #container_wrap {width:1139px;margin:0 auto;font-size:11px;} .side_main {background:url(/indawo/side_main.png) repeat-y;overflow:hidden;} .side_left {float:left;margin:7px 0 0 12px;} .side_right {float:right;width:216px;margin:7px 12px 0 0;} I tried to play around with the numbers but it still wont work, the block on main page drops or goes further to the right but the one on message page too moves but does not fall into place. As you could see there are buttons such as New Thread, reply, and poll which too far in the right, i believe those are the ones that interfering with the block, is there a way to move them further left? |
well you don't have to edit HTML that was just an example
just replace those codes with the following and that should do the trick Code #container_wrap {width:1139px;margin:0 auto;font-size:11px;} .side_main {background:url(/indawo/side_main.png) repeat-y;overflow:hidden;} .side_left {float:left;margin:7px 0 0 12px;max-width: 890px;} .side_right {float:right;width:216px;margin:7px 12px 0 0;} |
| |||
| |||