...

View Full Version : Align Text



Brooksy
08-11-2011, 01:16 PM
Hey Guys, I've made a ajax page, but I want to align it to the right of my page. Here is my script.


<a href="javascript:ajaxpage('AssociationofGeographicInformation.html','biopic');">
<div class="mod">
<div class="image"><img src="img/agi.jpg" alt="AssociationforGeographicalInformation logo" /><span>Association of Geographic Information</span>
</div>

Any Ideas???

thesslstore
08-11-2011, 02:19 PM
you can mentioned in class align="right" in class="mod".


by this you div set at right side of the page.

think so it is working

resdog
08-11-2011, 02:28 PM
The more effective way would be to use a float:


.mod {
float: right;
}

Brooksy
08-11-2011, 02:47 PM
I've tried...


<a href="javascript:ajaxpage('AssociationofGeographicInformation.html','biopic');">
<div class="mod-align="right">
<div class="image"><img src="img/agi.jpg" alt="AssociationforGeographicalInformation logo" align="right" /><span><p style="text-align:right;">Association of Geographic Information</p></span>
</div>

I've attached an image to show you what has happened...

I basicly want it to the right as a rectangle rather than it stretched :P



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum