N0L1m1t5 Posted August 4, 2011 Share Posted August 4, 2011 If I want text to be positioned 80% below the top of the page and 30% away from the left side of the page (for example), how could i write this out with css? I didnt want to use pixels because I heard they arent the same for all screen resolutions and using percentages will adjust to any screen, is this true? Thanks Link to comment https://forums.phpfreaks.com/topic/243856-how-to-position-text-with-css/ Share on other sites More sharing options...
voip03 Posted August 4, 2011 Share Posted August 4, 2011 <style type="text/css"> <!-- .position { top: 80 px/%; left: 30 px/%; } --> </style> Link to comment https://forums.phpfreaks.com/topic/243856-how-to-position-text-with-css/#findComment-1252099 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.