You are here: Re: tables without spaces « HTML « IT news, forums, messages
Re: tables without spaces

Posted by Faux_Pseudo on 08/03/05 18:03

_.-In alt.html, Nik Coughin wrote the following -._
> Firstly, your html is hideously malformed. Closing tags missing etc. This
> is probably happening because you didn't close the first <pre>

Testing shows that closing the first <pre> has no effect at all.

> Secondly, why on Earth are you marking this up as a table? It's a strange
> use of a table if you ask me, especially as you could have just done:

Because I am creating an ascii-art layout for the pages that will look
something like this:

_______________________________________________________
/_________________________ ________________ ___________ )______
// ____ ____ )) )) //_______ )
// | __) | _ \ (( Ascii // // \\
// () | |__ | |_) | () \\ Photo (( Linux (( Site News\\
(( | __) | __/ )) Beer_Plants )) Porto \\ ))
\\ () | | ____ | | () // Mushrooms // Food )) //
)) |_| (____)|_| ((_____________// //________//
// )) ( :F_P: ( __________)
// // \__________)
(( ((
( ) ( )
||/___/fauxascii.com/________|| Page body.
||/____/photo/_______________||
||/_____/cemetery/___________||
||/______across_from_elmwood/||
||/______elmwood/____________||
||/______new_york/___________||
||/______newtown-rd/_________||
`=___________________________='

Everything "Page body" will be more or less the same on each page.
Everything to the left of it will fluctuate based on the current
possition on the site. In the area of "Page body" will be the actual
content for the page.
The only way I can see to script this for automated updates is via a table.

<table><tr><td><pre>
.----------------.
| banner |
|----------------|</pre></td></tr><tr><td><pre>
|links| body |
| \_________!___insert a </pre></td><td><pre> there
| | |
`----------------'</pre></td></tr></table>

But for the banner to line up with the link there has to be no spacing.
Which, as mentioned, works find in a text browser but doesn't want to
work in Firefox.

--
.-')) fauxascii.com ('-. | It's a damn poor mind that
' ..- .:" ) ( ":. -.. ' | can only think of one way to
((,,_;'.;' UIN=66618055 ';. ';_,,)) | spell a word.
((_.YIM=Faux_Pseudo :._)) | - Andrew Jackson

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация