Re: Absolute page width wanted
From: Mary (anonymous_at_discussions.microsoft.com)
Date: 03/24/04
- Next message: Steve Easton: "Re: Password Protecting a sub page"
- Previous message: Jerome: "Background Picture"
- In reply to: Kevin Spencer: "Re: Absolute page width wanted"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 13:09:05 -0800
Thank you, Kevin. I'm going to check this out. Hope
things went well at the doctor's office.
Mary
>-----Original Message-----
>Hi Mary,
>
>Had to go to the doctor this morning, or I would have
got back sooner!
>
>Absolute Positioning is a pretty advanced topic. It is
done using CSS
>(Cascading Style Sheets), which is a relatively new
technology on the
>Internet front, but very powerful. In the beginning,
HTML tags had
>formatting applied to them by using attributes. Each tag
has a specific set
>of attributes which can be applied. For example, the
<font> tag has an
>attribute called "size" which sets the font size. Here's
an example:
>
><font face="Arial" size="2">Some Text</font>.
>
>The problem with attributes is that each HTML element
has a fixed number of
>specific attributes that can be applied to it. Anything
else could not be
>done, prior to CSS. As the Internet has grown, it has
expanded in terms of
>functionality. Over the years, people have wanted their
web sites and web
>pages to do more and more. Of course, initially, the
HTML standard was
>modified every 2 years or so to accomodate the new
characteristics. But
>again, this was not an extensible solution.
>
>Then along came CSS. CSS is extensible, as it only
defines a single
>attribute of an HTML tag, with as many different styles
applied to that
>attribute as desired. In addition, it can be used
OUTSIDE of the HTML tag,
>by putting it into a style tag (or more than one) in a
page, or even in an
>external (.css) file. Here's an example of a paragraph
tag with inline
>styles. Note the simgle attribute for style:
>
><p style="padding-top: 12px; padding-right: 10px;">
>
>In addition, you can create style classes in a style
***, which applies a
>set of styles to all elements of a single tag type, or
with a single
>definition of a CSS class, as in the following example:
>
><span class="headingBlueMed" style="padding-bottom:
40px;">
>
>Note that the tag includes both a class name and a style
tag. This is where
>"Cascading" comes from. You can override one or more
styles of a given CSS
>class with an inline style.
>
>In recent years, positioning has been added to styles,
enabling one to
>position HTML elements absolutely by using an X and Y
coordinate that is
>relative to either the document itself, or to the
containing HTML tag.
>Recent versions of FrontPage include support for
creating inline styles, and
>working with external style sheets.
>
>There are quite a few styles, and FrontPage has support
for a good number of
>them. As time goes by, more styles will be added, but it
will no longer be
>necessary to modify any HTML code to apply them if using
an external style
>***. All that will be necessary is to modify the style
***.
>
>If you're still interested after all that, check out
>http://www.csszengarden.com, the best example of CSS
I've ever seen.
>
>--
>HTH,
>Kevin Spencer
>..Net Developer
>Microsoft MVP
>Big things are made up
>of lots of little things.
>
>"Mary" <anonymous@discussions.microsoft.com> wrote in
message
>news:1296701c411aa$3b754470$a401280a@phx.gbl...
>> Kevin,
>>
>> Can you please tell me how to do the Absolute
Positioning?
>>
>> Thank you,
>> Mary
>> >-----Original Message-----
>> >Hi Mary,
>> >
>> >It's not done with Page Properties. It can be done
>> either with Absolute
>> >Positioning (CSS) or by using a layout table with a
>> fixed pixel-width.
>> >
>> >--
>> >HTH,
>> >Kevin Spencer
>> >..Net Developer
>> >Microsoft MVP
>> >Big things are made up
>> >of lots of little things.
>> >
>> >"Mary" <anonymous@discussions.microsoft.com> wrote in
>> message
>> >news:1218801c4110f$c0c9f8a0$a301280a@phx.gbl...
>> >> right now my web site expands to fill the screen if
>> >> someone views it at a higher resolution. i want to
set
>> >> the page width at a static 800 pixels because it
looks
>> >> bad when it spreads out so far. someone told me to
go
>> >> into page properties but i can't find where to make
the
>> >> changes or what i should change. i'm using FP 2002.
>> >>
>> >> Thanks,
>> >> Mary
>> >
>> >
>> >.
>> >
>
>
>.
>
- Next message: Steve Easton: "Re: Password Protecting a sub page"
- Previous message: Jerome: "Background Picture"
- In reply to: Kevin Spencer: "Re: Absolute page width wanted"
- Messages sorted by: [ date ] [ thread ]