Jump to content

jlhaslip

Members
  • Posts

    2,568
  • Joined

  • Last visited

Posts posted by jlhaslip

  1. so every row in the database table gets a table row in html??
    Only if the Query is written to retreive all of the Database rows. More correctly stated, "so every row of the "Query Results" gets a table row in html??".
  2. Fermat,That works if you use paragraphs for all the blocks of text on your page, but paragraphs aren't always the semantically correct tag to use. I would recommend the method vchris suggests. Spans are a generic inline container, which can also be a portion of a paragraph,and you avoid the necessity of dealing with the margins and paddings, etc of a paragraph. Furthermore, using a class will typically use less bandwidth for multiple occurrences of the "highlighted text" on a page.

  3. #menubar li a{ display:inline; float:left width: auto; height: 20px; text-decoration: none; text-align: centre; margin-right: 10px; margin-bottom: 2px; margin-top: 2px; padding: 0px; padding-left: 10px; vertical-align: middle; font-size: 14px; font-weight: bold; background-color: #FF0000; color: white;}
  4. You have mixed %'ges and pixels in the column and margin widths. Stick to one or the other. If you want fixed width outer couluns, then set the middle column margins to a couple of pixels larger than that.

  5. I have been Hosted at Trap17.com, a "sister" Hosting service for nearly 2 years and never a problem. The Admins are quite experienced and are necessarily cautious above privacy concerns and such. The requirement for the personal information they ask for is to be able to connect a real world person to the account. They will never use it except when it is required for purposes relating to the account. I Moderate the Trap17 Forums that supplies support for the Qupis.com accounts, so if you need any questions answered, see you there.By the way, if a free hosting account registration does not ask for some privacy information such as address, etc, I would be suspicious. It could be an email harvester or worse. In the past, I had a free account and was bombarded with SPAM emails within days. Had to change email accounts. Qupis/Trap17 aren't like that.

  6. Can you see why it won't work the way I have it? I must be missing a margin or padding setting somewhere.
    There was probably (i am sure) some margins and default padding hanging around. by using the zero values on html and body, it resets everything to zero. Default values are not set to zero.
  7. does this work for you?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">    <head>            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>                <title>Example page for full height div</title>            <style type="text/css">        html, body {        height: 100%;        background-color: #ffff55;		}        #container { /* div you want to stretch */        min-height: 95%;        background-color: #ffff55; }        }        #footer { position:absolute; bottom: 0; margin-top: -20px; background-color: #ffff55; }    </style><!-- IE6 Hack Start -->    <!--[if lte IE 6]>    <style type="text/css">        #container {        height: 95%;        }    </style>    <![endif]--><!-- IE6 Hack End -->    </head>        <body>            <div id="container">            this div should be full height (you probably can't see it anyways because there is no background)        </div>            <div id="footer"> footer here </div>    </body>    </html>

  8. Great information. Wish I would've had this the last time I tried to Mod a Word Document into html.Great find... bookmarked.This got me thinking about the new OpenOffice.org and so I picked up a .doc fiel and converted it using OOO, and here is a snippet.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD [color="#FF0000"]HTML 4.0 Transitional[/color]//EN"><HTML><HEAD>	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; [color="#FF0000"]charset=windows-1252[/color]">	<TITLE>Relational dimensions of intercultural communication for public</TITLE>	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.2  (Win32)">	<META NAME="AUTHOR" CONTENT="MLaFever">	<META NAME="CREATED" CONTENT="20060318;21300000">	<META NAME="CHANGEDBY" CONTENT="Jim Haslip">	<META NAME="CHANGED" CONTENT="20061217;21502100">	<STYLE TYPE="text/css">	<!--		[color="#FF0000"]@page [/color]{ size: 21.59cm 27.94cm; margin-right: 3.18cm; margin-top: 1.27cm; margin-bottom: 2.54cm }		P { margin-bottom: 0.21cm; direction: ltr; color: #000000; text-align: left; widows: 2; orphans: 2 }		P.western { font-family: "Times New Roman", serif; font-size: 10pt; so-language: en-US }		P.cjk { font-family: "Times New Roman", serif; font-size: 10pt; so-language: zxx }		P.ctl { font-family: "Times New Roman", serif; font-size: 10pt; so-language: ar-SA }		A:link { color: #0000ff }		A.sdfootnotesym-western { font-family: "Times New Roman", serif; font-size: 10pt }		A.sdfootnotesym-cjk { font-size: 10pt }	-->	</STYLE></HEAD><BODY LANG="en-US" TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff" DIR="LTR"><DIV [color="#FF0000"]TYPE=HEADER[/color]>	<P ALIGN=RIGHT STYLE="margin-bottom: 1.17cm"><FONT COLOR="#000000"><FONT SIZE=2><SPAN LANG="en-US">Intercultural	Relationship Building     </SPAN></FONT></FONT><FONT COLOR="#000000"><FONT SIZE=2><SPAN LANG="en-US">[color="#FF0000"]<SDFIELD TYPE=PAGE SUBTYPE=RANDOM FORMAT=PAGE>3</SDFIELD>[/color]</SPAN></FONT></FONT></P></DIV><P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; line-height: 200%"><BR></P><P CLASS="western" [color="#FF0000"]ALIGN=CENTER[/color] STYLE="margin-bottom: 0cm; line-height: 200%">[color="#FF0000"]<BR>[/color]

    A little bit cleaner than the Word > Html before your processing, but for some reaason, (probably proprietary codings or character sets)(notice the Windows - 1252?) I could not place this into a text editor, make changes and save the document... peculiar, eh? And this code is no where near Standards compliant. html 4. Font, align and p tags everywhere.

×
×
  • Create New...