Log in

View Full Version : some help



ff123
05-14-2008, 12:10 AM
how can i Align this DIV to right i tried everything like <right> .. <div Id=".." align="right ..... but now working here is the code


<div id="myContent">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></div>

Medyman
05-14-2008, 01:30 AM
float:right;
Tutorial. (http://css.maxdesign.com.au/floatutorial/tutorial0106.htm)

ff123
05-14-2008, 09:15 AM
I want to align it right from that HTML page nt from CSS file and Float does'nt work either...

ff123
05-14-2008, 11:16 AM
i need this alight for this swfobject .. http://code.google.com/p/swfobject/wiki/documentation

Medyman
05-14-2008, 01:15 PM
I want to align it right from that HTML page nt from CSS file and Float does'nt work either...

1. You should be using CSS. The alternate ways of doing it with just HTML are deprecated and you're not going to get consistent behavior with them.

2. You don't need an external file for CSS. It's good practice because the entire point of CSS is to remove styling from markup. But it can still be added inline.

3. How did you try to add the float? The use of SWFObject makes no difference here.