Click to See Complete Forum and Search --> : Web Templates - how to remove background image


AjasHadi
10-27-2005, 09:49 AM
Hi everyone,
I have a webtemplate which has flash and non flash versions. I am opening both the html files provided with it in Dreamweaver. My problem is this :

There is this main area of page displayed behind a image background which takes some space on left and on right. Here is the code
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 background="images/bg.jpg">
<!-- ImageReady Slices (7.psd) -->
<TABLE WIDTH=760 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" height=100% bgcolor="ffffff">

If I remove background="images/bg.jpg">, then background changes to plain white but I dont want this. I want the whole page i.e content page to take up the whole browser screen. any suggestions are welcome.

If you still dont get it, I have attached part of the site. Notice the side borders on Left & Right.

thanks in advance...

sae
10-27-2005, 12:38 PM
you can center your page (does it do that already?) and change the background color using "bgcolor="#345687"

Now if you want the whole page to stretch from one side to another, you will have to redo the enire template.

AjasHadi
10-27-2005, 02:06 PM
Yeap its centred... as u can see from image...
About editing the template what are the options I have... Is it possible to open the template file which maybe photoshop i.e psd and increase the size or I have to take care of all the objects... Just curious bcause never used Adobe photoshop.

Thanks in advance.

sae
10-27-2005, 03:07 PM
well the challenge is that the website has to get bigger and smaller based on the person viewing the website. My designs usually don't lend themselves to that very nicely, so I just usually keep it the way it is an center it on the page.

AjasHadi
10-27-2005, 03:18 PM
well, All I am asking is how to remove the background and make image or main content occupy the whole browser screen. I am losing so much space in those sides...

Anyone got any ideas... I need this asap...

Tweak4
10-31-2005, 07:29 AM
We're not going to be able to do much without the code itself. It's hard to say how to undo something without knowing how it was done in the first place.

AjasHadi
11-02-2005, 08:49 AM
hi tweak and all,
I have attached the template zip file(original file). I viewed this by setting my screen size to 800x600 and it appears in browser screen completely, but when I change my screen size to 1200x768 it kind of comes to one side leaving some empty space towards right... I am previewing this using adobe photoshops view in browser feature when you try SAVE FOR WEB menu. I would like to increase the size so that it appears and occupies the whole screen no matter whats the resolution on my or clients pc.

thanks in advance. I have selected main photoshop image as slices and converted it to web i.e. html type. If theres any confusion , let me know and i will reply back.