473,395 Members | 1,418 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

text formatting problems FF and IE

hi, im having a little problem with my text dropping outside my div
container in FF. It formats fine in IE and i just cant seem to crack
it it. Im using external style sheets. Here is my code:

<----CSS----->
#footer {
position:absolute;
width:819px;
height:20px;
z-index:7;
left: 0px;
top: 707px;
background-color: #003366;
padding-left:10px;
padding-top:0px;
}
#footerText {
position:absolute;
top:2px;
left:5px;
}

<----XHTML----->
<div id="footer">
<div id="footerText">
<h2>CALL US FOR GREAT RATES AND INFORMATION ON ALL OUR SERVICES...</
h2>
</div>
</div>

Any suggestion would be greatly appreciated. I have tried nesting the
text directly in the #footer div but i get the same problem.

May 9 '07 #1
4 1633
Mr******@gmail.com wrote:
hi, im having a little problem with my text dropping outside my div
container in FF. It formats fine in IE and i just cant seem to crack
it it. Im using external style sheets. Here is my code:
A URL would be better.
<----CSS----->
#footer {
Your text spills out because it is too tall for your height.
height:20px; <--- this
Use em units instead.
<----XHTML----- <-- Use HTML 4.01 Strict instead
<div id="footer">
<div id="footerText">
<h2>CALL US FOR GREAT RATES AND INFORMATION ON ALL OUR SERVICES...</
h2>
</div>
</div>
That does not look like heading text. ( <h2)
Write something in mixed case and use a <p>aragraph.
Any suggestion would be greatly appreciated. I have tried nesting the
text directly in the #footer div but i get the same problem.
You don't need the extra "footertext". Post the URL when you think you
have it sorted.

--
-bts
-Motorcycles defy gravity; cars just suck
May 9 '07 #2
thanks for the advice :-)

I have managed to sort it. One thing though... why do u recommend
using html 4.01 opposed to XHTML. surely using the most up to date
markup is recommended? that way our sites are forward compatible...

And your right about the text, it shouldnt be heading text, i have
just been playing around with a few different combinations.

unfortunatly i cannot post the url due to contractual reasons.

thanks again...

May 9 '07 #3
Mr******@gmail.com wrote:
thanks for the advice :-)

I have managed to sort it. One thing though... why do u recommend
using html 4.01 opposed to XHTML. surely using the most up to date
markup is recommended? that way our sites are forward compatible...
For one, the most popular browser-like operating system component
(Internet Exploder) can't read properly-served XHTML. Not even the
latest version.
And your right about the text, it shouldnt be heading text, i have
just been playing around with a few different combinations.

unfortunatly i cannot post the url due to contractual reasons.
So then make up a sample illustrative page, and post it on a free
server. Does your ISP give you free space? Many do.

--
-bts
-Motorcycles defy gravity; cars just suck
May 9 '07 #4
On May 9, 1:16 pm, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
MrASt...@gmail.com wrote:
thanks for the advice :-)
I have managed to sort it. One thing though... why do u recommend
using html 4.01 opposed to XHTML. surely using the most up to date
markup is recommended? that way our sites are forward compatible...

For one, the most popular browser-like operating system component
(Internet Exploder) can't read properly-served XHTML. Not even the
latest version.
Oh i see, i didnt know that. i have read many different things
referencing the subject and its difficult to know which route to take.
the whole browser compatability issue is a pain im sure you will
agree :-)
>
And your right about the text, it shouldnt be heading text, i have
just been playing around with a few different combinations.
unfortunatly i cannot post the url due to contractual reasons.

So then make up a sample illustrative page, and post it on a free
server. Does your ISP give you free space? Many do.
Yes i do have free space, il bear that in mind for future, i know it
would make it much easier.
>
--
-bts
-Motorcycles defy gravity; cars just suck

May 9 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: news | last post by:
I've a site: http://gto.ie-studios.net/products.php that looks perfectly fine in Windows whether with IE or Firefox 1.0. But when viewed in the Linux version of Firefox 1.0, images get misaligned...
6
by: shoo | last post by:
Any one know how to do this? thank Write a simple text-formatting program that produces neatly printed output from input text containing embedded command lines that determine how to format the...
2
by: Blaine76 | last post by:
Hi All, This may seem like a stupid question but is there a way to keep text formatting when you add it to a database? Such as Paragraphs and line breaks? Any help greatly appreciated. Blaine
1
by: Pete from Boston | last post by:
I'm going through some "learning by doing" of javascript through trial and error, and admittedly have a lot to learn. But in taking various scripts and dissecting them, I still can't figure out if...
6
by: shoo | last post by:
Any one know how to do this? thank Write a simple text-formatting program that produces neatly printed output from input text containing embedded command lines that determine how to format the...
0
by: Frnak McKenney | last post by:
One of the reasons given for the Allied victory in WWI is that the Nazi armament industry invested so much effort in creating new weapons (e.g. the jet plane) it wasn't able to develop any of them...
0
by: vijay mathews | last post by:
hi i am developing a chat application tool for a company i have a problem..... i have written codings for text formatting such as color, size etc in vb.net..... but when it is connected to a...
1
bartonc
by: bartonc | last post by:
Did you know that it's perfectly legal to defer text formatting until you have the value(s) available? Watch this: s = "%d apples plus %d apples equals %d apples." yours = 3 mine = 4 print s...
3
by: =?Utf-8?B?b24tbGluZSBqb3VybmFsIGVkaXRvcg==?= | last post by:
I can't seem to cut-and-paste text, with either .doc or .html formatting, into my .asp web-pages --all the formatting is lost. Is there some code that needs to be added to the page that will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.