The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Ok I have nearly made my page fully SEO, it just the footer wont be a footer.
Using Absolute bottom 0 prevents the footer from scrolling with the page. You can see the page under construction at http://www.projectoblivion.com/ HTML Code:
<body> <!-- Page Width Declaration --> <div id="wrapper"> <!-- Main Content --> <div id="main_content"> <div class="title_text_1"> <br /><br /> <h2>First Title Here</h2> </div> <div class="content_text_1_bg"> <div class="content_text_1"> This is test text </div> </div> <div class="title_text_2_bg"> <br /><br /> <h3>This is title for plugin 2-5</h3> </div> <div class="content_text_2_bg"> <div class="content_text_2"> This is test text </div> </div> <div class="bottom"> </div> </div> <!-- / Main Content --> <!-- Side Content 1--> <div id="side_content"> <div class="title_text_1"> </div> <div class="content_1"> This is Test Content 1 </div> <div class="bottom_1"> </div> <!-- / Side Content 1--> <!-- Side Content 2--> <div class="title_2"> <div class="title_text_2"> <br /> <h5>Side Content Title Here 2</h5> </div> </div> <div class="content_2"> This is Test Content 2 </div> <div class="bottom_2"> </div> </div> <!-- / Side Content 2--> <!-- Clear Divs --> <div style="clear"></div> <!-- / Clear Divs --> <!-- Footer --> <div id="footer"> <div class="copyright"> <br /><br /> This is the copyright text </div> </div> <!-- / Footer --> <!-- Top Header Bar --> <div id="header_1"> </div> <!-- / Top Header Bar --> <!-- Middle Header Bar --> <div id="header_2"> </div> <!-- / Middle Header Bar --> <!-- Menu Header Bar --> <div id="header_3"> <!-- Menu Alignment --> <div class="menu"> <?php include('skins/marines/categories.php'); ?> </div> <!-- / Menu Alignment --> </div> <!-- / Menu Header Bar --> </div> <!-- / Page Width Declaration --> </body> HTML Code:
#footer
{ width: 995px;
height: 48px;
background-image:url(../images/footer.png);
}
#footer .copyright
{ color: #ffffff;
font-size: 9px;
text-align: center;
}
I also know the menu is broken. Im not finishing the menu till I can get the page working. edit ~I was able to fix this using a fixed call instead of absolute however it now hovers over my content. Any ideas? |
|
#2
|
|||
|
|||
|
I am not forsure how to solve your problem with the footer hovering but here is code to so you don't have to use the line breaks.
Code:
<!-- Footer -->
<div id="footer">
<div class="copyright">
<div style="margin-top: 10px;">
This is the copyright text
</div>
</div>
</div>
<!-- / Footer -->
|
|
#3
|
|||
|
|||
|
I didnt think of using margin-top. Thanks for that, I did not like the idea of the line breaks and they did not give me enough controll.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|