Click here to Skip to main content
15,890,512 members
Home / Discussions / Web Development
   

Web Development

 
Questionraw webservices... Pin
$0.05$5-Oct-06 13:38
$0.05$5-Oct-06 13:38 
AnswerRe: raw webservices... Pin
Guffa5-Oct-06 14:10
Guffa5-Oct-06 14:10 
GeneralRe: raw webservices... Pin
$0.05$5-Oct-06 14:13
$0.05$5-Oct-06 14:13 
QuestionCalendar Popup Pin
Sam Heller5-Oct-06 2:34
Sam Heller5-Oct-06 2:34 
AnswerRe: Calendar Popup Pin
Kschuler6-Oct-06 10:33
Kschuler6-Oct-06 10:33 
QuestionAccess word through automation in javascript Pin
Nitin19815-Oct-06 2:19
Nitin19815-Oct-06 2:19 
QuestionStrange HTML nested table problem Pin
Hemant Mane4-Oct-06 22:27
Hemant Mane4-Oct-06 22:27 
AnswerRe: Strange HTML nested table problem Pin
Paeth.Claudius-Raphael4-Oct-06 23:45
Paeth.Claudius-Raphael4-Oct-06 23:45 
Well,
due to the fact that i'm not fascinated on tables like others are, i can only give you some simple hints.

But before that, i want to ask, why are you still using nested tables? It isn't even a rumour anymore, that it produces more problems and a massive code-overhead and eats RAM-Ressources 'til the earth stands still. Okay, whatever; Should be your problem, but if there's a reason why, please note it.

1) Even in html 4 it is not allowed to use style-attributes in every table-element when using nested tables, because without a class-definition in a cascading style sheet the doubled definitions are differently interpreted. That is, because tables are organized as a list inside the interpreter, so the normal 'The same tag inside (with a style definition) overrides the parent tag, is not given.

2) The 'td'-tags/-Elements that are emepty are written like '<td ></td>'. That space in between the opening tag should be deleted. Why? Because there are many browsers especially Mozilla-based and the older Netscapes that produce blank childs/doubled text-nodes inside the Element-Hierarchy while parsing the site on load. The result is unpredictable, because even the same browser-installation (same version, setup-type, etc.) is making it's behaviour dependent on the machines power (RAM, CPU-TYPE,etc.) and especially, the core-services provided by the operating system.
So just clean up that table-tree of those spaces. Anytime, you are building a site. There should be no element that hasn't attributes in it having spaces!

3) Due to the talk, any helper might give advice based on looking up the code-result in front-page... I'm not one of those 'pro-anything-else-than-microsoft'-users, but to be true, though' i'm loving microsoft-products i never used frontpage. But what i can tell you, is that the Internet Explorer (any Version) got a problem with '100%' of width in the style-attribute of a table. This is because the styles that are pre-defined for tables use borders, column-spacing and margin-settings, that make it impossible to run a table at '100%' width without defining a stylesheet that cleans up those pre-definitions.
In some tasks it could help to set the body-Element and all-Elements to zero padding and margin.

So the resulting code should look like:

(somewhere inside the <head>...

<style type="text/css">
<!--
body{
margin:0px;
padding:0px;
width:100%;
overflow:auto;
}
*{
margin:0px;
padding:0px;
}
//-->
</style>

This is the absolute minimum set of style definitions you might have to use if you want to use tables (especially nested ones) and are ready to style up any element directly per style-attributes.

4) It is definately unnessecary to double the styles, means: use per style-definition given width- and border-values OR use the direct formatting per attribute. Why? Because any browser-type has another way of processing those values. As the Internet Explorer until Version 5.5 is first rendering the site using the direct attributes (e.g.: width="100%", border="0") and then processes the style-definitions in your head-area, then adding external stylesheets and then at least looks up if a style-attribute is present inside the Element, Other browsers do it the other way around.

5) I didn't looked it all up, but check if you gave all values for width and border-width, etc. a px after the number, because some browsers don't recognize these values as pixel values if not set, instead using pt (Point ...typographic measure).

6) If you're not giving a doctype and/or a namespace definition, any browser will parse the code as html 3/4, but there you got a problem, because those who are using html 3 or html 3 compatibility don't recognize the %-sign in the width-attribute. Even the newest IE's and Safari, Konqueror and Co. partly don't recognize them because of the downward-compatibility and different table-handling.

So at least you should give a doctype. Look up http://www.w3.org and search for doctype headers.

If you don't know what this is, here is an example for a XHTML 1 Transitional DocType:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The DocType in any case has to be the first line(s) in your html-file if you want to use it.
The according namespace to this (used in newer browsers, capable of XML-presenting) is:

<html xmlns="http://www.w3.org/1999/xhtml">

So this one is used instead the typical '<html>'-Element.

Well, i really don't know if any of this might have had helped you if you're through with practicing it, but maybe?

Just try it, take your time.

If you got special questions you're free to send me an e-Mail. Please be specific and precisely as you're able if you're asking for help.

You know, code is poetry, fine and tasty; ...but taste sometimes isn't discussable.

You're Welcome,
Paeth.Claudius-Raphael
GeneralRe: Strange HTML nested table problem Pin
Hemant Mane5-Oct-06 0:27
Hemant Mane5-Oct-06 0:27 
GeneralRe: Strange HTML nested table problem Pin
Paeth.Claudius-Raphael5-Oct-06 0:43
Paeth.Claudius-Raphael5-Oct-06 0:43 
GeneralRe: Strange HTML nested table problem Pin
Hemant Mane5-Oct-06 0:54
Hemant Mane5-Oct-06 0:54 
QuestionEvent: when the txt value changed Pin
militiaware4-Oct-06 22:27
militiaware4-Oct-06 22:27 
AnswerRe: Event: when the txt value changed Pin
led mike5-Oct-06 4:57
led mike5-Oct-06 4:57 
QuestionForm validation - form.length Pin
braveheartkenya4-Oct-06 16:52
braveheartkenya4-Oct-06 16:52 
QuestionAuthentication & authorization issue for IIS Pin
Elena_2006oct4-Oct-06 2:33
Elena_2006oct4-Oct-06 2:33 
AnswerRe: Authentication & authorization issue for IIS Pin
aamironline4-Oct-06 5:54
aamironline4-Oct-06 5:54 
QuestionHow to read and write image from MS Access database? (OLE Object) [modified] Pin
Richard Htin3-Oct-06 20:55
Richard Htin3-Oct-06 20:55 
AnswerRe: How to read and write image from MS Access database? (OLE Object) Pin
Sam Heller5-Oct-06 2:50
Sam Heller5-Oct-06 2:50 
GeneralRe: How to read and write image from MS Access database? (OLE Object) Pin
Dennis Jeffrey7-Oct-06 5:06
Dennis Jeffrey7-Oct-06 5:06 
GeneralRe: How to read and write image from MS Access database? (OLE Object) Pin
Sam Heller7-Oct-06 5:55
Sam Heller7-Oct-06 5:55 
GeneralRe: How to read and write image from MS Access database? (OLE Object) Pin
Dennis Jeffrey7-Oct-06 6:04
Dennis Jeffrey7-Oct-06 6:04 
QuestionCustomize button action in IE Pin
mfranco_neto3-Oct-06 8:51
mfranco_neto3-Oct-06 8:51 
AnswerRe: Customize button action in IE Pin
Bradml3-Oct-06 17:37
Bradml3-Oct-06 17:37 
QuestionJavaScript code coverage Pin
Paul Watson3-Oct-06 4:09
sitebuilderPaul Watson3-Oct-06 4:09 
AnswerRe: JavaScript code coverage Pin
Paeth.Claudius-Raphael5-Oct-06 0:07
Paeth.Claudius-Raphael5-Oct-06 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.