August 11, 200917 yr Hi guys! basically i got this template from templatemonster.com and i have to make some changes to the css of the whole site!! bt i cant find the right thing to change, everything seems connected to each other and there is no "position property" declared(apart from in two places) so im very stock please help me find where these divs are that i have to change so i can freely modify the position of them!! here are my codes: layout.css .col-1, .col-2, .col-3, .col-4, .col-5{ float:left} /*======= width =======*/ .main{margin:0 0 0 250px; text-align:left; width:925px; } /*======= header =======*/ #header {height:440px; background:url(images/top.gif) no-repeat top center} #header .col-1{ width:701px; background:url(images/img.jpg); height:311px} #header .col-2{ width:224px; background:url(images/bg_block.gif); height:311px} /*======= index.html =======*/ #page1 #content .col-1{ width:220px;} #page1 #content .col-2{ width:7px} #page1 #content .col-3{ width:696px} #page1 #content .col-4{ width:295px; margin-right:23px} #page1 #content .col-5{ width:295px} /*======= index-1.html =======*/ #page2 #content .col-1{ width:696px;} #page2 #content .col-2{ width:7px} #page2 #content .col-3{ width:220px} /*======= index-2.html =======*/ #page3 #content .col-1{ width:220px;} #page3 #content .col-2{ width:7px} #page3 #content .col-3{ width:696px} #page3 #content .col-4{ width:295px; margin-right:30px} #page3 #content .col-5{ width:290px} /*======= index-3.html =======*/ #page4 #content .col-1{ width:696px;} #page4 #content .col-2{ width:7px} #page4 #content .col-3{ width:220px} #page4 #content .col-4{ width:195px; margin-right:15px} #page4 #content .col-5{ width:195px} /*======= index-4.html =======*/ #page5 #content .col-1{ width:220px;} #page5 #content .col-2{ width:7px} #page5 #content .col-3{ width:696px} #page5 #content .col-4{ width:320px} #page5 #content .col-5{ width:290px} /*======= index-5.html =======*/ #page6 #content .col-1{ width:696px;} #page6 #content .col-2{ width:7px} #page6 #content .col-3{ width:220px} /*======= index-6.html =======*/ #page7 #content .col-1{ width:220px;} #page7 #content .col-2{ width:7px} #page7 #content .col-3{ width:696px} #page7 #content .col-4{ width:320px} #page7 #content .col-5{ width:290px} /*======= footer =======*/ #footer { height:42px; } style.css: /* CSS Document */ * { margin:0; padding:0;} html, body { height:500px; } body {font-size:11; line-height:1.1875em; background: url(images/bg.gif) repeat-x top #DBEAF6} html, input, textarea { font-family: Arial, Helvetica, sans-serif; color:#222222; } .alignMiddle{ vertical-align:middle} .alignCenter{ text-align: center} .container1{ width:100%} object { vertical-align:top;} .clear { clear:both;} .fleft{ float:left} .fright{ float:right} div.container { overflow:hidden; width: 925px;} a img{ border:0} img{ vertical-align:top; } a{color:#bc1993; text-decoration:underline} a:hover{text-decoration:none} .link{color:#bc1993; float:right; font-size:.92em; font-weight:bold } .link1{color:#688dc3; font-weight:bold } .link2{color:#bc1993; font-size:.92em; font-weight:bold } .button{color:#fff; background:url(images/button.gif) top left no-repeat; padding:11px 22px 15px 26px; line-height:41px; text-decoration:none; font-size:1.07em } .button:hover{text-decoration:none; color:#7eb0d6 } #content ul{margin:0; padding:0; list-style:none;} #content ul li{background:url(images/marker1.gif) top left no-repeat; background-position:0 9px; margin:0; padding-left:17px; } #content ul li a{color:#5e8fba; text-decoration: underline; line-height:2em; } #content ul li a:hover { text-decoration:none; color:#000 } #content .ul .last{background:none; padding:0; margin:0 } #content .ul li{background:url(images/tail.gif) repeat-x bottom; font-size:.84em; padding:0 0 12px 0; margin-bottom:12px } #content .ul div{background:url(images/marker1.gif) top left no-repeat; background-position:0 5px; margin:0; padding-left:17px; } #content .ul span{ font-size:1.09em; display:block; margin-top:5px; } #content .ul li a{color:#5e8fba; text-decoration:none; line-height:1.5em; font-size:1.18em} #content .ul li a:hover { text-decoration:none; color:#000 } #content ol{margin:0; padding:0; list-style-position:inside; font-weight:bold; color:#5e8fba} #content ol li{background:none; padding-left:0; padding-bottom:9px } #content ol span{ font-weight:normal; color:#222222; } #content ol li a{color:#5e8fba; text-decoration: underline; line-height:1.5em; font-weight:normal } #content ol li a:hover { text-decoration:none; color:#000 } .link-1 { display:block; float:right; background:url(images/link_bg.gif) left top repeat-x; color:#6a95d4; text-decoration:none; } .link-1 em { display:block; background:url(images/link_left.gif) no-repeat left top;} .link-1 b { display:block; background:url(images/link_right.gif) no-repeat right top; padding:2px 20px 5px 22px; font-weight:normal; font-style:normal;} .link-1:hover{ text-decoration:none; color:#000000} /*header*/ #header {font-size:0.75em; color:#FFFFFF } #header .logo{ margin:0 0 25px 21px } #header .flag{ padding:31px 0 0 694px; } #header .flag1{ margin:0px 0 0 0 } #header .slogan{ margin:0 0 20px 0} #header .indent1{padding:81px 0 0 38px} #header .indent2{padding:35px 0 0 37px} #header .indent{padding:19px 0 0 507px} #header .txt{ font-size:1.16em; color:#7eb0d6} #header h2{color:#7eb0d6; font-size:2.16em; margin-bottom:23px; font-weight:normal; line-height:1em; letter-spacing:-2px } #header h2 strong{color:#214880; font-size:1.307em; margin-bottom:33px; font-weight:normal; letter-spacing:-4px } #header .ul{margin:77px 0 0 250px; padding:0; list-style:none; position:absolute; width:660px} #header .ul li{ margin:0; display:inline; float:left; background:url(images/bg_menu.gif) center right no-repeat} #header .ul .last{background:none} #header .ul li a{color:#214880; text-decoration:none; display:block; float:left ; padding:0 19px 0 19px; font-weight:bold} #header .ul li a:hover { color:#ffffff} #header .ul li .current{ color:#ffffff } #header .ul1{margin:0; padding:0; list-style:none;} #header .ul1 li{background:url(images/marker.gif) top left no-repeat; background-position:0 9px; margin:0; padding-left:36px; } #header .ul1 li a{color:#77adfc; text-decoration: none; line-height:2.83em} #header .ul1 li a:hover { color:#ffffff; text-decoration:none; } /*content*/ #content{ font-size:0.8125em; width:100%; text-align:left;} #content .indent-main{padding:0 0 0 0} #content .title{ margin-bottom:16px} #content .img-left{ float:left; margin:0 20px 16px 0} #content .img-left1{ float:left; margin:0 7px 6px 0} #content .img-left2{ float:left; margin:0 20px 5px 0} #content .img-indent{ margin:0 0 16px 0} #content .img{ margin:1px 0 0 21px; position:absolute} #content p{ margin:0 0 17px 0} #content .p{ margin:0 0 7px 0} #content h2{color:#214880; font-size:1.769em; margin-bottom:33px; font-weight:normal } #content .h2{color:#bc1993; font-size:1.769em; margin-bottom:17px; font-weight:normal } #content h4{color:#688dc3; font-size:1em; margin-bottom:11px; } #content .h-4{margin-bottom:0; } #content h3{color:#b6b8b9; font-size:1.307em; margin-bottom:13px; } #content .tail{ background:url(images/tail.gif) repeat-x bottom; padding-bottom:9px; margin-bottom:9px} #content .txt{ color:#688dc3} #content .txt1{color:#214880; font-size:1.615em; font-weight:normal; line-height:1em } #content .txt2{line-height:1.307em } #content .txt3{ color:#bc1993 } #content .indent{padding:35px 0 0 0} #content .indent1{padding:25px 0 0 0} /*==================boxes====================*/ .box { width:100%; position:relative;} .box .left-top-corner { background:url(images/corner_top_left.png) no-repeat left top; height:25px; padding-left:25px;} .box .left-top-corner-1 { background:url(images/corner_top_left-1.png) no-repeat left top; height:25px; padding-left:25px;} .box .right-top-corner { background:url(images/corner_top_right.gif) no-repeat right top; height:25px; padding-right:25px;} .box .right-top-corner-1 { background:url(images/corner_top_right-1.gif) no-repeat right top; height:25px; padding-right:25px;} .box .border-top { background:#fff; height:25px; } .box .left-bottom-corner { background:url(images/corner_bottom_left.png) no-repeat left bottom; height:25px; padding-left:25px} .box .right-bottom-corner { background:url(images/corner_bottom_right.png) no-repeat right bottom; height:25px; padding-right:25px} .box .right-bottom-corner-2 { background:url(images/corner_bottom_right.gif) no-repeat right bottom; height:25px; padding-right:25px} .box .left-bottom-corner-1 { background:url(images/corner_bottom_left-1.png) no-repeat left bottom; height:25px; padding-left:25px} .box .right-bottom-corner-1 { background:url(images/corner_bottom_right-1.png) no-repeat right bottom; height:25px; padding-right:25px} .box .border-bottom { background:#fff; height:25px; width:100%;} .box .border-bottom1 { background:url(images/border_bottom.gif); height:25px; width:100%;} .box .xcontent { background:#fff;} .box .indent-box{ padding:6px 25px 25px 25px; } .box .indent-box1{ padding:0 7px 0 7px; } .box .indent-box2{ padding:6px 25px 15px 25px; } .box .indent-box3{ padding:22px 42px 27px 40px; } .box .indent-box4{ padding:6px 25px 10px 40px; } .box .indent-box5{ padding:6px 40px 23px 40px; } .box .indent-box6{ padding:6px 25px 20px 40px; } /*box1*/ .box1{ background:#ffffff; width:100%; line-height:1.307em} .box1 .border-top {background:url(images/border_top1.gif) repeat-x top;} .box1 .border-bottom {background:url(images/border_bottom1.gif) repeat-x bottom;} .box1 .border-left {background:url(images/border_left1.gif) repeat-y left;} .box1 .border-right {background:url(images/border_right1.gif) repeat-y right;} .box1 .corner-top-left {background:url(images/corner_top_left1.gif) no-repeat left top;} .box1 .corner-top-right {background:url(images/corner_top_right1.gif) no-repeat right top;} .box1 .corner-bottom-left {background:url(images/corner_bottom_left1.gif) no-repeat left bottom;} .box1 .corner-bottom-right {background:url(images/corner_bottom_right1.gif) no-repeat right bottom; width:100%; } .box1 .indent-box{ padding:32px 25px 35px 28px; position:relative } /*box2*/ .box2{ background:#f1f7fb; width:100%; line-height:1.307em;} .box2 .border-top2 {background:url(images/border_top2.gif) repeat-x top;} .box2 .border-bottom2 {background:url(images/border_bottom2.gif) repeat-x bottom;} .box2 .border-left2 {background:url(images/border_left2.gif) repeat-y left;} .box2 .border-right2 {background:url(images/border_right2.gif) repeat-y right;} .box2 .corner-top-left2 {background:url(images/corner_top_left2.gif) no-repeat left top;} .box2 .corner-top-right2 {background:url(images/corner_top_right2.gif) no-repeat right top;} .box2 .corner-bottom-left2 {background:url(images/corner_bottom_left2.gif) no-repeat left bottom;} .box2 .corner-bottom-right2 {background:url(images/corner_bottom_right2.gif) no-repeat right bottom; width:100%; } .box2 .indent-box{ padding:21px 18px 15px 28px; } /*==================block====================*/ .block{ background:url(images/bg_block2.gif); font-size:.84em; color:#7baffb; width:100%} #content .block h2{color:#fff; font-size:1.54em; margin-bottom:5px; font-weight:normal; width:100% } .block .bg-block{ background:url(images/bg_block1.gif) no-repeat top left} .block .indent-block{ padding:35px 25px 11px 28px} /*footer*/ #footer { color:#214880; font-size:0.6875em; } #footer .indent-footer{ padding:11px 50px 0 11px;} #footer a {color:#214880; text-decoration:none} #footer a:hover { text-decoration:underline} .jamp{ width:290px;} select{font-size:11px; color:#222222; height:20px; font-family: Arial, Helvetica, sans-serif; border:1px solid #beccd5; } .indent-2{ position:relative; padding-left:20px; float:left} .h{ height:24px} .block-contact span{ float:right; margin-right:180px} .input{ border:1px solid #fff; background:#FFFFFF; width:125px; height:19px; font-size:1em; padding-left:5px; vertical-align:middle; padding-top:2px } .input1{ border:1px solid #beccd5; background:#FFFFFF; width:285px; height:18px; font-size:1em; padding-left:5px; padding-top:2px } input{ border:1px solid #beccd5; background:#FFFFFF; width:285px; height:18px; font-size:1em; padding-left:5px; padding-top:2px } .textarea{ border:1px solid #beccd5; background:#FFFFFF; width:285px; height:60px; font-size:1em; padding-left:5px; margin-bottom:11px; overflow:auto} textarea{ border:1px solid #beccd5; background:#FFFFFF; width:285px; height:106px; font-size:1em; padding-left:5px; margin-bottom:11px; overflow:auto}
August 22, 200917 yr I want to reposition the #content or the #container If you have firefox install the addon Firebug then use the inspect tool to find the exact line in the CSS code you need to change
Create an account or sign in to comment