GetDotted Domains

Viewing Thread:
"HTML Help"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sat 12/04/03 at 16:50
Regular
Posts: 787
Okay, just been dusting off my html coding, and started on what was going to be a short, simple project in the easter break. But problems in my code have reared their ugly heads.

I'm working on the table for the general layout. I've set the border to 1 to show where the individual cells are, and there's a row of single empty cells along the top to show the columns.

http://rooneynet.tripod.com/table2.html

shows what I'm trying to go for, except that the 'main page content cell' should be bigger, and spread beneath the logo image. In theory I should be able to do this, by adjusting the appropriate cells' colspan attributes.

I've tried to do this in the following page. Unfortunately, it didn't quite work out:

http://rooneynet.tripod.com/table3.html


To view source, remember that the vast majority of the code is put in by tripod for their banners and stuff.
Scroll to the bottom of the source file, and you can pretty much see where my code starts, in the table tag just above the bunch of cell tags with   s in (the row of empty cells).


*Note: I've tried adding text to the main content cell to puch it across, it doesn't work...

So, for some reason a bunch of cells are taking up loads of space, and nothing's lining up like it was intended to.

Any help?
Please
Mon 14/04/03 at 20:34
Regular
"tinycurve.gif"
Posts: 5,857
cjh wrote:
> Well, XHTML is pretty much HTML following XML rules:
>
> ========================
> HTML Tags must all be in lower case.
> - > -
Can be either

> HTML Tags must all be closed off.
> -

Paragraph > - Paragraph

is, and the paragraph tag is a bad example, because the paragraph tag doesn't need to be closed unless a style sheet is applied to the paragraph.

> HTML Tags which are known as 'Empty' must all be closed off.
> - > -
Really? Wow, you should help me make NetWise!

> All attributies must be embedded in quote marks and lowercase.
> - > height="120" /is correct.
> - > correct.

Those are properties, not attributes.

> HTML Tags must be 'well-formed', which means placed correctly (You
> must close of the last used HTML Tag first).
> - Text is correct.
> - Text is not correct.

Correct

> A DOCTYPE is always required at the top of the page (even before the
> > > Transitional//EN" "http://www.w3.org/TR/xhtml1/ (space)
> DTD/xhtml1-transitional.dtd"(but does NOT require the / at the
> end, as this is not looked on as an HTML Tag)

To make this appear automatically, click Save in the browser window rather than the source window. It's much easier!
Mon 14/04/03 at 20:30
Regular
"It goes so quickly"
Posts: 4,083
XHTML :) not regular HTML.

XHTML must be in lowercase.
Mon 14/04/03 at 20:28
Regular
"tinycurve.gif"
Posts: 5,857
Actually, it doesn't matter if you put the tags in upper or lower case, as long as you don't mix them.

eg.

or

Mon 14/04/03 at 18:16
Regular
"It goes so quickly"
Posts: 4,083
Well, XHTML is pretty much HTML following XML rules:

========================
HTML Tags must all be in lower case.
-


are correct.
-


are not correct.

========================

HTML Tags must all be closed off.
-

Paragraph

is correct.
- Paragraph

on its own is not correct.

========================

HTML Tags which are known as 'Empty' must all be closed off.
-


is correct.
-

is not correct.

========================
All attributies must be embedded in quote marks and lowercase.
- is correct.
- is not correct.

========================
HTML Tags must be 'well-formed', which means placed correctly (You must close of the last used HTML Tag first).
- Text is correct.
- Text is not correct.

========================

A DOCTYPE is always required at the top of the page (even before the tag):
(but does NOT require the / at the end, as this is not looked on as an HTML Tag)

... and some other stuff I probably forgot.
http://www.w3schools.com/xhtml/default.asp is where I read up on it.
Mon 14/04/03 at 17:56
Regular
Posts: 8,220
I see. They don't seem to be doing any harm where they are, so I guess they can stay for now :^)

I've had my eye on the DHTML, XML and XHTML chapters in my HTML book for a while, but I think it'll be a while before I get there (uni work). Maybe in the summer...
Mon 14/04/03 at 15:58
Regular
"It goes so quickly"
Posts: 4,083
Oh, sorry :)

That's XHTML. Its what I write my Web Pages in, force of habit.

Basically, that is the closing for an emtpy HTML Tag. You know you have things like:

---
(opening tag) (closing tag)

and empty tags:
ot
or


Well in XHTML you have to close off an empty tag as well, by inserting a / at the end of it.




instead of




If you want you can remove them, but I don't think it'll hurt to leave them there.
Mon 14/04/03 at 01:41
Regular
Posts: 8,220
Where you end img tags with
/>
instead of just
>

Why? Does it make a difference?
Mon 14/04/03 at 01:09
Regular
Posts: 8,220
Got it, thanks
:^)
Sun 13/04/03 at 20:16
Regular
"It goes so quickly"
Posts: 4,083
No probs.

Have you got the code?? Can I take it off my Site now??
Sun 13/04/03 at 19:09
Regular
Posts: 8,220
Perfect! Thanks

*hugs cjh*

:^D

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!
Excellent
Excellent communication, polite and courteous staff - I was dealt with professionally. 10/10

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.