| Welcome to Webforumz.com. |
|
Aug 10th, 2006, 21:21
|
#1 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Need help with my Copyright!!!
Here is a page from my site which illustrates the problem:
click here to view the page!
My copyright bar at the bottom of my page rightfully follows where the content is, so if more content is added, the copyright will move down along with the content, however as you can see, the navbar goes straight through the Copyright!
Is there anyway of making the copyright bar rest under the navbar, but make the content pick it up if the content goes below the navbar??
Basically I want the copyright bar to be at the bottom of the page all the time!!!
Can someone help??
Last edited by djcee; Aug 10th, 2006 at 21:23.
|
|
|
Aug 10th, 2006, 22:05
|
#2 (permalink)
|
|
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,319
|
Re: Need help with my Copyright!!!
You need to restructure the page with proper markup such that you can place the copyright message in a footer that is always at the bottom, no matter which of the columns above is the longest.
You could fix the 55 validation errors while your at as well.
__________________
Regards
Geoff
|
|
|
Aug 11th, 2006, 11:03
|
#3 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
Quote:
Originally Posted by ukgeoff
You need to restructure the page with proper markup such that you can place the copyright message in a footer that is always at the bottom, no matter which of the columns above is the longest.
You could fix the 55 validation errors while your at as well.
|
Yeh, I think those errors are something to do with my Content Management system! They dont effect the site!
So I'm gonna have to completely redo the CSS??? And there's no other way?? Coz I'm not very good with CSS & Html really. I can do most stuff, but nothing to do with like what content will appear where and stuff! Is there an easy way of keeping it at the bottom, or under the nav bar without having to do anything complicated??
Or could you tell me how to do it??
I would be REALLLLY greatful! I downloaded the template from Zymic.com, they obviously didnt structure it very well themselves!!
Last edited by djcee; Aug 11th, 2006 at 12:54.
|
|
|
Aug 11th, 2006, 12:56
|
#4 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
I could put the copyright bar as a PHP file and then make it display that, so that I wouldnt have to keep editing it on each page!!
Is there a way I could make say the contents of a PHP file appear at the bottom of the page but under the navbar! Because if I position the copyright bar at the bottom now, it goes at the bottom but is still behind the navbar! I need it one line below the bottom of the navbar!
Is there a way of doing this?? If I have to restructure the entire page, it would really PI$$ me off! but isnt there something simpler you can do??
|
|
|
Aug 11th, 2006, 13:33
|
#5 (permalink)
|
|
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,612
|
Re: Need help with my Copyright!!!
Your navigation is a floated element which takes it out of the normal flow. You need to place a clearing div above your footer (Would be the easiest fix). Also you can do a PHP include for the footer file. The "Clearing" div will keep the footer below the nnavigation regardless of the main contents length on the page. I have it in use on my http://www.newguyinennis.com site as well as many other projects I have done.
PHP Include:
- Code: Select all
<? include("filename.php") ?> Clearing Style
- Code: Select all
.clearing {
height:0;
clear:both;
} and in your HTML:
- Code: Select all
<div class="clearing"> </div>
Last edited by moojoo; Aug 11th, 2006 at 13:39.
|
|
|
Aug 11th, 2006, 15:04
|
#6 (permalink)
|
|
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,319
|
Re: Need help with my Copyright!!!
If you want to take the time to look at a blank template system and the notes that come with that explains why everything is the way it is then download this package I put together a while back. The .zip file contains everything.
http://1ontheweb.net/downloads/Templates.zip
__________________
Regards
Geoff
Last edited by ukgeoff; Aug 11th, 2006 at 16:08.
|
|
|
Aug 11th, 2006, 15:35
|
#7 (permalink)
|
|
Up'n'Coming Member
Join Date: Jun 2006
Location: Rochester, NY
Posts: 63
|
Re: Need help with my Copyright!!!
i didnt look into your code, but i had a similar problem once, you want to move the code for the copyright out of the area of the text, so that its not associated with it. Im assuming your tried to put it at the end of the html file, try the beginning, and then make sure your css is position absolute, and bottom 0px or whatever. hope that helps
__________________
I Am Currently Available For Private Work
|
|
|
Aug 11th, 2006, 15:36
|
#8 (permalink)
|
|
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,612
|
Re: Need help with my Copyright!!!
Or use my method and it will stay below the navigation regardless of the contents height.. Sheesh listen to the moojoo damnit heh. of course it has to be placed correctly and I have not looked at his source code.
|
|
|
Aug 11th, 2006, 17:14
|
#9 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
Quote:
Originally Posted by moojoo
Or use my method and it will stay below the navigation regardless of the contents height.. Sheesh listen to the moojoo damnit heh. of course it has to be placed correctly and I have not looked at his source code.
|
yeh ill have a go at your method!
So I add the clearing div to my stylesheet. Put the Copyright bar into a PHP file and link to it! Then rap the "clearing div round the PHP?? e.g. <div class="clearing"><? include("filename.php") ?></div>. Is that correct?
Also, if the content goes below the navbar, will it pick up the copyright bar and move it down along with the content??? or will it cut through the content and remain at the bottom of the navbar??
Last edited by djcee; Aug 11th, 2006 at 17:18.
|
|
|
Aug 11th, 2006, 17:15
|
#10 (permalink)
|
|
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,612
|
Re: Need help with my Copyright!!!
If you put it above the footer it should work. View the source on my site and see how I placed it. http://www.newguyinennis.com
- Code: Select all
<div class="clearing"> </div>
<div id="footer">
<p>© <a href="http://www.newguyinennis.com/copyright" title="Copyright & Disclaimer">M & S Evans 2006</a> ¦ <a href="http://validator.w3.org/check?uri=referer" title="Validate this pages XHTML">XHTML</a> ¦ <a href="http://www.newguyinennis.com/css" title="Validate this pages CSS">CSS</a> ¦ <a href="http://www.newguyinennis.com/site-map" title="View our Site Map">Site Map</a> ¦ <a href="http://www.newguyinennis.com/rss/" title="xml_feed_title">RSS</a> ¦ <a href="http://www.newguyinennis.com/archives" title="Archives of articles">Archives</a> ¦ <a href="http://www.newguyinennis.com/links" title="Handy links">Links</a></p>
</div>
|
|
|
Aug 11th, 2006, 17:58
|
#11 (permalink)
|
|
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 719
|
Re: Need help with my Copyright!!!
For help with your copyright, go HERE.
|
|
|
Aug 11th, 2006, 18:04
|
#12 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
Quote:
Originally Posted by moojoo
|
Cool yeh I got it working thnx ma8 t8ke a look! Is there a way of getting a slight space between the bottom of the navbar and the copyright? Coz it looks kinda bad stuck directly to the navbar bottom!!
Is there a simple way of adding a space without creating a break in the content background image? Thanx then I'll shut up if u can tell me 
|
|
|
Aug 11th, 2006, 18:07
|
#13 (permalink)
|
|
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,612
|
Re: Need help with my Copyright!!!
1)
<div class="clearing">
<div id="copyright">
Copyright © 2006 <a href="">Silver Ocarina</a> | Design by <a href="http://zymic.com/forum/index.php?showuser=286">Lenny</a> of <a href="http://zymic.com">Zymic</a>
</div></div>
</div>
should be
<div class="clearing"> </div>
<div id="copyright">
Copyright © 2006 <a href="">Silver Ocarina</a> | Design by <a href="http://zymic.com/forum/index.php?showuser=286">Lenny</a> of <a href="http://zymic.com">Zymic</a>
</div>
2)
add margin:8px 0 0 0; to #copyright or whatever value you want.
|
|
|
Aug 11th, 2006, 18:11
|
#14 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
which one is top (2px, 0px, 0px, 0px) lol! Is it the one with 2px??
Im guessin i need to input a negative value in??
|
|
|
Aug 11th, 2006, 18:14
|
#15 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
Quote:
Originally Posted by moojoo
1)
<div class="clearing">
<div id="copyright">
Copyright © 2006 <a href="">Silver Ocarina</a> | Design by <a href="http://zymic.com/forum/index.php?showuser=286">Lenny</a> of <a href="http://zymic.com">Zymic</a>
</div></div>
</div>
should be
<div class="clearing"> </div>
<div id="copyright">
Copyright © 2006 <a href="">Silver Ocarina</a> | Design by <a href="http://zymic.com/forum/index.php?showuser=286">Lenny</a> of <a href="http://zymic.com">Zymic</a>
</div>
2)
add margin:8px 0 0 0; to #copyright or whatever value you want.
|
do i have to put the </div> straight after the <div class> tag?? it seems to be working fine, or doesnt it matter??
|
|
|
Aug 11th, 2006, 18:19
|
#16 (permalink)
|
|
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,612
|
Re: Need help with my Copyright!!!
Well currently you have the div #copyright contained within the clearing div.
|
|
|
Aug 11th, 2006, 18:40
|
#17 (permalink)
|
|
Junior Member
Join Date: Aug 2006
Location: UK
Posts: 14
|
Re: Need help with my Copyright!!!
Quote:
Originally Posted by moojoo
Well currently you have the div #copyright contained within the clearing div.
|
and whats the bad thing about that? is that bad? coz the copyright bar looks ok at the moment!
|
|
|
Aug 11th, 2006, 18:49
|
#18 (permalink)
|
|
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,612
|
Re: Need help with my Copyright!!!
I am just a code nazi. Fix it before I have to send Dan over to you | | | |