Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Setting the Forum Width
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting the Forum Width

 Post Reply Post Reply
Author
jscano View Drop Down
Newbie
Newbie


Joined: 03 July 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote jscano Quote  Post ReplyReply Direct Link To This Post Topic: Setting the Forum Width
    Posted: 05 February 2007 at 9:35pm
I posted a question about this a long time ago, but didn't really get an answer I understood. Let me try again.

I'm wanting to set the overall width of the forum to a set value (900px). I'm familiar with a <div>, but where would I put the <div>? What file?

Thanks in advance,

J
Back to Top
Melkor View Drop Down
Groupie
Groupie


Joined: 11 December 2006
Location: United States
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Melkor Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2007 at 6:12am
My first thought would be to add it to the css

/* Page body */
body{
    width: 900px
    background-color: <% strBGC %>;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}

Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2007 at 9:30am
That was my first thought too, although I was thinking of setting the table widths, so instead of

/* Tables */

.basicTable{
     border: 0px;
     width: 98%;
}

.errorTable{
     border: 1px solid #FD7D40;
     background-color: #FFF2E6;
     width: 98%;
     color: #FF0000;
}

.tableBorder, .wwgAdTable{
     border: 1px solid #B6B9CB;
     background-color: #FFFFFF;
     width: 98%;
}


use


/* Tables */
.basicTable{
     border: 0px;
     width: 900px;
}

.errorTable{
     border: 1px solid #FD7D40;
     background-color: #FFF2E6;
     width: 900px;
     color: #FF0000;
}

.tableBorder, .wwgAdTable{
     border: 1px solid #B6B9CB;
     background-color: #FFFFFF;
     width: 900px;
}


Either way should do the trick i would've thought.
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2007 at 12:21am
can it be set through header.asp? I mean it starts there right?
Lets!
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2007 at 12:55am
There's only 3 lines of code in header.asp, none of which are width related.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.