User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » CSS/XML problem...apparently Page [1]  
mytwocents
All American
20654 Posts
user info
edit post

I want to use a gallery similar to the following example, but there's obviously something that's xml because it needs that doctype declared in order to work correctly...and I don't particularly want to do this.
http://www.cssplay.co.uk/articles/gallery/examples/twelve.html
(you can see the css by viewing the source...ie, it's not a seperate file)
I know jack shit about XML and if all you're going to do is say something rude, then you're lame.

7/24/2006 9:11:27 PM

mytwocents
All American
20654 Posts
user info
edit post

what....NO ONE KNOWS?

7/24/2006 9:29:29 PM

scud
All American
10804 Posts
user info
edit post

Where the hell is the question?

I have no clue what you are asking

7/24/2006 9:31:42 PM

OmarBadu
zidik
25067 Posts
user info
edit post

another quality tech talk thread from m2c

7/24/2006 9:37:40 PM

mytwocents
All American
20654 Posts
user info
edit post

I want to have an image gallery like the one used on that page (twelve.html)

so when I use the code to make my own gallery, it will only work if I put


at the top of my page...before I declare the page doctype


and I want to know why? where is there xml in the image gallery code?

[Edited on July 24, 2006 at 9:45 PM. Reason : ]

7/24/2006 9:39:21 PM

mytwocents
All American
20654 Posts
user info
edit post

Quote :
"and if all you're going to do is say something rude, then you're lame."


I GUESS YOUR LAME

7/24/2006 9:39:50 PM

Noen
All American
31346 Posts
user info
edit post

uh the doctype declaration is for xhtml, which is completely different.

And why wouldnt you want to do that? It doesnt change anything functionally in the page, and it's only going to MAYBE be required for IE to view it correctly if you have problems in the CSS and it wants to default back to an older renderer.

7/24/2006 9:40:17 PM

Noen
All American
31346 Posts
user info
edit post

    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


that is what you need at the top of the page, I dont know where you got that XML declaration from, you much be using firefox or something?

[Edited on July 24, 2006 at 9:41 PM. Reason : .]

7/24/2006 9:41:33 PM

mytwocents
All American
20654 Posts
user info
edit post

I was just saying that I placed it before the doctype...

and it won't fuck up any functionality on the page? cause that's what I was worried about. I just didn't think adding uneeded code was a good idea. But if you say it isn't a concern then thank you

7/24/2006 9:43:22 PM

Noen
All American
31346 Posts
user info
edit post

as long as your code is correct, then no it wont make any difference.

basically declaring the doctype forces interpreting browsers into "strict" mode, where they render more exactly what the code says. If IE encounters CSS/html errors, it drops back into its debug mode (or whatever the hell the official name is) and renders the page as best it can, which usually results in what you intended, but fucks it to all hell in other browsers.

7/24/2006 9:47:12 PM

mytwocents
All American
20654 Posts
user info
edit post

I got it straight from the code on the page I linked to? And I need the initial xml statement
Quote :
""
to make the page work..and actually, I was using IE

7/24/2006 9:47:39 PM

 Message Boards » Tech Talk » CSS/XML problem...apparently Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.