Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to eliminate gap below "<h3>"

Reply
Thread Tools

How to eliminate gap below "<h3>"

 
 
dorayme
Guest
Posts: n/a
 
      12-08-2008
In article <(E-Mail Removed)>,
Allodoxaphobia <(E-Mail Removed)> wrote:

> On Mon, 8 Dec 2008 09:44:06 +0100, Netx wrote:
> > I try in vain to eliminate the vertical space between <h3> and
> > the following text. What style tags or other tags will help?

>
> for me: <h3 style="line-height: 80%;">
>
> Adjust the % as necessary.
>
> Works here in konqueror, Firefox, Opera, and in IE6 running under wine.
>


Not a good idea though as a practice because headings can (and
desirably) wrap when browser width cannot hold the text on one line
(accelerated by large user font-sizes). See the cramped effect.

--
dorayme
 
Reply With Quote
 
 
 
 
Allodoxaphobia
Guest
Posts: n/a
 
      12-08-2008
On Tue, 09 Dec 2008 08:16:45 +1100, dorayme wrote:
> Allodoxaphobia wrote:
>> On Mon, 8 Dec 2008 09:44:06 +0100, Netx wrote:
>> > I try in vain to eliminate the vertical space between <h3> and
>> > the following text. What style tags or other tags will help?

>>
>> for me: <h3 style="line-height: 80%;">
>>
>> Adjust the % as necessary.
>>
>> Works here in konqueror, Firefox, Opera, and in IE6 running under wine.
>>

>
> Not a good idea though as a practice because headings can (and
> desirably) wrap when browser width cannot hold the text on one line
> (accelerated by large user font-sizes). See the cramped effect.


True, I guess. But..
Seems to play nice with an <h3> following an <h1>:

<h1 style="line-height: 80%;">Short Text 1</h1>
<h3 style="line-height: 80%;">Short Text 2</h3>

Here I employ simple, short, sweet <header> texts.
I check my results by shrinking the size of my browser(s) windows to 640.
KDE is nice because it'll display the size of the window as you resize it.

On a few of my web pages I have the comment, to wit:

"If you're still browsing the World Wide Web using 640x480
resolution, ask your grand-daughter to change it for you."

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
* Killfiling google & XXXXbanter.com: jonz.net/ng.htm
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      12-08-2008
Allodoxaphobia wrote:

>> Not a good idea though as a practice because headings can (and
>> desirably) wrap when browser width cannot hold the text on one line
>> (accelerated by large user font-sizes). See the cramped effect.

>
> True, I guess. But..
> Seems to play nice with an <h3> following an <h1>:


It's a foolish play, in a world where adequate approaches (mentioned in the
discussion) exist. Besides, on my browser, this styling really has no
effect:

> <h1 style="line-height: 80%;">Short Text 1</h1>
> <h3 style="line-height: 80%;">Short Text 2</h3>


A 3rd level heading after a 1st level heading? Who stole the entire 2nd
level?

And it looks bad e.g. when a background color is used for headings (which is
a nice way to highlight headings in user style sheets, for example - for any
reasonably-authored pages).

> On a few of my web pages I have the comment, to wit:
>
> "If you're still browsing the World Wide Web using 640x480
> resolution, ask your grand-daughter to change it for you."


It's a very useful bogosity indicator. I would surely not devote even a 640
by 480 window to viewing such a page, even if my monitor can accommodate a
few such windows. Could I suggest that you add
<blink><marquee><font color=red size=7>...</font></marquee></blink>
markup around this important message?

--
Yucca, http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
nice.guy.nige
Guest
Posts: n/a
 
      12-10-2008
While the city slept, Jukka K. Korpela feverishly typed:

[...]
> <blink><marquee><font color=red size=7>...</font></marquee></blink>

[...]

<font color=red bgcolor=green size=7>

.... surely??

Cheers,
Nige

--
Nigel Moss | http://www.nigenet.org.uk
Email not valid. http://www.velocityreviews.com/forums/(E-Mail Removed) - take the dog out!
"You're mother ate my dog!", "Not all of him..."


 
Reply With Quote
 
Bergamot
Guest
Posts: n/a
 
      12-10-2008

nice.guy.nige wrote:
> While the city slept, Jukka K. Korpela feverishly typed:
>
>> <blink><marquee><font color=red size=7>...</font></marquee></blink>

>
> <font color=red bgcolor=green size=7>
>
> ... surely??


<font color=red bgcolor=green size=7 face="Comic Sans MS">

No other font will do.

--
Berg
 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Browser crashes with below code.What is wrong in below code. kiran Javascript 12 12-07-2011 02:38 PM
Could someone scan me a picture of the below? (Read Below) starlightvoyager@yahoo.com DVD Video 1 08-28-2006 05:42 AM
Gap in IE, no gap in FF chlori HTML 1 01-19-2006 09:30 PM
gap MCSD 1 10-14-2004 03:51 AM



Advertisments