fOmeN Posted May 22, 2014 Share Posted May 22, 2014 So, i don't know how to fix this -.-. How to make line float in the center? It's the green on on the nav_bar Here is the code in style.css .lines{float:center; width:%; background:#006600; margin-top:-5px} .lines{float:center; width:95%; background:#006600; margin-top:-5px} .lines.special{margin-top:30px} .line{float:left; width:10%; height:5px} .type1{background:#006600} .type2{background:#006600} .type3{background:#006600} .type4{background:#006600} .type5{background:#006600} and here is the code in globaltemplate <div class="lines"> <span class="line type9"></span> <span class="line type2"></span> <span class="line type3"></span> <span class="line type4"></span> <span class="line type5"></span> <span class="line type1"></span> <span class="line type2"></span> <span class="line type3"></span> <span class="line type4"></span> <span class="line type5"></span> </div> i tried to center it in the global template, but it doesnt work Link to comment Share on other sites More sharing options...
0 -Cookie- Posted May 22, 2014 Share Posted May 22, 2014 link me to your site VIA pm and i'll check it out Link to comment Share on other sites More sharing options...
0 Skreamzja Posted May 22, 2014 Share Posted May 22, 2014 what's your site url? Link to comment Share on other sites More sharing options...
0 fOmeN Posted May 22, 2014 Author Share Posted May 22, 2014 (edited) DELETE Edited May 22, 2014 by fOmeN Link to comment Share on other sites More sharing options...
0 Lock Down Posted May 22, 2014 Share Posted May 22, 2014 Try removing these lines <span class="line type5"></span> 1 Link to comment Share on other sites More sharing options...
0 fOmeN Posted May 22, 2014 Author Share Posted May 22, 2014 Try removing these lines <span class="line type5"></span> thx bro Link to comment Share on other sites More sharing options...
0 Norg Posted May 22, 2014 Share Posted May 22, 2014 The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.If you have other questions, please open a new topic. 1 Link to comment Share on other sites More sharing options...
0 Skreamzja Posted May 22, 2014 Share Posted May 22, 2014 it seems like there is too many line codes there, Why don't you put the main_width in front of the primary_nav? and then add a bottom border to it? it will then look like this. Link to comment Share on other sites More sharing options...
Question
fOmeN
So, i don't know how to fix this -.-. How to make line float in the center?
It's the green on on the nav_bar
Here is the code in style.css
.lines{float:center; width:%; background:#006600; margin-top:-5px} .lines{float:center; width:95%; background:#006600; margin-top:-5px} .lines.special{margin-top:30px} .line{float:left; width:10%; height:5px} .type1{background:#006600} .type2{background:#006600} .type3{background:#006600} .type4{background:#006600} .type5{background:#006600}and here is the code in globaltemplate
i tried to center it in the global template, but it doesnt work
Link to comment
Share on other sites
7 answers to this question
Recommended Posts