-
Posts
2,402 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by Jonas
-
-
What? You still got the same error? Are you sure you uploaded the updated css document to test? I tried it, and the error went away...Check out this link. That's a link to the validation of your css file with all the code. At the bottom of the page you get there's the valid css, and body is valid.I tried removing the px from the 0 items but still got the same errorLine: 5 Context : ��� Parse Error - body {font-size:9pt;font-family:"verdana, tahoma, arial, sans-serif";margin-bottom:0;margin-top:0;margin-left:0;margin-right:0} Any other thoughts?Just want to make sure I'm being clear, there is nothing before this body item other than comments. Is it correct that there is no initiating statement or tag or anything needed? Here's what it looks like:/**********************************************************************//* SECTION: HTML GENERIC*//**********************************************************************/body {font-size:9pt;font-family:"verdana, tahoma, arial, sans-serif";margin-bottom:0;margin-top:0;margin-left:0;margin-right:0}p {font-size:9pt;font-family:"verdana, tahoma, arial, sans-serif"}/**********************************************************************//* SECTION: GENERIC*//**********************************************************************/.VALUE_LABEL { font-size: 9pt; font-weight:bold ; }.VALUE_LABEL_SM { font-size: 8pt; font-weight:bold ; }.VALUE { font-size: 9pt; background-repeat:no-repeat } etc etc -
No problem, glad to be of help. It's why I'm here.
-
The html code for that would be<span style="text-decoration: overline underline;">Text to be overlined and underlined.</span>Presumably that is a CSS attribute, can you do this in HTML? -
You should keep the quotes when declaring a group of fonts, the quotes are not the problem.
-
The problem with the body css not validating is that you've declared measuring units like thismargin-left: 0px;while if you have no margin (also goes for padding) you're not supposed to write "px", "pt", "em" or whatever. Remove the px's and it should be valid.
Then it's the cursor, where "hand" is not a valid cursor. You probably want the "pointer", right? http://www.w3.org/TR/REC-CSS2/ui.html#propdef-cursorLine: 61 Context : .CART_REVIEW_TAX Invalid number : cursor hand is not a cursor value : hand
"Whitesmoke" is not a valid background, do a Ctrl+B in notepad to find the place where this is used and replace it with a valid background attribute/color.http://www.w3.org/TR/REC-CSS2/colors.html#q2Line: 133 Context : .ITEM_ADD_HEADER Invalid number : background Too many values or values are not recognized : whitesmoke
A color-name can not be a value on text-decoration, it's either overline, underline, linethrough, blink or none.http://www.w3.org/TR/REC-CSS2/text.html#li...-striking-propsLine: 421 Context : a.LEFT_NAV_ANCHOR:hover Invalid number : text-decoration #a6af56 is not a text-decoration value : #a6af56
line-height: ; needs a value.http://www.w3.org/TR/REC-CSS2/visudet.html...def-line-heightLine: 473 Context : .Top50List Invalid number : line-height Parse Error - [empty string] -
You don't need a highlight tag when there are tags.
-
What?Instead of this, we should "select" the "link-hover" for our own option -
Python can be used for many things, not just CGI exclusively. But I know it can be used for CGI, we coded in Python in our programming classes, just to get a look into some other programming languages (php was also a language we looked at, the main language was VB, which I consider a total waste).Here some info on using Python for CGI:http://wiki.python.org/moin/CgiScripts
-
You can also follow this link:http://www.w3schools.com/about/about_helping.aspand follow the instructions there on helping correct errors.
-
Isn't CGI mostly outdated though, and the same things can be done as fast or faster with PHP or ASP.Net?
-
Probably just basing it on Justsomeguy's postcount.Justsomeguy did you create a new account under the name Tarte and referred yourself to be a mod? -
Hmm, I like that idea. Just give me a year and 5 days to turn 20, so I can use it in Norway. :)Choco has some turning-21 to do for that prize to be any good.yes, when the "REPORT" button is used, the message you send is appended to the URL and subject of the post being reported. The PM is sent to each moderator.We keep a running record who deletes the most spam. The winner at the end of each month gets a $10 gift certificate that is valid in any liquor store around the globe.Ok, maybe everything in the second paragraph isn't true, but its s nice thought. -
Now you're moving onto this discussion:http://w3schools.invisionzone.com/index.php?showtopic=5790
-
http://www.wsabstract.com/howto/htaccess9.shtml
AddType application/x-shockwave-flash swf tells the server to send files with swf extension with the MIME type application/x-shockwave-flash. Similarly, writing AddType application/x-httpd-php .html should tell the server to send files with html extension as PHP files, and so be sent to the PHP parser. It's possible though that it should be x-httpd-php html without the . (dot) infront of html. When I first googled (yes, it's that simple) for ".htaccess" and "parsing html files for php", I found an example with the dot in front of html: http://www.bigbold.com/snippets/posts/show/459Apologies.What if your server wasn't set up to deliver certain file types properly? A common occurrence with MP3 or even SWF files. Simple enough to fix: AddType application/x-shockwave-flash swf -
It was really uttered as a remark, although I was expecting that it was against the rules, but I realize that was in an older version. I still think it's a bad idea to discuss things like politics and religion and stuff unless we have an off-topic forum where people can knowingly engage in such debates, because discussions/debates on politics and religion often develop into arguments. But never mind.Not being rude or anything, but is that a problem or were you just pointing that out? -
Yup, that should work. Granted php is installed on your server of course.
-
I don't spend much time thinking about (precisely) how old the earth is either, but I take it for granted that it is at least 500 million years like they say here, and not 6 or 12,000 years. That's really the discussion I believe. This has really evolved into a religious debate, whether you believe this or that.
-
No problem. Good luck.
-
I think it's really a matter of discretion. There's a fine line with what's copyright infringement and what's not on the internet, as nobody can really claim copyright on any code itself. So if you were to write your own tutorials (worded as it would fall natural for you to word it), it probably wouldn't be an infringement.However, the best idea is for you to base your tutorials on is what you know of html (or whatever tutorial it is). I would not use w3schools.com as a basis, then translate and further try to write it differently, that way it's still guaranteed to bear too much similarity to the original content.Instead start writing and explaining it on the language you want (Italian, in this case) the way you feel it best explained. There are lots of tutorials on weblanguages out there, and the really big sites offer similar services and yet manage to refrain from copying each others' content. If you're already writing your own tutorials it's really not difficult finding similar examples like the try-it examples, only with different wording.
-
Just because they offer a service for free doesn't mean it's not subject to copyright. They created the content, and as such have the right to decide who posts it and where it is posted. So kaijim says that if they want content translated, they will look for people to do it, and it will probably still be hosted on the same site.You have to understand that w3schools.com is supported by advertizing royalties, and so if the same content is offered on other sites, that would be really bad, because w3schools.com might lose the advertizers, further losing money, which again would mean either that they would have to stop developing content and maybe take the site down because of the bandwidth costs, or that the server costs/working hours would have to be covered by someone else, the users of the site. If you like w3schools.com as a free service, respecting that copyright is what needs to be done for it to stay that way.The above is not an official w3schools.com opinion, just my take on the matter. Thanks for understanding.
How can W3Schools be kept Completely Free?The concept of running a completely free e-learning portal is based on the support from sponsors. To keep the sponsors happy, we need our visitors to stay here and to return often. Off-line surfing of W3Schools reduces our possibilities to continue making this a better school.The best thing you can do to let W3Schools stay on the internet forever, is to use it. The more you use it, the more visitors we get, and the more content we can provide. This way W3Schools will get better and better.Tell everyone you know about us, link to us, help us get more new visitors and we will continue to give you the best! -
Find the .htaccess file, and add this in there:AddType application/x-httpd-php .html
-
Well, the amount of rain (we're talking 40 days of continuous raining, right?) would probably lower the percentage of salt to a tiny decimal or something.
-
Well, plant seeds can handle some water you know... :)Good point about the necessary food though. Carnivores would definitely go after herbivores if there wasn't already enough food for them. And they would need food for God knows how many animals, for 40 days and 40 nights (right?).In fact if the stories of Adam and Eve or the story of Noah, his wife, his sons and their wives are true, we are all the result of inbreed. Isn't that a sin as well? So you can't take the Bible literally.
-
Hehe, Bill Hicks gives an argument on that in the video Revelations. He says he's been talking with a fundamentalist christian who believes the world is 12,000 years old. Then he asks him a one-word question: Dinosaur?
And indeed, it seems weird that God would mess with our heads. Would God (if he exists) deceive us like that?Twelve thousand years old. But I actually asked this guy, "OK, dinosaur fossils-- how does that fit into your scheme of life? What's the deal?" He goes:"God put those here to test our faith.""I think God put you here to test my faith, dude. I think I've figured this out."Does that-- That's what this guy said. Does that bother anyone here? The idea that God might be ****ing with our heads? Anyone have trouble sleeping restfully with that thought in their head? God's running around burying fossils: "Ho ho! We'll see who believes in me now, ha ha! I'm a prankster God. I am killing me, ho ho ho!"
New to CSS and failing!
in CSS
Posted · Edited by Jonas
<link removed.>^ That's the link....Wait, you're browsing with IE, right? I just tried the link in IE, and I notice it doesn't work. I believe IE has a character limit on the adress field. In Opera, the link opens fine. Firefox too, although Opera loads a lot quicker. :|Hmm, try this then:main.css