Click here to get back home

Auto remove whitespace from HTML

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Auto remove whitespace from HTML howa 04-14-2008
Posted by howa on April 14, 2008, 2:23 am
Please log in for more thread options
Consider an example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style>
        a { background-color:red;}
</style>
</head>
<body>

<a href="#">A</a>
<a href="#">B</a>
<a href="#">C</a>
<a href="#">D</a>
<a href="#">E</a>
<a href="#">F</a>
<a href="#">G</a>

</body>
</html>


There are whitespace within each hyperlink, without touching the
source, is it possible to remove all the whitespaces?

Thanks.

Posted by dorayme on April 14, 2008, 3:01 am
Please log in for more thread options
In article

> Consider an example:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <style>
>         a { background-color:red;}
> </style>
> </head>
> <body>
>
> <a href="#">A</a>
> <a href="#">B</a>
> <a href="#">C</a>
> <a href="#">D</a>
> <a href="#">E</a>
> <a href="#">F</a>
> <a href="#">G</a>
>
> </body>
> </html>
>
>
> There are whitespace within each hyperlink, without touching the
> source, is it possible to remove all the whitespaces?
>
> Thanks.

Fixing up a few things in your mark up, closest is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>A howa question</title>
<style type="text/css" media="all">
a { background-color:red;}
</style>
</head>
<body>
<div>
<a href="#">A</a
><a href="#">B</a
><a href="#">C</a
><a href="#">D</a
><a href="#">E</a
><a href="#">F</a
><a href="#">G</a>
</div>
</body>
</html>

--
dorayme

Posted by dorayme on April 14, 2008, 3:07 am
Please log in for more thread options
In article

> In article
>

> Fixing up a few things in your mark up, closest is:

Or perhaps I should have:

<http://dorayme.890m.com/alt/howa589.html>

--
dorayme

Posted by howa on April 14, 2008, 6:02 am
Please log in for more thread options
On 4$B7n(B14$BF|(B, $B2<8a(B3$B;~(B07$BJ,(B, dorayme
> In article
>
> > In article
>
> > Fixing up a few things in your mark up, closest is:
>
> Or perhaps I should have:
>
> <http://dorayme.890m.com/alt/howa589.html>
>
> --
> dorayme


Thanks.



Posted by Bergamot on April 15, 2008, 9:52 am
Please log in for more thread options
howa wrote:
>
> <a href="#">A</a>
> <a href="#">B</a>
>
> There are whitespace within each hyperlink, without touching the
> source, is it possible to remove all the whitespaces?

a

BTW, next time post a URL, not code.

--
Berg

Similar ThreadsPosted
Whitespace and html August 15, 2006, 1:18 pm
Gaps caused by whitespace: solutions without changing HTML code? May 19, 2006, 1:36 pm
Want to remove img-border w/ xhtml, not html January 14, 2007, 2:23 am
Auto resizing February 4, 2005, 10:33 am
auto-table expanding June 25, 2006, 2:07 am
overflow:auto (or scoll) and height:100% September 23, 2006, 8:03 pm
Any way to make an auto-sizing window? January 16, 2007, 1:55 am
How to let the layout laterals auto sizing? March 26, 2008, 11:03 am
Auto resizing web page according to screen resolution February 23, 2006, 12:56 am
How to make fieldset auto size to its inner content? June 28, 2007, 10:32 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap