Center login form.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
hlloyge
Forum Members
Forum Members
Posts: 11
Joined: Mon Apr 02, 2007 4:49 pm

Center login form.

Post by hlloyge »

Hello all!

I have trouble centering the login form on this little site I made. Login is located beneath the left menu, and position is just a little beneath. Right now it looks like this:

Image

And I would like it to be either centered... to look nicer. How do I accomplish that? Login si made with Fronten User Management module.

Thank you.

Ivan.
cyberman

Re: Center login form.

Post by cyberman »

Can you post a link so we can make a look?

(Have currently no access to my test area)
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Center login form.

Post by RonnyK »

Ivan,

you can wrap it inside a DIV, f.e. the same one used for NEWS, then the login comes to the middle. Or copy the logic for DIV#news in CSS to a new DIV and use that to wrap it around the calling of the login.

Ronny
hlloyge
Forum Members
Forum Members
Posts: 11
Joined: Mon Apr 02, 2007 4:49 pm

Re: Center login form.

Post by hlloyge »

Can you post a link so we can make a look?
(Have currently no access to my test area)
I can't, because it's on the local intranet. It is not accessible on internet.
I used default settings, just added login into template below left menu.
you can wrap it inside a DIV, f.e. the same one used for NEWS, then the login comes to the middle. Or copy the logic for DIV#news in CSS to a new DIV and use that to wrap it around the calling of the login.
Well, I did the first thing, and the results are the same, except it is nicely wrapped in that news box with it's orange-ish colour :) should I add divs directly to template of the site, or to the user login template? I did second thing... will try first one.
Post Reply

Return to “Layout and Design (CSS & HTML)”