0
   

Xhtml Floating problem.

 
 
Reply Tue 23 Dec, 2008 11:41 pm
How to float an element, such as image, into the xhtml code? Please provide with examples.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 2,085 • Replies: 1
No top replies

 
Robert Gentel
 
  1  
Reply Tue 23 Dec, 2008 11:47 pm
@bookworm619,
Code:<html>
<head>
<style type="text/css">
img
{
float:right
}
</style>
</head>

<body>
<p>In the paragraph below, we have added an image with style <b>float:right</b>. The result is that the image will float to the right in the paragraph.</p>
<p>
<img src="logocss.gif" width="95" height="84" />
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
</p>
</body>

</html>
0 Replies
 
 

Related Topics

 
  1. Forums
  2. » Xhtml Floating problem.
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.05 seconds on 12/22/2024 at 05:35:48