Alignment of text and images (with urls) (Long version)
Each "add an item" -- "text" area is contained in a table made by webtv.- Webtv adds table codes to the overall source code automatically, at the beginning of every "text" area:
<<>table><<>tr><<>td>
and at the end of the "text" area:
<<>/td><<>/tr><<>/table>
The content you supply goes in between those two sets of codes.
- The "Webtv table" is automatically aligned to the left of the page.
- The "Webtv table" is not set to 100% of the page --- so the width of the table adjusts/expands according to the contents of the "text" area.
- If the contents of the "text" area is less than 100% width of the webpage, then centering and alignment will be within the "Webtv table", not 100% "page-wise".
- NOTE: Webtv has a screen width of approximately 544, but computer viewers have different screen widths, such as 640, 800, 1024, 1600 etc; using a table width of 800 or 1024 should center the contents of the added table for most computer viewers of your webpage.
1/17/2000: Using table width="100%" may or may not work for computer viewers of your page----some computer viewers have recently said it does not work when used on Webtv PageBuilder pages.
Demonstrations of the effects of these tables are below and I am bordering some text--table areas for demonstration purposes.
Some solutions to the problem follow.
When using the "add an item" -- "text" area, add a line tag
<<>hr width="800"> or <<>hr width="100%">
somewhere in the text area and that will expand the webtv-table to fill 100% of the page, and then centering will occur as expected, along with other designated alignments.
Demonstration 1 below.
Or use a transparent gif, in an image tag:
<<>img src="url of transparent gif" width="800" height="1">
or
<<>img src="url of transparent gif" width="100%" height="1">
which will produce an "invisible" image the entire width of the page, and then centering will occur as expected, along with other designated alignments.
OR
If you don't want lines on your page, add a table code of your own at the beginning of every text area ( and your table will be "nested" inside the table codes webtv will automatically add ).
Add these table codes to any "add an item" -- "text" area:
<<>table width="800"> or <<>table width="100%">
<<>tr><<>td>
Type your text and codes here,
such as:
<<>center><<>img src="url of image"><<>/center>
<<>/td><<>/tr><<>/table>
Then the standard alignment codes (used inside the table tags) will "work" "page-wise" (using <<>html> and <<>/html> tags are not necessary):
<<>table width="800"> or <<>table width="100%">
<<>tr><<>td>
<<>center><<>img src="url of image"><<>/center>
or
<<>img src="url of image" align="right">
or
<<>img src="url of image" align="left">
or
<<>center>Text and/or images here<<>/center>
or
<<>p align="center">Text and/or images here<<>/p>
or
<<>p align="right">Text and/or images here<<>/p>
or
<<>p align="left">Text and/or images here<<>/p>
<<>/td><<>/tr><<>/table>
( Demonstration below. )
OR
Another way to align images (with urls) is to add the codes into the "add an item" -- "headings" area -- that area is always 100% of the page, so centering tags will produce the desired result, such as
<<>center><<>img src="url"><<>/center>
or
<<>p align="center"><<>img src="url"><<>/p>
and
<<>img src="url" align="right">
or
<<>img src="url" align="left">
Demonstration 3 below.
The "page style" initially chosen when using the Webtv PageBuilder determines if the images or text in the "heading" area will be automatically aligned in the center or on the left side of the page.
Any time you use your "return" key, webtv adds one or more
<<>br> line breaks to your code and that will interfere with the placement and alignment of images, etc.
More information on using the
"add an item" -- "heading" area
for images and text is   here.
OR
Use <<>/table> at the beginning of any "add an item" -- "text" area, and then the alignment codes will work as expected. This method may cause computer viewers of your page problems, and it will produce "errors" and "warnings" when the page is "run" through a validator. Sample Validator results page
Demonstration 4 below
Aligning images (without URLs) added directly from the Scrapbook
Aligning images in the "add an item"--"heading" area
More Webtv PageBuilder Help
|
|