Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Fill the browswer with background color?
Old 09-26-2006, 09:35 AM Fill the browswer with background color?
Novice Talker

Posts: 7
Name: Chris
Location: McKinney, TX
Trades: 0
Hello all,

Just a little history, I'm a photographer and I have just finished building my first site. My current site was built by a friend but I wanted to clean it up and make it a little more simple.

I used the following process Photoshop>ImageReady>Dreamweaver.

I'm pretty much a novice with the Dreamweaver stuff.

Here is the problem I'm having. When you look at my new site, which is designed 775x600, in a larger browser the area around the site in the browser is white. I'd like it to match my background color. I don't want my site to get larger or skew...just fill the white area with the color "cccccc".

Here is the site....(yes there are a couple more changes I need to make so I may ask those later).

www.soundholeentertainment.com

Thanks in advance!

Last edited by taygull; 09-26-2006 at 09:36 AM..
taygull is offline
Reply With Quote
View Public Profile Visit taygull's homepage!
 
 
Register now for full access!
Old 09-26-2006, 02:15 PM Re: Fill the browswer with background color?
Average Talker

Posts: 23
Trades: 0
hey. this seems like a pretty simple fix, so i'll try and help ya out.

first, i think you should surround your content with <body> tags, but maybe there's something special with the frames i don't know, in which case never mind.

then just type this in your <head> section in your <html>:

<style>

body {
background-color: #CCCCCC;
}

</style>

if your problem is using the actual dreamweaver program, you should be able to find an html edit mode where you see just a bunch of <tags> and then just paste it in. i've never used dreamweaver so somebody else may have a better solution.

hope i helped and didn't add to any confusion. good luck.

Last edited by basu; 09-26-2006 at 02:17 PM..
basu is offline
Reply With Quote
View Public Profile
 
Old 09-26-2006, 02:55 PM Re: Fill the browswer with background color?
adsenser's Avatar
Extreme Talker

Posts: 167
Name: kaif
Trades: 2
you can also use this simple tag

<body bgcolor=#CCCCCC> while starting body

__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Last edited by adsenser; 09-26-2006 at 02:56 PM..
adsenser is offline
Reply With Quote
View Public Profile Visit adsenser's homepage!
 
Old 09-26-2006, 03:18 PM Re: Fill the browswer with background color?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I guess I have to ask why you're using frames at all. I don't see the need on any of your pages. Frankly they are not the best way to go at all, for many reasons.

I would go with the CSS solution, easier to change your WHOLE site by changing 1 line rather than making changes to mulitple pages.

The PROPER way to insert a style into your HTML (inside the <head> section) is as follows:
<style type="text/css">
<!--
body {
background-color: #ccc;
}
-->
</style>
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-26-2006, 08:44 PM Re: Fill the browswer with background color?
Novice Talker

Posts: 7
Name: Chris
Location: McKinney, TX
Trades: 0
Thanks guys,

I guess I'm a little confused because I can pick the back ground color but that does not seem to do anything. I'll try what you guys are suggesting.

The reason the site is built the way it is, is due to me building it in photoshop, then doing the slicing and optimizing in Imageready and then saving the optimized file as an html. I then open the html page in dreamweaver and I have my site pretty much done other than adding the links.

I'll look at the code you are speaking of and try it.

This is the only way I know to build a site.

I'd be curious if there is a tutorial on CSS and doing it that way?
taygull is offline
Reply With Quote
View Public Profile Visit taygull's homepage!
 
Old 09-26-2006, 09:24 PM Re: Fill the browswer with background color?
Novice Talker

Posts: 7
Name: Chris
Location: McKinney, TX
Trades: 0
Guys, I did find actually a place in the HTML code where is showed a body color as fffff, so I changed that to cccccc and it worked perfect.

Now if I could just get the dang thing to upload with out connection issues I'd be happy! I think it is a propagation issue since I just set up my hosting account yesterday.
taygull is offline
Reply With Quote
View Public Profile Visit taygull's homepage!
 
Old 09-27-2006, 03:39 PM Re: Fill the browswer with background color?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
There are tons of tuts all over the web, but I would recommend a very good book instead: http://www.sitepoint.com/books/html1/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-27-2006, 06:08 PM Re: Fill the browswer with background color?
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Hi taygull,

LadynRed points out some tutorials. This is because you NEED to learn more about site development if you are going to design your own site.

If you are looking forwrd to getting traffic from search engines, things will need to change. from looking at your site, I don't think it is going to do well at all with search. Some people feel that when they hire and seo that we turn on the hidden switch and all of a sudden they start getting gobs of traffic from all of the search engines.

On the other hand, others feel that it isn't worth the effort because they will never do well. This isn't true either. I have a client who is a photographer in Sarasotta and he is getting 95% of his business from his web site due to search engine traffic.

You can take advantage of this too. But, it needs to start with a well built site.

It is well worth the effort to learn how to do it right if you are going to do it yourself. Take the time. In the long run it will assist you in making money.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 09-27-2006, 09:37 PM Re: Fill the browswer with background color?
Novice Talker

Posts: 7
Name: Chris
Location: McKinney, TX
Trades: 0
Thanks Chip,

Obviously I'd love nothing more than to have the perfect site that attracts clients who are in my region and maybe even some who will buy prints.

Like anything it must be done in baby steps, kinda like the old saying....

The best way to eat an elephant is one bite at a time.

My first objective was to rebuild my site and not have to have someone else do it. The main reason for this? It is simply funds. I've got more time than money to spend on my website at this point.

I needed something up that at least had the look and feel I felt was needed to be my digital business card. My needs "today" are simply an on-line presence where I can send clients or potential clients as I meet them.

As time progresses I hope to eventually just pay someone to do the things needed to have my site actually generate income, either through online sales or like you say new clients via the search engines.

So if you guys don't mind I'm sure I will be back asking some more dumb questions. As time moves on I hope to make the changes that will allow my site to meet the needs of not only myself but current clients and future clients.

The #1 goal was to get a better looking site up, I've done that. The next goal is to make changes over the next 60 days that allow me to make very easy edits/changes on the back end. Long term hopefully the site will be searchable when folks look for a photographer, by then I hope to do photography full time.

I would suspect when that days comes I'll just give you a call and let you or Ladynred build the "perfect" site. I have no desire to be a true "webmaster" like you guys. I'd prefer to spend my time shooting pictures!

Again, thanks for all the help...and future help!
taygull is offline
Reply With Quote
View Public Profile Visit taygull's homepage!
 
Old 09-28-2006, 06:39 AM Re: Fill the browswer with background color?
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
That's the point taygull.. Keep coming back and asking questions. I hope things go well for your new business.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 10-02-2006, 07:55 AM Re: Fill the browswer with background color?
SpacemanSpiff's Avatar
Experienced Talker

Posts: 34
Trades: 0
One of the biggest problems is not setting things to pixel sizes. Try and Use percents where you can because a browser with a different resolution setting will interpret everything differently. This makes your page distorted when you view it in different browsers.
SpacemanSpiff is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Fill the browswer with background color?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32773 seconds with 12 queries