NetTalk Central

Author Topic: How to Position Browse on Page -- Newbie  (Read 4469 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
How to Position Browse on Page -- Newbie
« on: December 27, 2007, 03:11:29 PM »
I've looked through the css files but am confused about where to set the position of the browse.  By default it hugs the left margin.  I read the thread about using center, but am not quite sure how that works.

I'm also hoping to change the background color of the browse, as well as the highlighted color.

What would be really helpful (to me) would be an idiot's guide that shows what part of the css file controls what part of the application.  IOW:  You can change the page bg color here.  Change the Table's bg color here, etc. 

Thanks,

Jim


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How to Position Browse on Page -- Newbie
« Reply #1 on: December 28, 2007, 12:10:53 AM »
Hi Jim,

First some specifics, then some general advice.

a) To change the browse greenbar, and highlight colors, see the "CSS Classes" tab on the NetWebBrowse settings.

>> What would be really helpful (to me) would be an idiot's guide that shows what part of the css file controls what part of the application.  IOW:  You can change the page bg color here.  Change the Table's bg color here, etc.

All of the templates have a CSS Classes tab which lets you set all the CSS classes used by that procedure. The best way to see the effect of the classes, and their settings, is to run using the firefox browser (www.getfirefox.com) and add too that the FireBug extension (www.getfirebug.com). This allows you to literally use the mouse over the page to see the CSS in action. You can even change it in real-time to see the effect it'll have.

This thread covers some aspects of editing style files
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=116.0

This thread talks about the compression of style files.
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=157.0


That takes care of the visual aspects of CSS - which is highly compatible across all browsers.

Now let's talk about centering the browse. This is possible to do using CSS, but I should warn you that it's probably not a good idea. The "Positional layout" aspects of CSS are not terribly compatible between browsers, and can lead to major headaches down the road.  For now I'd recommend concentrating on the functionality, and "look" of your site, and don't get too bogged down with the "position" of standard items.

Cheers
Bruce


Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: How to Position Browse on Page -- Newbie
« Reply #2 on: December 28, 2007, 07:49:56 AM »
Thanks Bruce.  I'll try what you suggest (already using FF and Firebug).  My primary concern is to move the Browse away from the far left margin.  Your post on another thread re Centering the Browse is probably what I should do.

Best,

Jim