NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on September 09, 2009, 09:04:37 AM
-
Hi,
I have a site that has a fixed header and a fix footer, they are centered.
I need all the pages generated by NTWS be centered.
To achive this, I am modifying all the CSS, but in some cases, I dont get the result I want.
The browses, by example, they appears to the left the first time and when I click on Next or Last, etc it get centered.
Is there any easy and effective way?
Thanks
Alberto
-
JAT - you could open a div tag at the end of your header and close it in your footer give it a class that aligns kind of center
I don't know of a horizontal position: center property but you might do this
<div style="width: 75%; left: 12%; position: relative"> bottom of the header
</div> top of the footer
to give the feeling of being cenetered by the margins relative to the header.
as long as you don't use any absolute positioning in the rest of your sytle sheets it might not look too bad.
chris
-
I'm getting my butt kicked by clients over the issue of centering applications. They jump from a centered website to an app that is left justified, and they don't like that.
One thing that helps is to add some space in the css file. This is the code I use in my all.css file to give a bit more space on the left. The problem is it has little meaning if someone is using a really big monitor:
.PageBody {
margin-left: 50px;
}
-
Thanks all,
I've tried your ideas but they finished in left indent bodies with centered headers and footers.
I am using one .PageBody, .alert, .button, .div per page, one for the login page, one for each browse, etc
A lot of confused work.
Alberto
-
Can you post an address to one of the centered pages you are trying to match?
chris
-
Well, I'll throw one out that I'm working on: http://74.60.133.68:4608/Showroom2