answersLogoWhite

0

Absolute is used to refer to a specific position on the screen. Relative is for refering to a position relative to a another item. If you wanted something 1 inch from the top and 1 inch from the left, that would be an absolute. If you wanted something 1 inch below the position it would be normally displayed, then that would be relative.

<span style="position:absolute; top:1in; left:1in;">This is absolute</span>

<span style="position:relative; top:1in;">This is relative</span>

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What is the definition for a relative address in CSS?

Relative addresses exist on servers and in HTML. A webpage can have a relative address linking a stylesheet to it. They do not exist in CSS.


Difference between inline and internal css?

Inline CSS sits within the HTML tag.For example: your text hereWhen using Internal CSS, all the CSS instructions sit in the section between your css here tags.To use Internal CSS you have to tell the page that you want it to use the css whilst Inline CSS is run automatically as the page is read.


How do you fix a span relative to the document but contained in the parent div?

as long as there is no parent elements with their css styled to position:relative. Than you can just change its style to the following: #span { position:absolute; } This will make it absolute to the document or body element if the div or parent element of the span element were to have position: relative, then the span element would be absolute positioned to the div and not the body element


What is the difference between an HTML page and a dhtml page?

DHTML combines HTML, JavaScript, the HTML DOM, and CSS.


Where can you find free css templates?

Online; just type "css templates" into your favourite search engine.


Does Internet Explorer 6 support CSS absolute positioning?

Yes, Internet Explorer 6 and later versions support CSS absolute positioning. You can put any element to absolute position using following syntax :You may also use left, top, right, bottom, z-index properties with CSS to get better result.Have a nice day!Pradip


What is the difference between single quotes and double quotes?

in programming, single quotes are for characters, and double quotes are for string, but in php, javascript, html, css i don't see any difference between the two.


What is the difference between in-line style and the internal sheets?

Inline and internal style-sheets are 2 forms of CSS in HTML file. In-line CSS is used within the code of HTML, while the internal one is used at the beginning.


What relative path should be used to link the styles css file?

To link a CSS file using a relative path, you need to specify the path from your HTML file to the CSS file. For example, if your CSS file is in a folder named &quot;styles&quot; located in the same directory as your HTML file, you would use: &lt;link rel=&quot;stylesheet&quot; href=&quot;styles/style.css&quot;&gt;. If the CSS file is in a parent directory, you would use: &lt;link rel=&quot;stylesheet&quot; href=&quot;../style.css&quot;&gt;. Adjust the path according to the actual directory structure of your project.


How do you color the area between margins using HTML or CSS?

You can set the color of margin in CSS. The attribute margin-color is what sets it.


How do you place images in between text frames?

You have to use a Stylesheet (CSS). Or you can type CSS straight into the document.


How do you make Blogger clock follow the page?

You have to position it absolute with css. { position: absolute; top: 10px; left: 30px; } Now, when you scroll down the page, the clock won't disappear.

Trending Questions
What does a user interface do? What Is A The Tool That Can Be User Of Ms Excel 2007 Can Use To Enlarge And Reduce The Size Of The Spreadsheet View.? How many cubic feet of gravel will be needed to fill a circular area 14 feet across and 3 inches deep show you how to work this please? What is an MSI inspection? What are the two main differences between 32-bit and 64-bit architecture? What are the features of Windows 98 OS? What is the maximum speed for Thicknet coaxial cable? What is a collection of facts from which conclusions may be drawn in oracle database? What is it called when a reference is made to something to redo it is thought to be familiar with it? Name a few differences in Vista gpos and XP GPOs? What is The Windows utility that is designed to reorganize the data on your hard drive so that your computer runs more efficiently is called? What is a Wireless network that is designed to cover a wide area and is made up of numerous cells? What examples open source OS? What does it mean when a man can't leave his wife but can't end his affair with the other woman that he has been seeing for the last 9 years? 16 Give two situations in which Windows keystoke shortcuts might be useful? Difference between Flat File Database and Relational Database? Do rats eat termites because if they do and you have rats living in the walls of your home then should you let them stay there? Why do you use antivirus software? Which layer of the OSI model do VoIP signaling protocols operate in? What is the procedure for storing the information in a laboratory information management system LIMS?