FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

I can't center an object

 


solmol
Hey, here I come again with my newbie questions.
I'm having trouble centering an object with dreamweaver; It was so easy when I used frontpage; you just pick centered and that's it. But in DW "absolute middle" and "middle" don't seem to do it. Neither using aling=center or something like that.
niranvv
"absolute middle" means it will center the object in vertical manner!

Try this thing!

Code:
<div align=center>
  Ur Code here
</div>


Niran

Rolling Eyes
timerecords
yes, if you use div's try what niranvv said or else if you just use HTML try this:

Center Image:
Code:
<center><img src="URL OF YOUR IMAGE GOES HERE" /></center>
solmol
timerecords wrote:
yes, if you use div's try what niranvv said or else if you just use HTML try this:

Center Image:
Code:
<center><img src="URL OF YOUR IMAGE GOES HERE" /></center>


Thanks, this did it.
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.