/    Sign up×
Community /Pin to ProfileBookmark

Center form

Hi

I’m trying to figure out away to center my form in the the middle of a column on my page

my web page is designed as a three column. The left column is the navagation bar, the middle is the form and the left is additional information

currently the data in the middle floats to the right but I want it to center

here is the code that positions the form

[code]
display: block;
margin: 0 0 1em 0;
padding: 0em 0em 1em 1em;
border:3px groove #EEFAEA;
color: #000000;
width:60%;
font-size:.7em;
}
[/code]

set column details

[code]
#center {
width:65%;
float:right;

[/code]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@ray326Apr 13.2006 — margin: 0 0 1em 0; -> margin: 0 auto 1em auto;
Copy linkTweet thisAlerts:
@kprocauthorApr 14.2006 — thank you, that worked like a charm

cheers
×

Success!

Help @kproc 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.16,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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