Jump to content

okay so i have a div tag inside a div tag, but when i move the inside div e.g float left. it pushes all the other div tags on the website down and this one stays in th etop left! in otherwords how can i make it so the div tag i want to move doesnt interact with other divs and just sits on top? also should i float and create padding, help!!!

Check out my current projects: Selling site (Click Here)

If($reply == "for me to see"){

   $action = "Quote me!";

}else{

   $action = "Leave me alone!";

}

Link to comment
https://linustechtips.com/topic/302257-css-help/
Share on other sites

Link to post
Share on other sites

Are you clearing your floats?

Underneath that create a div with a class of clear then in your CSS make a rule

 

.clear{

    clear: both;

}

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/302257-css-help/#findComment-4107034
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

×