Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 05-06-2005, 04:00   #1 (permalink)
Viper
Civilians

 
Default I give up validating sites.

I figured I would take a shot at validating my other sites. But I give up.
W3C says you cant have CENTER or P tags in tables. Then how do you center
text when you dont wish to learn/use CSS?


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 05-06-2005, 04:00   #2 (permalink)
Els
Civilians

 
Default Re: I give up validating sites.

Viper wrote:

> I figured I would take a shot at validating my other sites. But I give up.
> W3C says you cant have CENTER or P tags in tables. Then how do you center
> text when you dont wish to learn/use CSS?


You pay someone else to do it for you :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Phyllis Nelson - Move Closer
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-06-2005, 04:00   #3 (permalink)
Chris Hope
Civilians

 
Default Re: I give up validating sites.

Viper wrote:

> I figured I would take a shot at validating my other sites. But I give
> up. W3C says you cant have CENTER or P tags in tables. Then how do you
> center text when you dont wish to learn/use CSS?


You should be able to have them in tables, but make sure they're inside
the cells eg <td><center>centered</center></td>

Although why don't you just do this:

<td align="center">centered</td>

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-06-2005, 04:00   #4 (permalink)
Mark Parnell
Civilians

 
Default Re: I give up validating sites.

Previously in alt.www.webmaster, Viper <venomx@gmail.com> said:

> I figured I would take a shot at validating my other sites. But I give up.


Come on, don't be a quitter.

> W3C says you cant have CENTER or P tags in tables.


That's what the specs say.

> Then how do you center text when you dont wish to learn/use CSS?


Why on earth wouldn't you want to use CSS?

(Hint: what about the align="" attribute?)

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-06-2005, 04:00   #5 (permalink)
Viper
Civilians

 
Default Re: I give up validating sites.

Mark Parnell wrote:
> Previously in alt.www.webmaster, Viper <venomx@gmail.com> said:
>
>> I figured I would take a shot at validating my other sites. But I
>> give up.

>
> Come on, don't be a quitter.
>
>> W3C says you cant have CENTER or P tags in tables.

>
> That's what the specs say.
>
>> Then how do you center text when you dont wish to learn/use CSS?

>
> Why on earth wouldn't you want to use CSS?


Because I make simple pages. Yes its my choice because I hate sites full of
images, flash, and other clutter.
I could never see the need to put all code in another file or at the top of
each file when it will work in the code itself.

> (Hint: what about the align="" attribute?)


Where? I try <p align="center"> says its invalid...


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-06-2005, 08:00   #6 (permalink)
Viper
Civilians

 
Default Re: I give up validating sites.

Mark Parnell wrote:
> Previously in alt.www.webmaster, Viper <venomx@gmail.com> said:
>
>> As a example I have...

> <snip>
>
> Are you trying to use Transitional or Strict? You'll have to use
> Transitional if you don't want to use CSS.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-06-2005, 08:00   #7 (permalink)
Chris Hope
Civilians

 
Default Re: I give up validating sites.

Viper wrote:

> Chris Hope wrote:
>> Viper wrote:
>>
>>> Chris Hope wrote:
>>>> Viper wrote:
>>>>
>>>>> I figured I would take a shot at validating my other sites. But I
>>>>> give up. W3C says you cant have CENTER or P tags in tables. Then
>>>>> how do you center text when you dont wish to learn/use CSS?
>>>>
>>>> You should be able to have them in tables, but make sure they're
>>>> inside the cells eg <td><center>centered</center></td>
>>>>
>>>> Although why don't you just do this:
>>>>
>>>> <td align="center">centered</td>
>>>
>>> As a example I have...
>>>
>>> <table>
>>> <tr>
>>> <td>
>>> <center>BAH BAH BAH</center>
>>> <br />
>>> <p>lots of text here
>>> here
>>> here
>>> here
>>> here</p>
>>> </td>
>>> </tr>
>>> </table>
>>> The center and P tags are invalid.

>>
>> Well I just uploaded this to the w3c validation service and it
>> validated:
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html>
>> <head>
>> <title>test</title>
>> </head>
>> <body>
>> <table>
>> <tr><td><center>centered</center></td></tr>
>> </table>
>> </body>
>> </html>

>
> So why wont
> http://validator.w3.org/check?uri=ht...king.zurax.com


From a very brief look you have your <center> tag inside a <font> tag
which I would imagine is what is causing the problem, not that it's in
a <td>. Also the font tag is never closed with a </font>

I just tried removing your font tag on line 33 and it fixed that
particular error, leaving just 4 errors.

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[News Feed] Search Sites Try to Give Instant Answers Forum Mouse News Articles 0 10-04-2005 08:00
Validating Cells Discovery Microsoft Applications 2 08-19-2005 16:00
Validating data in a User Form Jack Gillis Microsoft Applications 1 06-19-2005 20:00
Ok need a little help (no not with validating or programming!) Viper Web Design 3 05-07-2005 12:00
W3C Sites Dan Ruscoe Web Design 16 12-19-2004 16:00


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:35.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.99533 seconds with 19 queries