CSS problems

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
Hi,

I'm racking my brain here and I can't figure out what I'm doing wrong.

First of all, I have a "sidebar" div that is being pushed outside of the page, even though there is plenty of room for it in the content.

http://65.175.116.253/design/demo.html

I have included the CSS below, and you can get the rar file for the entire layout at the following link

http://65.175.116.253/design/design.rar

css properly formated at http://65.175.116.253/design/css.css

I've been racking my head! All I want is the side bar, the two boxes way off to the right, to be floated to the right hand side of the screen, contained within the page. I can't figure out what I'm doing wrong.

Can somebody look at this and tell me what I am doing wrong? I will paypal $5 to who ever figures it out..

 

ivan2

Diamond Member
Mar 6, 2000
5,772
0
0
www.heatware.com
#sidebar
{
float: right;
width: 17em;
margin: 0 0 4em -18em; /* this creates a mathematical layout width of -1 */
}

this should get them to the right...
 

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
Originally posted by: ivan2
#sidebar
{
float: right;
width: 17em;
margin: 0 0 4em -18em; /* this creates a mathematical layout width of -1 */
}

this should get them to the right...

i had to do that and remove the width:100% in one of the other content divs that was pushing them out

thanks!