PDA

View Full Version : css positioning property



yoonukut
26 Mar 2008, 06:20 AM
please send the use of visibility, z-index, overflow in positioning property in css.


in this code how we use visibility, z- index, overflow etc.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="file:///C|/Documents and Settings/XXX/Desktop/zxc.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="ghh">
<blockquote>
<p> first div </p>

<h3>One Central Stylesheet</h3>
<p>This is how you should use most of your CSS. You write just one .css file and have <em>all</em> your pages referencing it. This way, a change to anything in this one file will adjust this thing (a font, for example) across your whole site. You could change your entire colour scheme with one modification if you want, over an unlimited number of pages. That&rsquo;s one of the things CSS was designed for &mdash; <strong>flexibility</strong>.</p>
<p>To create your stylesheet, open a text editor (NotePad or SimpleText will be fine). Remember in the very <a href="http://www.yourhtmlsource.com/myfirstsite/myfirstpage.html#SAVING">first lesson</a> on this site, you learned how to save from a text editor into the .html <a href="http://www.yourhtmlsource.com/starthere/fileformats.html">file format</a>? Well, here you&rsquo;ll be doing roughly the same except your file will have a .css suffix. Just save a blank file as <em>mystyles.css</em> and put it in the same directory as your homepage. Now that you have that, I can show you the syntax used in CSS:</p>
</div>
<div class="ghh">div2</div>
</body>
</html>