|
|
Posted 08/01/2004 07:32:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 06/04/2005 06:02:00
Posts: 7,
Visits: 1
|
|
I'm currently implenting the InstantForum.Net into my existing site and I'm have a bugger of a time figuring out how to constrict the forum width to 750 pixels. It must be fairly simple but I'm overlooking it. Can someone point me in the right direction? Thanks much in advance and happy new year to all! -David
|
|
|
|
Posted 08/01/2004 07:34:00 |
|
|
Supreme Being
      
Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582,
Visits: 876
|
|
I just did much of the same and while I can do it in general, users entering in monster graphics or non broken links (long links) etc will force the horizontal scroll. If you go into header.ascx and footer.ascx you can quickly add opening table tags and set the width and then in the footer put the closing table tag. If you'd like more detail, let me know.
Mark 'Rigger82' Christianson US Paratrooper & Webmaster of Paratrooper.net http://www.paratrooper.net
|
|
|
|
Posted 08/01/2004 07:59:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 06/04/2005 06:02:00
Posts: 7,
Visits: 1
|
|
Thanks for the follow-up Mark. I figured out to tweak the header.ascx and footer.ascx however my real issue was with the body of the forum expanding to a 100% not constricted to 750 pixels. To control this I modified the style.css for the skin I'm going to use and the added a width to the .ForumsBackGroundTable definition so it looked liked this: .ForumsBackGroundTable { background-color: #FFFFFF; border-bottom: #345487 1px solid; border-right: #345487 1px solid; border-top: #345487 1px solid; border-left: #345487 1px solid; width: 750px; left: auto; } This worked great however only of your site is centered on the web page. Unfortunately my site is left justified and some of the table in most the .ascx files had to be changed to either left justified or default to work properly. -David
|
|
|
|
Posted 08/01/2004 08:02:00 |
|
|
Supreme Being
      
Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582,
Visits: 876
|
|
If I understand correctly then adding a 750px wide table starting in the header with ONE cell to hold all the forum data should do the trick... just left justify (or leave alone) the table and let the normal layout of the forum be handled WITHIN that big cell. This way you dont change the skin and risk the formatting going nuts when someone selects a different skin. Got an example link? Mine is www.paratrooper.net/commo
Mark 'Rigger82' Christianson US Paratrooper & Webmaster of Paratrooper.net http://www.paratrooper.net
|
|
|
|
Posted 08/01/2004 10:43:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
Hi David, Mark is quite right with his suggestion. The easiest method todo this would be to add a start of a table to the header.ascx and then close this in the footer.ascx For example in controls/header.ascx <table width="750"><tr><td> (header.ascx code here) .... Then in the controls/footer.ascx do something similar and close the table for example... (footer.ascx code here) </td></tr></table> Hope this helps 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 08/01/2004 13:37:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 06/04/2005 06:02:00
Posts: 7,
Visits: 1
|
|
Wow, I knew it should be simple. I misunderstood your reply Mark. I made it a whole lot harder for myself with all the modfifying I did. Opening and closing a table in the header and footer is a much easier, cleaner and better way to do it. Thanks for the guidance! -David
|
|
|
|
Posted 08/01/2004 13:38:00 |
|
|
Supreme Being
      
Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582,
Visits: 876
|
|
Not a problem at all. Sometimes the easiest way is the simple one.
Mark 'Rigger82' Christianson US Paratrooper & Webmaster of Paratrooper.net http://www.paratrooper.net
|
|
|
|
Posted 08/01/2004 15:55:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
Hi David, Don't forget to share your URL once live 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 15/01/2004 14:23:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 06/04/2005 06:02:00
Posts: 7,
Visits: 1
|
|
|
|
|
Posted 15/01/2004 14:26:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
Hi David, Thanks for posting the link. However i'm receiving the following error... Object reference not set to an instance of an object. I'm not sure what is occuring but if you can provide any feedback or send FTP details i'll take a look 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|