Forum: Shell Scripting 19 Days Ago |
| Replies: 1 Views: 460 Put the function call into the background:
timer "00:00:10" &
Please put code inside tags, as I have done above and below, and indent it for legibility. |
Forum: HTML and CSS 19 Days Ago |
| Replies: 3 Views: 373 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 30 Days Ago |
| Replies: 8 Views: 400 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 31 Days Ago |
| Replies: 4 Views: 360 It would help if you posted a URL. |
Forum: HTML and CSS 31 Days Ago |
| Replies: 8 Views: 400 Note that w3schools has nothing to do with the W3 Consortium, and much of its information is inaccurate. |
Forum: HTML and CSS 33 Days Ago |
| Replies: 8 Views: 400 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: Shell Scripting 33 Days Ago |
| Replies: 2 Views: 620 Please use CODE tags.
Why two cats?
cat $fname > output.dat |
Forum: HTML and CSS Oct 7th, 2009 |
| Replies: 7 Views: 535 That even more bizarre. Does it work anywhere? |
Forum: Shell Scripting Oct 7th, 2009 |
| Replies: 1 Views: 595 You are missing ;; before 2) on line 168 or thereabouts and in many other places. |
Forum: HTML and CSS Oct 7th, 2009 |
| Replies: 7 Views: 535 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: Shell Scripting Oct 4th, 2009 |
| Replies: 2 Views: 737 sed 's/(see: \([^)]*\))/[[\1]]/' |
Forum: HTML and CSS Oct 4th, 2009 |
| Replies: 7 Views: 535 a:hover
{
background-color: blue;
color: white;
} |
Forum: HTML and CSS Oct 4th, 2009 |
| Replies: 8 Views: 458 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: 524 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: 458 (I don't see a white line).
Don't use frames; use CSS. |
Forum: Shell Scripting Oct 4th, 2009 |
| Replies: 2 Views: 691 password=boom
n=0
for n in 1 2 3
do
read -ep "Code: " code
[ "$code" = "$password" ] && break
done
if [ "$code" = "$password" ]
then |
Forum: HTML and CSS Sep 27th, 2009 |
| Replies: 2 Views: 254 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: 396 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: Shell Scripting Sep 27th, 2009 |
| Replies: 2 Views: 585 Note that the -i option to sed is not standard, and many versions do not have it.
Those that do either require or can take an argument with a backup suffix to save the original file -- a good... |
Forum: Shell Scripting Sep 23rd, 2009 |
| Replies: 6 Views: 763 They are three lines because the backslash is not the last character on the line; that's a carriage return.
If the backslash were the last character on the line, grep would still read it as three... |
Forum: Shell Scripting Sep 23rd, 2009 |
| Replies: 6 Views: 763 Search for what is actually there: a backslash followed by a carriage return. |
Forum: Shell Scripting Sep 23rd, 2009 |
| Replies: 6 Views: 763 It works for me.
Did you create the file on a Windows box? If so, there will be a carriage return before the newline, and the backslash will therefore not be the last character on the line. |
Forum: Shell Scripting May 28th, 2009 |
| Replies: 2 Views: 1,309 case $1 in
-o) shift ;;
*) set -- /dev/stdin ;;
esac
while IFS= read -r
do
: do whatever with "$line"
done < "$1" |
Forum: HTML and CSS May 27th, 2009 |
| Replies: 19 Views: 1,364 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: *nix Software May 24th, 2009 |
| Replies: 2 Views: 833 What shell are you using?
In bash:
PS1='\[\e[[7m\]${HOSTNAME}/${PWD}\[\e[0m\]'
Adjust the 7 to whatever you want, e.g., 1;31 or 1;37;40m. |
Forum: HTML and CSS May 24th, 2009 |
| Replies: 19 Views: 1,364 Why is it XHTML, and why is it transitional?
Why do you have:
<div id="navigation">
<div id="nav-container">
... |
Forum: Shell Scripting May 24th, 2009 |
| Replies: 2 Views: 5,198 If you want to slow down the loop increase the argument to sleep, don't call an external command for integer arithmetic.
icon_num=$(( $icon_num + 1 ))
That's a very complicated script for a... |
Forum: Shell Scripting May 24th, 2009 |
| Replies: 2 Views: 2,946 echo "[1;4;31mSyntax[0m: sln <start[-end]> < file > [ <file> ]"
'for file in $*' will fail if any filenames contain spaces. Use:
for file in "$@" |
Forum: HTML and CSS Mar 30th, 2009 |
| Replies: 32 Views: 3,144 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: 676 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,144 Is this what you want: http://cfaj.freeshell.org/testing/MidiMagic.html? |
Forum: HTML and CSS Mar 23rd, 2009 |
| Replies: 2 Views: 357 |
Forum: HTML and CSS Mar 23rd, 2009 |
| Replies: 5 Views: 1,009 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,144 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,132 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,144 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,144 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,132 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,144 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,132 Apart from being semantic nonsense, it requires unnecessarily bloated CSS to style the lists. |