By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

Text in H3 tag is missing when using CSS

P: 13
Hi - I'm using xhtml 1.0 and css 2.0 to code my website. I've run into an odd
problem. I have a simple <h3> element (centered) under my photo, but as you can see Iin FIREFOX, Opera and Netscape) the first word of my <h3> header is tossed to the right top of larger div. Can anyone help. It seems like this only happens when the first word is very short (two or three chars). Thanks sooo much. linda

http://www.acrosstheuniverse.us/zpaphotoladinette.htm
Mar 10 '07 #1
Share this Question
Share on Google+
14 Replies


Ganon11
Expert 2.5K+
P: 3,652
This question should be in the HTML / CSS forum.
Mar 10 '07 #2

P: 13
Hi - I'm using xhtml 1.0 and css 2.0 to code my website. I've run into an odd
problem. I have a simple <h3> element (centered) under my photo, but as you can see Iin FIREFOX, Opera and Netscape) the first word of my <h3> header is tossed to the right top of larger div. Can anyone help. It seems like this only happens when the first word is very short (two or three chars). Thanks sooo much. linda

http://www.acrosstheuniverse.us/zpaphotoladinette.htm
Mar 10 '07 #3

Expert 100+
P: 1,892
Hi - I'm using xhtml 1.0 and css 2.0 to code my website. I've run into an odd
problem. I have a simple <h3> element (centered) under my photo, but as you can see Iin FIREFOX, Opera and Netscape) the first word of my <h3> header is tossed to the right top of larger div. Can anyone help. It seems like this only happens when the first word is very short (two or three chars). Thanks sooo much. linda

http://www.acrosstheuniverse.us/zpaphotoladinette.htm
Linda,
I'm not seeing the problem can u specify please, also your HTML is not valid.
Mar 10 '07 #4

10K+
P: 13,264
This question should be in the HTML / CSS forum.
...and has now been moved to the HTML forum.
Mar 10 '07 #5

ronverdonk
Expert 2.5K+
P: 4,258
Hi - I'm using xhtml 1.0 and css 2.0 to code my website. I've run into an odd
problem. I have a simple <h3> element (centered) under my photo, but as you can see Iin FIREFOX, Opera and Netscape) the first word of my <h3> header is tossed to the right top of larger div. Can anyone help. It seems like this only happens when the first word is very short (two or three chars). Thanks sooo much. linda

http://www.acrosstheuniverse.us/zpaphotoladinette.htm
Also happens in IE 6. The word 'la' is displayed just after the top right of the image. Must have to do with 'clear' attribute.

Ronald :cool:
Mar 10 '07 #6

ronverdonk
Expert 2.5K+
P: 4,258
This is a double post from thread http://www.thescripts.com/forum/thread614573.html in this same forum.

Ronald :cool:
Mar 10 '07 #7

P: 13
Linda,
I'm not seeing the problem can u specify please, also your HTML is not valid.
Thank you for looking. And, I apologize for posting this twice (I had entered the first and then couldn't find it).

When I add 'clear: both;' to my h3 tag, the text stays together. Thank you again.

Linda Jimerson
Mar 10 '07 #8

P: 13
This is a double post from thread http://www.thescripts.com/forum/thread614573.html in this same forum.

Ronald :cool:
I apologize - I had entered my problem (the first time) and then couldn't find it.

I did get really good info. Adding clear: both; to my h3 tag seems to have resolved my problem. Linda JImerson
Mar 10 '07 #9

P: 13
Also happens in IE 6. The word 'la' is displayed just after the top right of the image. Must have to do with 'clear' attribute.

Ronald :cool:

I apologize for entering my problem twice. I added it the first time and then couldn't find it.

Thanks for your "Clear" info - it fixed my problem. Do you know why this happens - it seems a bit odd. Thank you again. Linda JImerson
Mar 10 '07 #10

Banfa
Expert Mod 5K+
P: 8,916
Strictly speaking not a double post as the OP originally posted in 2 separate forums. The double post effect was created when a mod moved 1 post to the same forum as the other.

Anyway I have merged the threads to reduce confusion.
Mar 10 '07 #11

Expert 100+
P: 1,892
Strictly speaking not a double post as the OP originally posted in 2 separate forums. The double post effect was created when a mod moved 1 post to the same forum as the other.

Anyway I have merged the threads to reduce confusion.
Thanks Banfa,
Linda have you fixed the clearing problem yet????????
Mar 10 '07 #12

P: 13
Thanks Banfa,
Linda have you fixed the clearing problem yet????????
Yes - using clear (both) immediately resolved the problem.

What can I do to thank you all (besides posting properly - in the right category). This was invaluable info and I really appreciate the help. Thank you.
Linda Jimerson (newbie to this site)
Mar 20 '07 #13

drhowarddrfine
Expert 5K+
P: 7,435
Spread the good word to other nice people.
Mar 20 '07 #14

P: 13
I will absolutely do that. THANK YOU. Linda J
Mar 23 '07 #15

Post your reply

Sign in to post your reply or Sign up for a free account.