Re: Web Page Sizes and Absolute Positioning

Tech-Archive recommends: Fix windows errors by optimizing your registry



are you talking about the background problem i'm
having as well?

No.

A gradient background is easy to do, but it does require using CSS to
specify the properties of the background image.

To make a gradient that starts at one color, and slowly fades to another
color vertically, create a 20px wide (this number is arbitrary) image that
runs the entire course of the gradient change from top to bottom. Make the
page background color be the color at which the gradient ENDS. Use this
20px wide image as the background image, and use CSS to limit the background
to a horizontal tile, i.e., across the page. The rule for this would be -

body { background-repeat:repeat-x; }

That would be all there is to do.

but I feel that getting into css for the background will complicate things
more and it is difficult to produce the results i want.

Perhaps, but it's the only way to do it.

--
Murray
--------------
MVP FrontPage


"Daniel" <danielr@xxxxxxxxxxxx> wrote in message
news:CFAF339B-FD6E-4669-B6CD-AB1D39047B2C@xxxxxxxxxxxxxxxx
The one-celled table did the trick for the first part. Thank you for that,
but I feel that getting into css for the background will complicate things
more and it is difficult to produce the results i want. Is there an
easier
way to produce a 'gradient' background than by using css? (once again,
like
the msn.com or microsoft web sites). Murray, i'm not sure what you meant
by
additional steps though; are you talking about the background problem i'm
having as well?
--
Daniel R


"Murray" wrote:

Be aware that if you will be using "Layers" on the page, Patty's
suggestion
will likely not produce the desired results, unless you take some
additional
steps. Might you be doing that?

--
Murray
--------------
MVP FrontPage


"P@tty Ayers" <pattyayersTAKETHISOUT@xxxxxxxxxxxxxxx> wrote in message
news:eRLg77trHHA.1172@xxxxxxxxxxxxxxxxxxxxxxx

"Daniel" <danielr@xxxxxxxxxxxx> wrote in message
news:CDB8DE29-2343-4756-8FD6-FCCC6CAF0D53@xxxxxxxxxxxxxxxx
Our current website text spans from the absolute left side of any
screen
it
shows up on all the way to the right side. I want to contain the text
and
images in a box that will always be centered in the middle of any
computer
screen it may show up on, so that it is always the same. For example,
the
msn.com and microsoft.com websites. How do you accomplish this?

Also, on the sides of the proposed text box, how do you create a
background
with designs, rather than one with just a solid color that frontpage
2003
allows you to do?

The simplest way is probably to place a one-cell table on the page, set
to
your chosen pixel width, and place all of the page's content into the
table.

For the background, you can use CSS to specify that the <body> tag have
a
certain background image, or use the HTML 'background' property to
specify
the image. Using CSS allows you to have the background not repeat, to
position it wherever you want, and other options.


--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Work***
--







.


Quantcast