Positioning : float : Layout HTML CSS TUTORIALS


HTML CSS TUTORIALS » Layout » float »

 

Positioning


 

<!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" xml:lang="en">
<head>
<title>Positioning</title>
<style type="text/css">
#logoMain {
    float: left;
}
#logoSub {
    float: right;
}
</style>
</head>
<body>
<img id="logoMain" src="http://www.navioo.com/style/logo.png" width="300" height="100" alt="" />
<img id="logoSub" src="http://www.navioo.com/style/logo.png" width="200" height="50" alt="" />
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Layout
» float