HighDots Forums  

How to eliminate the line breaks that occur with headers

alt.html.tags alt.html.tags


Discuss How to eliminate the line breaks that occur with headers in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Bowling
 
Posts: n/a

Default How to eliminate the line breaks that occur with headers - 01-21-2004 , 08:22 PM






Everywhere I have used <h#> ... </h#>, with or without a class=.. I get an
effective double line break, with or without CSS.

What I want to do is to switch text colors, size, and positioning (left,
center, right) and keep the text on the same line (unless I put in a <br>
intentionally).

Sometimes I want to do something like this:

Left text centered text right text.

on one line, and have them maintain their relative positions regardless of
screen or window sizes without using manual positioning.

So far, the only way I've found for reliable positioning is with tables (3
wide for the above) and the only way to change color or other adjustments is
to make adjustments in line with the text.

Why bother with a separate CSS file when you have to do the much of the
styling embedded in the HTML? And how do you easily maintain it over the
entire site with constant local adjustments?

What I've used to get around this problem is to import a javascript file
with several defined JS routines writing out HTML with styling embedded.
Not anywhere near as clean and easy as CSS, but I can at least adjust the
entire site by changing one location.

Thanks, John


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004



Reply With Quote
  #2  
Old   
wayne
 
Posts: n/a

Default Re: How to eliminate the line breaks that occur with headers - 01-29-2004 , 10:49 PM






John Bowling wrote:
Quote:
Everywhere I have used <h#> ... </h#>, with or without a class=.. I get an
effective double line break, with or without CSS.

What I want to do is to switch text colors, size, and positioning (left,
center, right) and keep the text on the same line (unless I put in a <br
intentionally).

Sometimes I want to do something like this:

Left text centered text right text.

on one line, and have them maintain their relative positions regardless of
screen or window sizes without using manual positioning.

So far, the only way I've found for reliable positioning is with tables (3
wide for the above) and the only way to change color or other adjustments is
to make adjustments in line with the text.

Why bother with a separate CSS file when you have to do the much of the
styling embedded in the HTML? And how do you easily maintain it over the
entire site with constant local adjustments?

What I've used to get around this problem is to import a javascript file
with several defined JS routines writing out HTML with styling embedded.
Not anywhere near as clean and easy as CSS, but I can at least adjust the
entire site by changing one location.

Thanks, John


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004


Have you tried using div or iframes in css?


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.