Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

54 users online



Tutorial: Developing Websites with XHTML and CSS

Tutorial: Developing Websites with XHTML and CSS

Currently viewing this thread: 1 (0 members and 1 guests)


Page 3 out of 7
etcher

etcher

Status: Offline!

Wow you guys have put alot of work into that. Good Job!

I noticed in the forth paragraph down

Quote:

XHTML requires a closing on ALL tags. You know your favorite <br> tags? Well now, it's <br/> The "/" at the end makes up for a lack of a closing tag.


I think it is supposed to be "space/" because I think I got busted for not having the space when validating.

Also, I was hoping the section for tables to divs would be a little bit more in depth. The positioning of the divs is the only thing that is still not real clear to me in XHTML. I can absolute position them to the left, but I can never find in a tutorial or book where someone explains a clear rock solid way to replace "table align<center>". For example, when I have 5 divs containing images in a line, I can't ever get them to sit right in the middle of the page without stretching, moving or jumping to the next line. And if I do get them to sit centered in the page, when I change the size of the browser window they don't move to the center again like a table would. So if you all could include something like that in the tutorial I am sure alot more people would jump on the css bandwagon. I know I would. Grin

Thanks for all the work you all have done already.

fredmv

fredmv

Status: Offline!

Hey thanks a lot for the comments etcher... We're planning on adding a lot more detail in version 1.1 of the tutorial! Also, about the extra space issue, I don't think it matters but I'll try it out right now.Grin

*** EDIT ***

Just tested it with an XHTML 1.0 Strict doctype...

And well, it turns out, as I suspected, the extra space isn't needed. I usually add it anyway just because that's the way I like to do it.Grin

Sample Page: http://home.comcast.net/~fredv4/tf/xhtml-test.html
Validate It: http://validator.w3.org/check?uri=http%3A%2F%2Fhome.com ... tf%2Fxhtml-test.html

Thanks for the suggestion though!

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

Last edited by fredmv, July 27th, 2003 09:58 AM (Edited 1 times)

Jeb

Jeb

Status: Offline!

I think the space was meant to be in there because of compatibility issues with Netscape browsers, AFAIK. At least, that's what I've read around the place. But you'd think they would have fixed those issues by now. I suppose that makes the point moot.

Nice guide, I definitely found a few useful things from it! I liked the part about the @media explanations - I'll definitely be using that if I ever create anything I anticipate will be printed.

One problem with the PHP code section though:

Quote:

Make sure to read the comments and change them appropriately! Now, your links should look like:

<a href="?news">News</a>

That won't work as expected. In PHP, that will create the element "news" in the GET array, not the element "id". That will break your script. I think you mean:

Code:

?id=news

instead.

___________________

Adam Goossens -- PHP is my mother tounge.

Linux: ( kernel.org | winehq ) -- f33l the p0w3r.

Nobody replying to your questions? Getting flamed? Getting told to RTFM? Ask your questions the right way.

Last edited by Jeb, July 27th, 2003 01:35 PM (Edited 1 times)

etcher

etcher

Status: Offline!

Thanks Jeb. I knew I remembered something about the space. I have a short memory. Grin

fredmv

fredmv

Status: Offline!

Woah thanks Jeb... Server-side legend.Grin

I'll fix the PHP error -- Thanks for pointing that out.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

Dan1

Dan1

TF Retiree
Status: Offline!

Wow, tons of great comments. Smile Ready to start 1.1 as soon as you get on AIM, Fred. Tongue (Yeah I'm being a bugger, so what..)

James

James

Development Forum Leader
Status: Offline!

And you guys didn't include me with this tutorial? :Cry:

.. What's the font that you are using, is it Georgia? That font seems to popular with CSS driven sites for some reason.

___________________

irc.efnet.net #neverside
Neverside merchandise!

Dan1

Dan1

TF Retiree
Status: Offline!

I don't know, Fred likes it. Smile

Well, Apoc, maybe if you wrote/coded it we would have. Smile

James

James

Development Forum Leader
Status: Offline!

Dan: But you never asked me to help write/code it Sad

But atleast you included some of my CSS tips Grin I'm flattered

___________________

irc.efnet.net #neverside
Neverside merchandise!

Dan1

Dan1

TF Retiree
Status: Offline!

Haha you should be, you're famous! Grin

Page 3 out of 7
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0093 seconds.