Hi i need help if theres something in css codes that make the text float to the top.. tnx.

Recommended Answers

Do you want to move text to vertically align within an element such as a div, {vertical-align:top}, or do you want the element that contains the text to move to the top of the page, {position:absolute;top:0px;left:0px;}

Jump to Post

All 3 Replies

Do you want to move text to vertically align within an element such as a div, {vertical-align:top}, or do you want the element that contains the text to move to the top of the page, {position:absolute;top:0px;left:0px;}

or do you want the text to float above/over other elements as a layer, z-index:
z-index:0 //default layer higer numbewrs float above lower numbers, range -∞ to +∞

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.