Forum Moderators: open

Message Too Old, No Replies

H1, H2 or H3 tags and carriage returns

eliminating carriage returns from the header tags

         

decaff

4:15 pm on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi folks,

I am working closely with a Web Designer who is building out a brand new site for a client and I am doing the SEO work for the same client...
So I sent along all the optimized content with the necessary <h1> , <h2> tags to highlight the pages theme for the visitors, first and for the bots to index, secondly,
The Web Designer is complaining loudly about not being able to control the built in "carriage return" that comes along with the header tags...
Does anyone know how to specifically control this so that one can more tightly integrate the <header> tags with the body content?

I thank you in advance for your suggestions....

glengara

4:17 pm on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If he's using CSS to modify size, I believe " display: inline" works.

brotherhood of LAN

4:21 pm on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



inline or if you want the following element to be "tight" to the heading you would want to add margin:0px; padding:0px and they should be flush with a single line break.

// added
I think there should be a thread in the library about it, good few CSS questions already covered in there ;)

decaff

4:28 pm on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Gengara,

Thank you so much for your incredibly fast and helpful suggestion...this is the answer...I just tested it on one of my sites...thanks again...

decaff

4:35 pm on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Brotherhood of LAN,

Thank you for the additional info...this is very helpful for solving my particular problem and how the Web Designer wants the page to look...