473,511 Members | 16,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Page not fully rendered in XHTML/CSS

4 New Member
Dear thescripts Experts,

I have converted my large wavelets page

http://www.amara.com/current/wavelet.html

from HTML into XHTML and CSS and have one large remaining bug. On Safari
and Opera and the Linux Red Hat browser, the full page is not rendered,
even though if you "view" the source in the browser window, all of the
text is listed.

I checked the syntax and I didn't see any glaring syntax errors. So I am
wondering if you have seen a problem like this before, that is, the page
is rendered about 3/4 of the way through, and nothing more. And if you
could give advice.

I'm not a professional Web developer and this is far from my fulltime
job (astronomy research), I learned HTML from my making my few
hundred pages at my site and as a side task for the research instututes
where I've worked since the middle 1990s. I am learning the new markup
(XHTML + CSS) from web-based tutorials and texts, presently.

Thanks very much in advance,
Amara
Jul 2 '06 #1
6 2363
Banfa
9,065 Recognized Expert Moderator Expert
Hello Amara,

you may not be able to see any errors but their are plenty there. I do not know this from searching through your code for them I know because I used the HTML validator from the W3C which listed 44 errors in your page, it is located at

http://validator.w3.org

They also have a CSS validator. These validators are not perfect in that 1 error can confuse them and produce further erroneous errors so it is somethimes worth fixes the first few errors and revalidating.

As you may be aware it is fairly vital for cross browser/cross platform support to have fully complient HTML mark-up.

I also use this site for reference

www.w3schools.com
Jul 3 '06 #2
amaragraps
4 New Member
>Hello Amara,
>you may not be able to see any errors but their are plenty there. I do
>not know this from searching through your code for them I know because I
>used the HTML validator from the W3C which listed 44 errors in your
>page,


Dear Banfa:

OK, I see what you mean I tried a "lite" syntax checker before:
http://online.htmlvalidator.com/php/onlinevallite.php
which said it was OK (up to the validity that the lite version can give).

I suspect my errors are mostly due to a trick I used 11 years ago (maybe
before <BLOCKQUOTE>) with <UL></UL> bounding regions of text to make an
indented/offset paragraph. (I don't follow up with <li> tags.) Probably I need to
define a class for <p> in order to accomplish the same task in CSS/XTHML.

I really thought converting my HTML to XHTML+CSS would be simple.. :-(.

Thanks very much for your advice. You're right of course.


Ciao from Rome,
Amara
Jul 4 '06 #3
Banfa
9,065 Recognized Expert Moderator Expert
I suspect my errors are mostly due to a trick I used 11 years ago (maybe
before <BLOCKQUOTE>) with <UL></UL> bounding regions of text to make an
indented/offset paragraph. (I don't follow up with <li> tags.) Probably I need to
define a class for <p> in order to accomplish the same task in CSS/XTHML.
Sounds plausable as a cause for the errors. As you say a <p> with a little CSS should accompish the same thing, just set the margin-left style.
Jul 4 '06 #4
Banfa
9,065 Recognized Expert Moderator Expert
I really thought converting my HTML to XHTML+CSS would be simple.. :-(
Unfortunately that depends on how the HTML was in the first place, however don't get disheartened, it is worth the effort, I went through the same pain with a website I run a few years ago and it is worth it in the long run because once you have converted things get easier (and it becaomes easier to move with the standards as they move) :D
Jul 4 '06 #5
amaragraps
4 New Member
Dear Banfa,

I fixed all of the errors (almost all were not balancing nested <ul> <li>
properly). Now the page is fully compliant, but the page is _still_ not
fully rendered in Safari et al. :-(

Amara
Jul 4 '06 #6
amaragraps
4 New Member
It seems that there are, or were, mistakes in the .css file.
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.amara.com%2Fcurrent %2Fwavelets.css&usermedium=all

I removed an unclosed comment, and so *most* of the page is rendered now
in Safari et al., but not all, so I must check the CSS warnings. The CSS page
validates, so whatever error is remaining is subtle.

The W3 validators are nice tools.

Amara
Jul 5 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
3667
by: Kersh | last post by:
I'm trying to implement XHTML standards in my ASP.NET web pages but whenever I use web controls I get problems because of the very strict nature of W3C XHTML (transitional version is picky but...
82
6222
by: Eric Lindsay | last post by:
I have been trying to get a better understanding of simple HTML, but I am finding conflicting information is very common. Not only that, even in what seemed elementary and without any possibility...
9
1925
by: wardy | last post by:
I'm trying to undestand the impact of using content negotiation when rendering my Web pages to various different browsers as I would like to use the XHTML Strict DOCTYPE declaration. Reading the...
2
1708
by: Ken Cox - Microsoft MVP | last post by:
I'm trying to find a way to program in ASP.NET 2.0 but capture the HTML output. I found the following routine in ASP.NET 2.0 Cookbook from O'Reilly. It doesn't work if I include a server-side...
7
2390
by: GaryDean | last post by:
In my old 1.1 apps the default was MS_POSITIONING="GridLayout" and Textboxes and labels and such always had POSITION: absolute; and I never had any distortion when the page was rendered. Life was...
3
8693
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: ...
13
1926
by: Dan Aldean | last post by:
Hi, I use ASP.NET 2.0 and I created a stylesheet, but I don't know how to make it visible to a web form "MyWebPage.aspx" that uses the master page. I put a reference to the css in the .master...
3
3795
by: ChrisN | last post by:
Invoking a postback before a large ASP.NET page has fully rendered will often cause the page to crash. This is unhelpful and confusing to users. I'm wondering if I can overcome this by...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7418
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3212
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.