473,326 Members | 2,013 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,326 software developers and data experts.

firefox won't load it

I have had this on a page for a long time
<span style="text-align:left;text-indent: 0em;line-height:12pt;font-family:
futura, helvetica, arial, sans-serif;font-weight: normal;font-size:
10pt;color:black;background-color:#F0F0F0;border-width:thin;border-style:dotted;border-color:#808080;width:
325px;padding:10px;"><font size="5" face="Verdana, Arial, Helvetica,
sans-serif" color="#333333"> content here </font></SPAN>

It won't work in Firefox though I am completely lost on how to fix it, and
help?


Jul 21 '05 #1
5 6572
aznFETISH skrev:
<span style="text-align:left;text-indent: 0em;line-height:12pt;font-family:
futura, helvetica, arial, sans-serif;font-weight: normal;font-size:
10pt;color:black;background-color:#F0F0F0;border-width:thin;border-style:dotted;border-color:#808080;width:
325px;padding:10px;"><font size="5" face="Verdana, Arial, Helvetica,
sans-serif" color="#333333"> content here </font></SPAN>

It won't work in Firefox though I am completely lost on how to fix it, and
help?


<span> is an inline element, where you can't have width and
height.
--
Knud
Topposter du svar, så ryger du på min ignoreringsliste.
Svar under det du citerer og citer kun det du svarer på - tak.
http://usenet.dk/netikette/citatteknik.html
Jul 21 '05 #2
Once upon a time *aznFETISH* wrote:
I have had this on a page for a long time
<span style="text-align:left;text-indent: 0em;line-height:12pt;font-family:
futura, helvetica, arial, sans-serif;font-weight: normal;font-size:
10pt;color:black;background-color:#F0F0F0;border-width:thin;border-style:dotted;border-color:#808080;width:
325px;padding:10px;"><font size="5" face="Verdana, Arial, Helvetica,
sans-serif" color="#333333"> content here </font></SPAN>

It won't work in Firefox though I am completely lost on how to fix it, and
help?


Why do you have all that "font size", "face" and "color" within
<font> </font> rubbish, when you have it all (in an other way)
properly set in the style? Firefox trie to guess what you want, but
it's not easy. I'll guess it serves the style and not the rubbish part
of your code :)

--
/Arne

Top posters will be ignored. Quote the part you
are replying to, no more and no less! Thank you.
Jul 21 '05 #3
In article <4e******************@tornado.tampabay.rr.com>, ne**@aznfetish.com
enlightened us with...
I have had this on a page for a long time
<span style="text-align:left;text-indent: 0em;line-height:12pt;font-family:
futura, helvetica, arial, sans-serif;font-weight: normal;font-size:
10pt;color:black;background-color:#F0F0F0;border-width:thin;border-style:dotted;border-color:#808080;width:
325px;padding:10px;"><font size="5" face="Verdana, Arial, Helvetica,
sans-serif" color="#333333"> content here </font></SPAN>

It won't work in Firefox though I am completely lost on how to fix it, and
help?


Um, why bother with the font tag?
And I hate to tell you, but IE isn't all that thrilled with it, either.
In fact, it looks far better in my Firefox 1.0 than my MSIE 6.

....

After checking, I notice that it is totally different in quirks mode than
standard. I always use standard mode.

Use a doctype.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Notice how it's all fudged up in MSIE when you do that, but Firefox is fine.
Stop designing stuff relying on quirks mode. ;)

However, whichever mode I used, Firefox looked fine. Only MSIE cared. So I
dunno what you're seeing...

--
--
~kaeli~
God was my co-pilot... but then we crashed in the mountains
and I had to eat him.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 21 '05 #4
You are right I removed the font tags but the problem is the border that is
supposed to be vreated around the text doesn't wrap areounfd the text, its
as if the text go over it and stick off both ends
"Arne" <us**@domain.invalid> wrote in message
news:3b*************@individual.net...
Once upon a time *aznFETISH* wrote:
I have had this on a page for a long time
<span style="text-align:left;text-indent:
0em;line-height:12pt;font-family:
futura, helvetica, arial, sans-serif;font-weight: normal;font-size:
10pt;color:black;background-color:#F0F0F0;border-width:thin;border-style:dotted;border-color:#808080;width:
325px;padding:10px;"><font size="5" face="Verdana, Arial, Helvetica,
sans-serif" color="#333333"> content here </font></SPAN>

It won't work in Firefox though I am completely lost on how to fix it,
and
help?


Why do you have all that "font size", "face" and "color" within
<font> </font> rubbish, when you have it all (in an other way)
properly set in the style? Firefox trie to guess what you want, but
it's not easy. I'll guess it serves the style and not the rubbish part
of your code :)

--
/Arne

Top posters will be ignored. Quote the part you
are replying to, no more and no less! Thank you.

Jul 21 '05 #5
in comp.infosystems.www.authoring.stylesheets, aznFETISH wrote:
You are right I removed the font tags but the problem is the border that is
supposed to be vreated around the text doesn't wrap areounfd the text, its
as if the text go over it and stick off both ends


URL? English?

[FU painlesly deleted and top posting fixed by killfiling and unreadable
text]

Perhaps you should use div instead span?

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Support me, buy Opera:
https://secure.bmtmicro.com/opera/bu...tml?AID=882173
Jul 21 '05 #6

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

Similar topics

4
by: Els | last post by:
Hi, I would like an opinion on the following: I have a page which is made up of background-images with transparent linked images in front of it, which on hover show text in CSS popups. Due to...
3
by: pantagruel | last post by:
The following does not work in firefox: <script defer="defer"> var x=document.getElementsByName("repositoryNamespace") alert(x.length + " elements!")
3
by: binnyva | last post by:
Hi everyone. I just made a JavaScript program to read a RSS feeds and display it in a HTML file. The script - Jasfer or JAvaScript FEed Reader - is available at...
14
by: David Blickstein | last post by:
I have some XML documents that I want to open in a web browser and be automatically translated to HTML via XSLT. I'm using an xml-stylesheet processing command in a file called "girml.xml". ...
4
by: stevong | last post by:
It works on Konquerer though. I remember it works on IE too. I've tried window.close() too. Doesn't work on Firefox also. I've also tried to create a function. It doesnt work on Firefox also....
4
by: petermichaux | last post by:
Hi, I'm hoping for a reason I'm wrong or an alternate solution... I'd like to be able to dynamically include some javascript files. This is like scriptaculous.js library but their solution is...
4
by: puja | last post by:
hi all, I have an asp.net website where am including .css file dynamically on page load event. For diff users, there is diff CSS file. So after user logs in, I am setting CSS href on page load....
4
by: Andre | last post by:
With Firefox 1.5+, I used the following code to close a window/tab: === <html><head> <script language="javascript" type="text/javascript"> function closeWindow() { window.open('','_parent','');...
5
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hallo, I have a radiobuttonlist control that is added on a custom Web User Control. This control has a property that exposes the SelectedIndex property of the embedded radiobuttonlist. When...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.