TinyPortal

Development => Support => Topic started by: marinelife on October 04, 2006, 01:55:59 PM

Title: page size
Post by: marinelife on October 04, 2006, 01:55:59 PM
I want my site to run at 1024 width but how do I do this, I set tinyportal to 1024 but everyone gets a scrollbar. What should this be set at to get teh screen to not scroll
Title: Re: page size
Post by: G6Cad on October 04, 2006, 02:01:49 PM
It shouldent do that , do you have any big images in some article or in the header ?
Title: Re: page size
Post by: marinelife on October 04, 2006, 03:19:49 PM
In TP setting I put 944 for width to get the scroll bar to leave, I think the Cell padding makes it all different plus the sides of the forum have some space so I have to take all that into account when setting the width
my site is http://www.masohio.com and you can see the side area


I guess what I am saying is the setting in TP is not for a true page width but just the forum part miss the cell pading and side bars
Title: Re: page size
Post by: G6Cad on October 04, 2006, 03:28:39 PM
It's your logo image that are the cause, can you try and shrink it a bit and then remodel it ? Maby dimm the edges on both sides so you can divide it in to 3 images ? That way you can have the sides of the image repete them selfs and let the main image be and that way make it work in all resolutions. One more thing thats good with that is the loading time for your site, the image is quite heavy and take some loading.
Title: Re: page size
Post by: marinelife on October 04, 2006, 03:33:27 PM
If I remove the image I still get bars if I set TP setting for 1024, but yeah I have thought about splitting up the main image for load time help. One problem with dimming and running that as a background that repeats is that it does not look right, that is one reason I went with setting the forum size
Title: Re: page size
Post by: akulion on October 04, 2006, 07:55:00 PM
why dont u try width=100% for the image attributes?

that will resize the image to fit different screen sizes..just a suggestion
Title: Re: page size
Post by: marinelife on October 04, 2006, 08:05:45 PM
The image is not the problem, without an image it still made a scroll bar, that internal setting in TP does not take into account the side area and the cell pading. Just like here the side area counts in the total width but that is not how TP is programed.
Title: Re: page size
Post by: akulion on October 04, 2006, 08:09:54 PM
for your theme open the Style.css file

it is in the /Themes/theme_name/ folder

open it and search for /* The main body of the entire forum. */

Set the cellpadding there to 0
Title: Re: page size
Post by: marinelife on October 04, 2006, 08:37:39 PM
I will have to try that thanks, I kinda like the edge around everything but I will still try that out
Title: Re: page size
Post by: marinelife on October 04, 2006, 08:44:50 PM
I have this

/* The main body of the entire forum. */
body
{
   background-color: #E5E5E8;
   margin: 0px;
   padding: 12px 30px 4px 30px;
}


What would I change
Title: Re: page size
Post by: akulion on October 04, 2006, 08:46:27 PM
set padding to  something small and test it out

remember to Force refresh ur browser since CSS files are usually put in cache

Force refresh in IE: CTRL F5
in Firefox: CTRL R
Title: Re: page size
Post by: marinelife on October 04, 2006, 09:19:35 PM
Yeah that gives me no edge space at all, why are there 4 numbers for padding
Title: Re: page size
Post by: akulion on October 04, 2006, 10:18:26 PM
top bottom left right
Title: Re: page size
Post by: marinelife on October 04, 2006, 10:22:58 PM
cool, thanks I will play and see what I like
Title: Re: page size
Post by: akulion on October 04, 2006, 10:28:17 PM
ur welcome :up:
Title: Re: page size
Post by: IchBin on October 04, 2006, 10:53:19 PM
Quote from: akulion on October 04, 2006, 10:18:26 PM
top bottom left right
The actual order is top right bottom left