IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1834.78 MB
Powered by
Channel Info
Network: freenodeChannel: #html |
Search in www.irclog.org
Log from #html at freenode 2006-06-20
[01:05]<wxvyznz>-Anyone in here know how to get <object> with a type of text/html working in IE?
[01:05]<wxvyznz>-for example, http://moop.moonoo.com/~josh/objtest.html <-- works in Firefox, not IE.
[02:56]<efyc>+hi. i have a question about XHTML validation.. I have a URL with like this http://www.somesite.com?id=00000 and XHTML validation is failing because of the 'id'
[02:56]<pfraaym>-what is the url?
[02:56]<pfraaym>-and what is the error?
[02:56]<efyc>+error is in the validation...
[02:56]<pfraaym>-no shit
[02:56]<efyc>+general entity "id" not defined and no default entity .
[02:57]<wjjsvr>+XHTML is basically useless .. stick with HTML4.01 Strict unless you know a very good reason why you're using XHTML ..
[02:57]<wjjsvr>+`url
[02:57]<efyc>+whats the difference
[02:58]<efyc>+http://elicoten.servegame.com/index2.html
[02:58]<wjjsvr>+^^ Given that, use HTML4.01 Strict
[02:58]<wjjsvr>+!v http://elicoten.servegame.com/index2.html
[02:58]<pfraaym>-i like xhtml 1.0 strict
[02:58]<wjjsvr>+And *especially* don't use XHTML1.1 ..
[02:58]<pfraaym>-i like to close tags :)
[02:58]<efyc>+why
[02:58]<pfraaym>-i also like 1.1 :)
[02:58]<wjjsvr>+flaccid: there's nothing stopping you closing them in HTML :)
[02:59]<wjjsvr>+flaccid: yes, but you know what you're doing and you know why you're doing it .. don't confuse people
[02:59]<pfraaym>-good point
[03:00]<wjjsvr>+EliC: just follow the bouncing ball in the validator .. no DOCTYPE found would be your first problem
[03:00]<efyc>+what is the difference between HTML 4.01 and XHTML (1/1.1)
[03:00]<pfraaym>-i sit in the middle of the "don't use xhtml" argument
[03:00]<efyc>+ok I do have a doc type - the problem is a mandatory frame which the sponser requires
[03:00]<wjjsvr>+EliC: one is HTML, the other is XHTML .. XHTML1.0 is essentially the same as HTML4.01 only it requires that all tags be closed. The *problem* is that not all browsers (read IE) support it.
[03:01]<efyc>+I see... would changing the doctype to HTML make IE render my site correctly
[03:01]<efyc>+I have so irritating CSS issues in IE - would changing it to HTML fix this
[03:01]<efyc>+*some
[03:01]<pfraaym>-nah
[03:02]<pfraaym>-just use 4.01 strict. doesn't mean that its the problem. you have to make the page valid first become you can assume
[03:02]<pfraaym>-do what Woosta says :)
[03:02]<efyc>+what is wrong with the page?
[03:02]<efyc>+there is a doctype buried inside one of the frames (the main frame)
[03:03]<efyc>+but i can't get rid of the frameset because its not within my controo
[03:03]<efyc>+*control
[03:03]<pfraaym>-first escape every & by using &
[03:03]<efyc>+but its in a URL
[03:03]<efyc>+still do it?
[03:03]<pfraaym>-validate every page you have control of
[03:03]<pfraaym>-yes. needs to be done in urls
[03:04]<efyc>+ok
[03:04]<pfraaym>-thats why you get uknown entity. &id <- thinks its an entity
[03:06]<efyc>+ok fine
[03:06]<efyc>+I think that solved it
[03:06]<efyc>+now what are the arguments for changing XHTML to HTML?
[03:06]<pfraaym>-change the dtd
[03:07]<pfraaym>-always use 4.01 strict as Woosta says unless you want to experiment with xhtml
[03:08]<efyc>+what does XHTML do that HTML can't
[03:08]<pfraaym>-xhtml uses the tags from 4.01, but it has other rules
[03:08]<pfraaym>-EliC: simple answer, nothing
[03:08]<pfraaym>-it can do less in a lot of cases
[03:08]<efyc>+at the moment my site is valid XHTML - to make it HTML compatible requires a few small changes.
[03:12]<pfraaym>-well its valid html 4.01 strict now
[03:12]<pfraaym>-load the js script in the header
[03:13]<efyc>+would that work?
[03:13]<efyc>+which js script?
[03:14]<efyc>+now I have a problem with my CSS. The validator won't accept {opacity: 0;}
[03:14]<efyc>+but it works
[03:16]<pfraaym>-<script type="text/javascript" src="/general.js"></script>
[03:17]<efyc>+ok moved :)
[03:17]<efyc>+what if i wanted it to appear further down the page - woud it still work in the headeR?
[03:18]<pfraaym>-how it works is dependant on the script
[03:19]<pfraaym>-i dunno if opacity is standard
[03:19]<pfraaym>-i've never used it before
[03:19]<efyc>+no its not standard... does that mean I can't use it?
[03:19]<pfraaym>-it means its not valid
[03:19]<pfraaym>-its a proprietory tag
[03:19]<efyc>+is there any valid way of doing it?
[03:19]<pfraaym>-not that i can spell
[03:19]<pfraaym>-nope
[03:19]<efyc>+does it matter if my CSS isn't valid
[03:20]<pfraaym>-actually i think you can do it with javascript
[03:20]<wjjsvr>+If that's the only problem, I'd ignore it
[03:20]<efyc>+ok
[03:20]<pfraaym>-it effectively doesn't matter, but its a good practice to include non valid css in a separate stylesheet
[03:21]<wjjsvr>+Though I also normally ignore -moz-opacity, -khtml-opacity and filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); zoom: 1;
[03:21]<pfraaym>-wtf is that
[03:21]<pfraaym>-filter:foo
[03:22]<wjjsvr>+IE :)
[03:22]<wjjsvr>+See the 'Microsoft' in it?
[03:22]<pfraaym>-directx ?
[03:22]<wjjsvr>+No idea ..
[03:22]<wjjsvr>+Playing with opacity: http://rick.measham.id.au/paste/transparent.htm
[03:30]<efyc>+unsurprisingly I can't get CSS opactiy working in internet explorer - I think I'll just edit the images and change the image on hover
[03:31]<pfraaym>-i wouldn't bother with it until its supported
[03:31]<pfraaym>-but thats just me
[03:32]<vnmlnznm>+how do I specify css for a certain div id?
[03:32]<efyc>+which is why I am not going to use CSS but instead use an image editor to set the opacity of the image
[04:07]<fyvrrn>+hey guys, if /foo/cgi-bin/bar.pl executes window.open('new.html', 'someWindow', ''); where does new.html have to be located?







