| 
 Posted by Jonathan N. Little on 11/04/05 03:47 
©® wrote: 
>>p{position:absolute;bottom:0;right:0;} 
>> 
>><p>bottom right</p> 
>  
>  
> Is the first line like a css style? 
> Would I just copy the two lines and paste them somewhere into the BODY  
> of the html file? 
> Thanks  
>  
>  
3 options: 
 
1. Separate files 
Stylesheet 'mystyle.css': 
p{position:absolute;bottom:0;right:0;} 
 
HTML 'mypage.html' 
<html> 
<head> 
<title>Bare Bones 1</title> 
<link rel="stylesheet" type="text/css" href="mystyle.css"> 
</head> 
<body> 
<p>bottom right</p> 
</body> 
</html> 
 
2. In head of HTML 'mypage.html' 
<html> 
<head> 
<title>Bare Bones 2</title> 
<style type="text/css"> 
p{position:absolute;bottom:0;right:0;} 
</style> 
</head> 
<body> 
<p>bottom right</p> 
</body> 
</html> 
 
3. Inline 'mypage.html' 
<html> 
<head> 
<title>Bare Bones 3</title> 
</head> 
<body> 
<p style="position:absolute;bottom:0;right:0;">bottom right</p> 
</body> 
</html> 
 
--  
Take care, 
  
Jonathan 
------------------- 
LITTLE WORKS STUDIO 
http://www.LittleWorksStudio.com
 
  
Navigation:
[Reply to this message] 
 |