Jump to content

so i want to make a bar on the bottom of my site, a lot of sites do this and they put like copyright 2016 in it like this 

 

i tired to do 

 

CSS code 

 

.three {
		float: bottom;
		width: 100%;
		height: 10%;
}

 

and i set that class on my div but the div just goes to the right side of the screen. i tired to google this and look on stackoverflow but all i found was people asking how to make a fixed bar, I do not want it to be fixed just to be on the very bottom of the site. 

 

Link to comment
https://linustechtips.com/topic/598018-is-float-bottom-a-thing/
Share on other sites

Link to post
Share on other sites

2 minutes ago, dannytech357 said:

No, float: bottom does not exist. Is this what you're trying to accomplish?

yes i looked at that thread, i tried bottom: 0 and it didnt do it either, even if i dont give the div a class it still stays on the side too

 

Link to comment
https://linustechtips.com/topic/598018-is-float-bottom-a-thing/#findComment-7765722
Share on other sites

Link to post
Share on other sites

7 hours ago, GreezyJeezy said:

yes i looked at that thread, i tried bottom: 0 and it didnt do it either, even if i dont give the div a class it still stays on the side too

Just because it hasn't been answered yet.

position:absolute;

 

is required. Not just bottom: 0; Also, for absolute or fixed positioning to be effective, the parent has to be relative. Usually it is by default buuuuuuuuuuuut, sometimes it's not. It seems like the past week has been you doing a lot of positioning stuff, so the parent container may not be relative. 

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/598018-is-float-bottom-a-thing/#findComment-7767114
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×