How to fix desktop size??
-
How to fix desktop size??
Hi there, I've got a website, which I use Dreamweaver MX to create - it's pretty basic (can't get my head around CSS), but I just wondered if there was a way to fix the size of the page to a standard desktop setting, as when is loaded on a screen with a huge desktop size, it just automatically fits to it, making it look really weird with lots of white space and the text going right across. Firstly, does anyone know what I'm on about, and secondly, is there a way to fix the size of my frameset? An example of what I mean is the BBC.co.uk site which doesn't change when the browser window is made smaller or larger. Could I do it by putting another frame of "space" on the other side?
Cheers in advance,
Sam Hawcroft
www.football-books.com
-
change the size attributes for the frames, tables, pictures, whatever to percentages of the window space i.e. instead of 'height="x"' change to 'height ="y%"'.
This should scale all your content to the available space. Not sure if dreamweaver allows you to do this directly (never really used it) but if you open the code in a text editor it should be simple enough.
T
-
Another reason not to use frames. The use of tables controls this.
I originally designed my web site for an 800 x 600 scren which was fine until everyone started getting bigger screens and everything ended up too spaced out.
I have been redisinging the main pages over the last few weeks so that the site works in an 800 x 600 screen but still looks OK on bigger screens (at least I think so). I have done this using tables which keep each page on the left of the screen. I could of course have chosen to centralise it.
The site is in my signature.
-
Welcome to D-A-L Hubuk, you need to select to show you signature in your post
-
Whoops! Thought I had saved it.
Last edited by Hubuk; 05-02-2005 at 12:40 PM.
-
Signature has still not appeared!
-
Hi there, thanks for replying. I think I've figured it out in principle - I've mocked up a test page at http://www.football-books.com/hometest.html, which is fixed to 750 pixels width. But, as you can see at http://www.football-books.com/a-zauthortest.htm, when I put a longer piece of text in the middle table field, I can't get the other two sides to match up. How do I easily get everything to align at the top? I've tried putting more rows in the left and right tables, but it's a bit trial and error and I don't know if there's a quick way to make them all match up.
Sam
-
Not sure if I have grasped what you are trying to do as yet so feel free to ask me again.
One of the tricks of web designers to make tabels do what they want is to use a blank image. It can be whatever size you want the column to be. So if you wanted a column to be 50 pixles wide just craete an image in the same colour as your background.
Another way to control things is to insert tabels within tables. Also remember that you can specif the widths of columns in pixels or %.
If I have not answered your problem let me know and I will download your pages and have a closer look.
-
I'm not sure if this is right but it's an idea (not even going to try to look at the code in depth - dreamweaver makes messy code - notepad rocks!) anyway, the bars either side of the main text may be in a table cell that has a vertical align property set to centre, so they are appearing down the page.