Displaying 20 results from an estimated 6000 matches similar to: "DOCTYPE declaration:"
2006 May 11
1
Doctype -- utf-8 -- html vs xhtml
I was simply trying to write the DOCTYPE line at the top for UTF-8 and got confused.
What doctype do I use with rails for utf-8 files?
If I put in all the damn closing tags on paragraphs and hr and br and all that will the
stuff pass xhml inspection, or will rails insert something I haven'' yet noticed.
Warren
-------------- next part --------------
An HTML attachment was
2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box
displayed at the top of the checkout as described in the tutorial and I
cannot seem to discover where I have erred.
The scaffold.css is copied from the pragmatic programmers site:
#--------------------------------------------------------------------
$ cat public/stylesheets/scaffold.css
body { background-color: #fff;
2006 Apr 28
8
Effects fully display before effect
Why do effects that display an element (like Appear or Slide Down) start by
displaying the element for a split second and then make the element
disappear?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2007 Feb 27
14
Stop browser from "form filling" fields.
Hi all,
I have a user login form which the browser keeps populating because of
its form fill feature. So when anyone goes to log in it shows the
previous login''s username and password. How can I stop the browser
from populating a text field?
Thanks in advance.
Cheers,
Diego
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2003 Dec 14
22
White space being removed from "Programlisting" elements
Good Morning Mike,
I''m finding that when I load a document, XXE is blindly removing all
"superfluous" white space from "programlisting" elements. This of course is
leading to a real mess (check out the FAQ on the web site :-( ).
What can I do to avoid this?
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \
2009 Oct 13
9
Nokogiri: to_s WITHOUT html surrounding's tags?
Hi all
n = Nokogiri::HTML("<h1>H1</h1>")
n.to_s
# => <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"
\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body><h1>H1</h1></body></html>
Is there a method that only outputs the stuff I''ve read, and not the
whole valid XHTML stuff?
2006 Jan 22
5
has_one not working as expected?
I messed around with Rails for a while last year, but then got busy and
had to drop it. However, I now have time again, so I''m starting to play
around with a simple database schema to model my extensive collection of
photographic material, including equipment, negatives, photographs,
etc. I''m running into an issue with using belongs_to/has_one methods.
Read on for an
2007 Jan 11
1
Nice UI Tabs - based on a click
Hi:
I have a piece of UI, basically tabs. The number of tabs will be
variable. the tab itself will contain fields that will change
depending on the tab (pretty standard). The UI could be Ajax-like, or
just nice scriptaculous, or whatever works. Can someone point me in
the right direction? Also, I''m a newbie, so simple is better, although
of course I''m willing to figure
2006 Feb 25
7
generating HTML instead of XHTML
After reading
http://www.hixie.ch/advocacy/xhtml
and having some headaches with IE, I wonder whether helpers can be
configured to generate HTML instead of XHTML.
-- fxn
2005 Oct 10
3
Scrollable DIV causes flicker in FF - SlideDown & SlideUp
I have a fixed height scrollable div inside another
div that controls the slideDown and slideUp effects.
This causes a really bad flicker in Firefox (1.0.7)
for the entire duration of the slide down and up.
While on the other hand it works smoothly in IE
(except that on a slideUp it causes a last second
flash that shows the entire div).
Any ideas on how I can fix this?
Thanks.
2006 Jul 16
3
RJS problem
I have an odd problem while trying to use a simple rjs.
_test.rjs : page.alert "test"
test.rhtml: <script><%=render_partial(''test'')%></script>
When I am attempting to view controller/test the page comes as if it was a
text file.
So i am actually seeing:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2015 Feb 26
1
a simple modification to html output of icecast
Hello,
well, this is only a simple modification I need only me, but I don't
know why it seems not to work.
Since I'm blind, I use sometime a special braille computer in order to
access internet.
The browser is really poor and not compatible with flash, html5, so it
is quite old.
Anyway:
From the moment I upgrade to icecast 2.4.1, instead of showing
correctly the status page:
2014 Mar 13
1
migrating from samba 3 to samba 4
Hi all, after the news that samba 4 is now supporting user lockouts after
bad password attempts we need to plan our roadmap on migrating from Samba 3
to samba 4.
We currently have Samba version 3.0.7-1.3E.1 installed with (passwd)
database as a backend.
I would appreciate if anyone can guide me on the migration process.
Our old server
Centos 4.4
Samba 3.0.7
(Master browser)
2006 Aug 16
15
OT: finding a designer (bit of a rant)
I''ve written my app already. It outputs valid xhtml and I need a stylesheet
to drop over the top. How hard is it for people to understand that?
It''s a small project, they''d have to do the main design/layout, and then a
little custom styling for some specific elements which don''t appear on every
page. That''s the point of CSS right? write once, use
2006 Mar 02
2
Help with routing error.
Ok .. if you are sensitive ... stop reading.
I am totally new to setting up CGI. I am getting a routing error.
Would someone be kind enough to help me? Please?
Here is my form ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on
3 divs below. Unfortunately, the javascript resets when the mouse is
rolled over the text and if you go mouse crazy on the divs, the
script seems to remember where it cut off, and doesn''t roll down
completely afterwards.
Is it a good place to ask for help? I couldn''t find any Scriptaculous
forum (only
2006 Jul 14
6
Using RoR to produce .xhtml files
How can I manipulate RoR to produce an .xhtml file from the view
template(s)? I see how I can use layouts and paritals to efficiently
produce the content and tags that I need, but how can I get the actual
file that''s produced to be named with the .xhtml suffix, (rather than
*.htm, as it currently is)? [Note: I never thought the suffix was all
that important, but evidenly Mozilla
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi !
I'm getting an uncaught exception requiring the Scriptaculous
libraries when everything says XHTML 1.0 Strict:
class ApplicationController < ActionController::Base
before_filter :set_content_type
protected
def set_content_type
response.headers['Content-Type'] = 'application/xhtml+xml;
charset=ISO-8859-1'
end
end
<?xml version="1.0"
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first
to the second but not from the second to the first. The behavior is
consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to
3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the
4th list to anything (besides itself). From the third list I can drag only
to itself and 4.
2006 Apr 11
12
RJS
I am trying to use RJS as shown in this tutorial :
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
However it does not seem to work. I am not getting any excpetions in
the logs. Here is what the logs say :
Parameters: {"action"=>"add", "controller"=>"homepage"}
Rendering homepage/add
The homepage/add is named add.rjs
I know