Log In · Register

 
 
Closed TopicStart new topic
off center issue
freedomtocreate
post Mar 9 2010, 05:49 PM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: May 2007
Member No: 523,111



I make website and myspace layouts, naturally I show them to my boyfriend because he's my biggest supporter.

The layouts look fine on my computer and on other people's computers, but on his the main image is off center.

Is there any way I can make the images look center universally?

[sorry if this isn't in the right area I'm kind of new to the site]
 
Mikeplyts
post Mar 9 2010, 06:31 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Try using margins instead of absolute positioning (I assume that's what you're doing) in your CSS if you're looking for a center type template.

Like so:
CODE
div#myDIV {
    margin:auto; /* Will make left and right margins be placed in center of page, no matter what resolution. */
}
 
manny-the-dino
post Apr 2 2010, 01:00 PM
Post #3


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed, and Moved to Resolved Topics. Please PM a moderator if you would like this reopened.
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: