Search Results

Showing results 1 to 40 of 49
Search took 0.01 seconds.
Search: Posts Made By: cfajohnson ; Forum: HTML and CSS and child forums
Forum: HTML and CSS Nov 1st, 2009
Replies: 3
Views: 445
Posted By cfajohnson
First validate your page. There is currently at least one problem:


Sorry, I am unable to validate this document because on line 154 it contained one or more bytes that I cannot interpret as...
Forum: HTML and CSS Oct 22nd, 2009
Replies: 8
Views: 425
Posted By cfajohnson
XHTML cannot be served as XHTML because the most-used browser wouldn't know what to do with it. IE will offer to download the file is it is served as XHTML.

If it is not served as XHTML, then all...
Forum: HTML and CSS Oct 21st, 2009
Replies: 4
Views: 399
Posted By cfajohnson
It would help if you posted a URL.
Forum: HTML and CSS Oct 21st, 2009
Replies: 8
Views: 425
Posted By cfajohnson
Note that w3schools has nothing to do with the W3 Consortium, and much of its information is inaccurate.
Forum: HTML and CSS Oct 19th, 2009
Replies: 8
Views: 425
Posted By cfajohnson
Start with:


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>YOUR PAGE TITLE HERE</title>
<link href=""...
Forum: HTML and CSS Oct 7th, 2009
Replies: 7
Views: 576
Posted By cfajohnson
That even more bizarre. Does it work anywhere?
Forum: HTML and CSS Oct 7th, 2009
Replies: 7
Views: 576
Posted By cfajohnson
There is no need to comment out the style rules, and hasn't been since Netscape 4.



Where did you come up with that? It's nonsense! Did you even try it?
Forum: HTML and CSS Oct 4th, 2009
Replies: 7
Views: 576
Posted By cfajohnson
a:hover
{
background-color: blue;
color: white;
}
Forum: HTML and CSS Oct 4th, 2009
Replies: 8
Views: 512
Posted By cfajohnson
I still don't see a white line (1900px window). (How can there be one, the background is white.)
Forum: HTML and CSS Oct 4th, 2009
Replies: 3
Views: 563
Posted By cfajohnson
A <p> element cannot contain another block-level element. A <p> is implicitly ended when another block-level element is encountered. Add the colours to the <ol>s directly.
Forum: HTML and CSS Oct 4th, 2009
Replies: 8
Views: 512
Posted By cfajohnson
(I don't see a white line).

Don't use frames; use CSS.
Forum: HTML and CSS Sep 27th, 2009
Replies: 2
Views: 273
Posted By cfajohnson
Why do you want it in XHTML? It serves no function, as it must be served as HTML or Internet Explorer will not be able to do anything with it.
Forum: HTML and CSS Sep 27th, 2009
Replies: 2
Views: 411
Posted By cfajohnson
Before you do anything else, check with http://validator.w3.org that your code is correct. If it isn't, fix it, then post a URL here if there are still problems.
Forum: HTML and CSS May 27th, 2009
Replies: 19
Views: 1,480
Posted By cfajohnson
MSIE doesn't understand XHTML if it is served properly; if it is served as text/html (so that IE will display it) you lose whatever benefit there might be to XHTML.
Forum: HTML and CSS May 24th, 2009
Replies: 19
Views: 1,480
Posted By cfajohnson
Why is it XHTML, and why is it transitional?



Why do you have:


<div id="navigation">
<div id="nav-container">
...
Forum: HTML and CSS Mar 30th, 2009
Replies: 32
Views: 3,259
Posted By cfajohnson
Can you provide screenshots that demonstrate that?

If there is a problem, it should be fixable with CSS.



No, you don't. That's probably what is causing your problems.
Forum: HTML and CSS Mar 26th, 2009
Replies: 2
Views: 712
Posted By cfajohnson
The first step is always to validate your page and correct any HTML and CSS errors. Your page has 551 HTML errors:

Errors found while checking this document as XHTML 1.0 Strict!
Result: 551...
Forum: HTML and CSS Mar 25th, 2009
Replies: 32
Views: 3,259
Posted By cfajohnson
Is this what you want: http://cfaj.freeshell.org/testing/MidiMagic.html?
Forum: HTML and CSS Mar 23rd, 2009
Replies: 2
Views: 368
Posted By cfajohnson
Forum: HTML and CSS Mar 23rd, 2009
Replies: 5
Views: 1,091
Posted By cfajohnson
Use Server-Side Includes, e.g.:


<!--#include file="page.html" -->


Or:


<!--#include file="header.html" -->
Forum: HTML and CSS Mar 23rd, 2009
Replies: 32
Views: 3,259
Posted By cfajohnson
They will if you do it correctly.



Do you have an example? Please post a URL.



They certainly do!
Forum: HTML and CSS Mar 23rd, 2009
Replies: 15
Views: 1,162
Posted By cfajohnson
No tag can contain another tag. An element can contain another element. Elements are delimited by tags.

The P element cannot contain any block-level element, and since its closing tag is optional,...
Forum: HTML and CSS Mar 13th, 2009
Replies: 32
Views: 3,259
Posted By cfajohnson
Of course! That's what tables are for.



In fact, it can work with fairly complicated layouts.
Forum: HTML and CSS Mar 10th, 2009
Replies: 32
Views: 3,259
Posted By cfajohnson
Yes, so am I.



Me, too.



If you use absolute measures they cannot expand.
Forum: HTML and CSS Mar 10th, 2009
Replies: 15
Views: 1,162
Posted By cfajohnson
Lists are block-level objects, but they can only contain <li> elements; <li> elements are also block-level, and they can contain anything.
Forum: HTML and CSS Mar 9th, 2009
Replies: 32
Views: 3,259
Posted By cfajohnson
Almost all browsers (including IE since 6) do comply with most of the standards. It is not hard to write CSS that works in all browsers. It means avoiding some things that IE doesn't do correctly,...
Forum: HTML and CSS Mar 6th, 2009
Replies: 15
Views: 1,162
Posted By cfajohnson
Apart from being semantic nonsense, it requires unnecessarily bloated CSS to style the lists.
Forum: HTML and CSS Feb 24th, 2009
Replies: 4
Views: 2,710
Posted By cfajohnson
Starting with IE6, they are rendered correctly when in standards mode, but not in quirks mode.
Forum: HTML and CSS Feb 22nd, 2009
Replies: 2
Views: 543
Posted By cfajohnson
What does "nothing happens" mean? What does happen? What do you want to happen?

First, check your code with http://validator.w3.org. Once your code is error free, post the URL so we can see what...
Forum: HTML and CSS Feb 22nd, 2009
Replies: 2
Views: 2,220
Posted By cfajohnson
First, check your page with the validator at validator.w3.org. If there are still problems after you have corrected the errors, post a URL so that we can see what you are really doing.
Forum: HTML and CSS Feb 22nd, 2009
Replies: 4
Views: 2,710
Posted By cfajohnson
Text containers should generally not be given fixed px widths; use ems or percentages instead.



Firefox is behaving correctly. IE is not, probably because you are causing it to enter quirks...
Forum: HTML and CSS Feb 7th, 2009
Replies: 10
Views: 1,011
Posted By cfajohnson
DreamWeaver is the best of a bad bunch.

I agree with ingeva: use a text editor. Find one with syntax highlighting and automatic indentation; I use GNU/Emacs.
Forum: HTML and CSS Jan 16th, 2009
Replies: 6
Views: 754
Posted By cfajohnson
Is this really how you want it to look?

http://cfaj.freeshell.org/testing/incorde.jpg
http://cfaj.freeshell.org/testing/incorde2.jpg
Forum: HTML and CSS Jan 12th, 2009
Replies: 4
Views: 2,309
Posted By cfajohnson
Why XHTML and why transitional?



The HTML comment hasn't been necessary since Netscape 4.


table
{
border-collapse: collapse;
Forum: HTML and CSS Jan 12th, 2009
Replies: 8
Views: 1,229
Posted By cfajohnson
It is barely possible, and to do it requires making an assumption about the height of the footer.

The closest you can easily do is something like this:...
Forum: HTML and CSS Jan 10th, 2009
Replies: 14
Solved: CSS and Forms
Views: 1,845
Posted By cfajohnson
How about a URL? What you posted is not a complete page, and may not appear the same as on your page (if anyone takes the trouble to copy it to a file).
Forum: HTML and CSS Jan 10th, 2009
Replies: 2
Code Snippet: From HTML to XHTML Code
Views: 7,289
Posted By cfajohnson
Good HTML is not XHTML.

The move to XHTML is not gradual; it is halted. MSIE does not support XHTML, and cannot even display it if it is served correctly. There are no plans for it ever to...
Forum: HTML and CSS Jan 10th, 2009
Replies: 14
Solved: CSS and Forms
Views: 1,845
Posted By cfajohnson
Can you provide a URL showing the problem?
Forum: HTML and CSS Jan 8th, 2009
Replies: 22
Views: 1,743
Posted By cfajohnson
<li> is a block-level element, not inline.
http://cfaj.freeshell.org/testing/li-width.html
Forum: HTML and CSS Jan 7th, 2009
Replies: 22
Views: 1,743
Posted By cfajohnson
Of course you can set a width for a list item.
Showing results 1 to 40 of 49

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC