Coding-Spot

You are not connected. Please login or register

 
 
 

problem with floating widgets

Message (Page 1 of 1)

#1

novacane.

novacane.
 
Advance Member

Posted June 16th 2013, 5:50 pm

 
okay so i have used this code before and it worked perfectly, but now it doesn't anymore.
it's just about the widgets covering the forum, i don't know how it displays on other computers, but if i change the resolution on my laptop they start covering the body and i don't know what's wrong.
i added the exact same codes that you, mark, provided me on fm-help and it worked fine before
i have this codes:

Code:
.bodyline{
  border-right: 25px solid #308084; 
  border-left: 25px solid #308084; 
  border-top: 0px solid #fff; 
  border-bottom: 0px solid #fff;
  max-width: 900px!important;
  min-width: 900px!important;
  position: absolute!important;
}
.bodylinewidth {
margin-right: 511px;
}
#content-container div#left {
position: fixed;
top: 0;
left: 5;
height: auto;
  width: 250px;
border-right: 15px solid #3da0a5;
}
so it should work right? but it doesn't and i have no idea what could be wrong





#2

novacane.

novacane.
 
Advance Member

Posted June 18th 2013, 6:14 pm

 
bump Happy





#3

Mark

Mark
 
Administrator
Administrator

Posted June 18th 2013, 8:24 pm

 
Yep. Resolution of a computer screen might cause the problem.
What's your forum url? Happy



https://coding-spot.darkbb.com


#4

novacane.

novacane.
 
Advance Member

Posted June 18th 2013, 8:36 pm

 
this is the test forum: http://testforum.forumotion.eu/ Happy





#5

Mark

Mark
 
Administrator
Administrator

Posted June 18th 2013, 8:38 pm

 
Remove this part:
Code:
.bodylinewidth {
margin-right: 511px;
}

Happy



https://coding-spot.darkbb.com


#6

novacane.

novacane.
 
Advance Member

Posted June 18th 2013, 8:41 pm

 
okay i removed it, but is there an other way to move the body of the forum back to where it was?





#7

Mark

Mark
 
Administrator
Administrator

Posted June 18th 2013, 8:44 pm

 
Add this one:
Code:
.bodylinewidth {
margin-right: 230px;
}

Just play with the 230 value to adjust. Happy



https://coding-spot.darkbb.com


#8

Jaques

Jaques
 
CS Staff
CS Staff

Posted June 18th 2013, 8:45 pm

 
You talk about the widgets ? How to move them back ?
Replace
Code:
#content-container div#left {
position: fixed;
top: 0;
left: 5;
height: auto;
  width: 250px;
border-right: 15px solid #3da0a5;
}

with

Code:
#content-container #left {
margin-right: 0;
width: 157px;
}

#content-container div#left {
border-right: 15px solid #3da0a5;
}





#9

novacane.

novacane.
 
Advance Member

Posted June 18th 2013, 9:02 pm

 
mark isn't that the same code? :p

jaques nah i don't want to move them back, thanks anyway Happy

i actually just want to leave the widgets where they are and move the body next to them, like it was before, but i don't want them to cover the forum on a computer that has a lower resolution :/





#10

Mark

Mark
 
Administrator
Administrator

Posted June 18th 2013, 9:07 pm

 
Yep but it was adjusted, since you're using 500px which overlap with the widget.

Anyway, just use this one, better with %:
Code:
.bodylinewidth {
margin-left: 24%;
}



https://coding-spot.darkbb.com


#11

Jaques

Jaques
 
CS Staff
CS Staff

Posted June 18th 2013, 9:10 pm

 
Replace your boyline with that :
Code:
.bodyline {
border-bottom: 0 solid #fff;
border-left: 25px solid #308084;
border-right: 25px solid #308084;
border-top: 0 solid #fff;
max-width: 900px!important;
min-width: 900px!important;
position: absolute!important;
margin-left: -32px;
}





#12

novacane.

novacane.
 
Advance Member

Posted June 18th 2013, 9:31 pm

 
both of the codes have the exact same result right? i mean i tried them both and it's always just about entering the right pixels or % for it to be perfect, but the thing is that everytime i lower the resolution of my screen everything will just be covering the body and i don't want that and i don't get it why the codes don't work like here: http://oglasevanje.forumakers.com/ you, mark, gave me the codes and here it works just fine since the widgets never cover the body. you can see what i mean if you just zoom in and out on both forums and you'll see the difference :/





#13

Mark

Mark
 
Administrator
Administrator

Posted June 18th 2013, 9:38 pm

 
Add this one on your CSS, trust me:
Code:
.bodylinewidth {
margin-left: 300px;
}



https://coding-spot.darkbb.com


#14

novacane.

novacane.
 
Advance Member

Posted June 18th 2013, 10:03 pm

 
omfg it worked :o but how, since the codes were the same except for the pixels?
anyways thank you!!





#15

Mark

Mark
 
Administrator
Administrator

Posted June 19th 2013, 4:48 pm

 
Welcome. Well. Laugh
~ Locked and moved



https://coding-spot.darkbb.com


#16

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

Users browsing this forum: None