NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: John Hickey on June 17, 2007, 03:05:53 PM

Title: Centering browses on the web page
Post by: John Hickey on June 17, 2007, 03:05:53 PM
On the Newsgroups, Bryan asked:

I am trying to alter the layout of the browse pages so that they are central on the webpage.

I have managed to do this successfully with the forms by altering ..FormTable in netweb.css by using:
  text-align: Left;
  margin-left: auto;
  margin-right: auto;
  width: 820px;

Forms are then always in the centre of the browse window no matter what size it is. But I have had no luck finding the equivalent with Browses.
Any ideas?


Wolfgang Orth answered:

the browses (and most of the other parts of a page) have its own "id"

<div id="yourBrowse_tbl" ...>

Instead of poushing into Netweb.CSS you better create your own, its easier to maintain.

In your own css-file you add:

#yourBrowse_tbl {
background-color: red ;
and so on...
}

In CSS the # is for id's, the dot . is for classes