Posted on 09/29/2001 9:00:56 PM PDT by Benoit Baldwin
>If people start setting their left and right margins >manually in their style sheets to provide indentation on >pages which don't use your TABLE template, then when we >view a page with your template, your table tries to use >100% of the space. Which means that it will always >overflow on the right side by the same amount as the CSS >indent was specified for.
True.
This is the problem with using CSS; it's a huge can of worms thanks to the majority of browsers in use today having incomplete or buggy implementations. Most sites use the compromise of tables for layout, and style mostly for fonts and color.
Some posters here copy and paste the text of articles, and insert <p>'s as necessary, while others copy and paste the full HTML source--the latter posts may be adversely affected by CSS in use here.
>It seems that articles posted in this style need to have a >way of determining any pre-existing margin settings and >inheriting them properly before determining the width to >use for the TABLE template.
In the case of the template I'm using, the fix is simple: omit the main table's width specification--the main table will then inherit the width of its container, which, in the current situation, is DIV.body.
Here is the default template I'll use from now on. It yields, at 640x480 and 12 point Times New Roman (the default for a majority of users), a paragraph width of roughly 52 characters, and a margin of roughly 2 em (all sans CSS):
<!-- BEGIN TEMPLATE --> <table bgcolor="#999999" border=0 cellpadding=0 cellspacing=0> <tr> <td width="5%"> <br> </td> <td width="60%"> <table bgcolor="#000000" border=0 cellpadding=0 cellspacing=1> <tr> <td> <table bgcolor="#FFFFFF" border=0 cellpadding="20%" cellspacing=1> <tr> <td> <!-- Put the article's HTML here --> </td> </tr> </table> </td> </tr> </table> </td> <td width="35%"> <br> </td> </tr> </table> <!-- END TEMPLATE -->
PRE should not be used within this template, unless the lines are very short.
>Just a test. Hope it comes out ok. Using Win 98; IE 5.0; >17" monitor. I understand this template is to be used at >our descretion and only for posting articles. Right?
Right.
But please use the updated one at post 21.
Looks fine with or without your style sheet at 800x600 and up.
At 640x480 the text around the photograph disappears into the photograph. This effect could be eliminated by using pixel instead of percentage widths, which I'd rather not do.
I think I'll give this up all together.
The Right Thing To Do is encourage the use of CSS, and that means not using structure--TABLE--to impose style.
The Right Thing To Do is encourage the use of CSS, and that means not using structure--TABLE--to impose style.I'm not so sure your idea is a bad one. Remember that JohnRob was talking about limiting column widths for readability. Just think about it for a while. Maybe the right solution is to use this for multi-column posts. And that article you posted on the page would have worked better if the picture hadn't been so big. Most threads don't have pictures quite that large in the article.
|
|
|
|
|
|
What does this mean in my life? will the sun come up tomorow...will I ever be able to hear the call if there is no one to call??Before I can interrogate you, you must first tell me what is the sound of one hand clapping? On the other hand, we could just forget about it...
Look at the bright side. We're finding out who all the HTML geeks are. `:-)
Look at the bright side. We're finding out who all the HTML geeks are. `:-)For some real FR geekiness, visit my unofficial FR stylesheet website.
After I clicked on the link, I saw the FR upload page, is there a way to delete a style sheet that is in use?
Those style sheets are cool. I'm just leery about using them because I'm so "used" to the standard. After I clicked on the link, I saw the FR upload page, is there a way to delete a style sheet that is in use?Sure. In fact, I just tested it again. While writing this, I turned off the custom sheet and then re-uploaded it to get back to the custom style. Works fine. Here's how to do it.
I wish someone would come up with some better wallpaper choices too.
Anyone with ideas?
Thanks, GWB...Go check my unofficial FR style sheet website again.
I've changed your 4.77 version to use lightsteelblue background with tahoma 10pt and blockquote background to lightyellow with courier new 9pt.
Changes will be made though, I'm reading up on this stuff now at w3.org and, of course, O'Reilly.
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.