FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
CSS - How to vertical center an object in CSS
How to center something horizontally AND vertically...
Firefox ignoring <object>
The hole through the center of earth?
A Boy with a Mission
Professional JavaScript For Web Developers
Site Nav Suggestions...
Has the peaceful dead center the good song
First XMLHttpRequest Object Project - A refreshless shoutbox
X Arcade Version 1.0
How Do You Center Your Entire Web Page?
.swi
center seperated from backround
www.poxyproxy.com is BACK!!!- Access blocked sites@school
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

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