/    Sign up×
Community /Pin to ProfileBookmark

Center the object

I need to center fieldset on a screen. When I use <center> tag it blows up in Firefox. FireFox also does not like <div align=”center”>. <position:relative; left: 15%> also blows up in firefox on high resolution monitors or big screen.

My God, I hate firefox, what a pain in a butt.

But is there any simple way that i can center object on a screen.

Thank you very much.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@LeeUJun 21.2006 — Try
[CODE].centerTag {
margin: auto;
}[/CODE]
×

Success!

Help @Gerom7 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...