Hi there,
when using IE5+ my style sheets just work fine, but Mozilla does not agree
with it and I can´t figure out which mistake it is. Usually the thing about
it is that every row is displayed well but Mozilla displays the first row
too big and cuts away the second row of the text. Can somebody tell me what
is wrong with it and how to change the code?
(HTML-Table wrapped around in php-code)
echo "<table width=\"151\" border=\"0\" cellspacing=\"2 \" cellpadding=\"0 \"
align=\"left\">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white \"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\ " colspan=\"2\">& nbsp;<font
face=\"Arial,He lvetica,Geneva, Swiss,SunSans-Regular\"><font
color=\"white\" ><b><a style=\"color:# FFFFFF; font-size=6pt;\"
href=\"index.ph p?id=2&id2=11\" target=\"_self\ ">Text 1 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white \" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2 \" cellpadding=\"0 \">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white \"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\ " colspan=\"2\">& nbsp;<font size=\"-2\"
face=\"Arial,He lvetica,Geneva, Swiss,SunSans-Regular\"><font
color=\"white\" ><b><a style=\"color:# FFFFFF; font-size=6pt;\"
href=\"index.ph p?id=2&id2=12\" target=\"_self\ ">Text 2 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white \" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2 \" cellpadding=\"0 \">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white \"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\ " colspan=\"2\">& nbsp;<font size=\"-2\"
face=\"Arial,He lvetica,Geneva, Swiss,SunSans-Regular\"><font
color=\"white\" ><b><a style=\"color:# FFFFFF; font-size=6pt;\"
href=\"index.ph p?id=2&id2=13\" target=\"_self\ ">Text 3 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white \" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2 \" cellpadding=\"0 \">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white \"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\ " colspan=\"2\">& nbsp;<font size=\"-2\"
face=\"Arial,He lvetica,Geneva, Swiss,SunSans-Regular\"><font
color=\"white\" ><b><a style=\"color:# FFFFFF; font-size=6pt;\"
href=\"index.ph p?id=2&id2=14\" target=\"_self\ ">Text 4 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white \" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2 \" cellpadding=\"0 \">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white \"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\ " colspan=\"2\">& nbsp;<font size=\"-2\"
face=\"Arial,He lvetica,Geneva, Swiss,SunSans-Regular\"><font
color=\"white\" ><b><a style=\"color:# FFFFFF; font-size=6pt;\"
href=\"index.ph p?id=2&id2=15\" target=\"_self\ ">Text 5 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white \" height=\"1\"></td>
</tr></table>
";
echo "<table width=\"151\" border=\"0\" cellspacing=\"2 \" cellpadding=\"0 \">
<tr
height=\"1\">
<td colspan=\"3\" height=\"1\" bgcolor=\"white \"></td>
</tr>
<tr>
<td> </td>
<td align=\"center\ " colspan=\"2\">& nbsp;<font size=\"-2\"
face=\"Arial,He lvetica,Geneva, Swiss,SunSans-Regular\"><font
color=\"white\" ><b><a style=\"color:# FFFFFF; font-size=6pt;\"
href=\"index.ph p?id=2&id2=16\" target=\"_self\ ">Text 6 is in
here</a></b></font></font></td>
</tr>
<tr
height=\"1\">
<td colspan=\"3\" bgcolor=\"white \" height=\"1\"></td>
</tr></table>
";
} 4 3458
Robert Secon wrote: when using IE5+ my style sheets just work fine, but Mozilla does not agree with it and I can´t figure out which mistake it is. Usually the thing about it is that every row is displayed well but Mozilla displays the first row too big and cuts away the second row of the text.
What is this table for?
Can somebody tell me what is wrong with it and how to change the code?
(HTML-Table wrapped around in php-code)
[code snipped]
please provide a url instead of pasting code.
--
Brian
follow the directions in my address to email me
> when using IE5+ my style sheets just work fine, but Mozilla does not
agree with it and I can´t figure out which mistake it is. Usually the
thing about it is that every row is displayed well but Mozilla displays the
first row too big and cuts away the second row of the text. Can somebody tell
me what is wrong with it and how to change the code?
I am not sure if I've fully grasped the problem but unless I got tied
in a knot...
You seem to have six tables. The very first one is floated to the
left so you end up with two tables in a line then the rest stacked
below them, as in
TABLE1 TABLE2
TABLE3
TABLE4
TABLE5
TABLE6
Am I correct in thinking that the problem you see is that in IE all
the tables have the same size text but in Mozilla TABLE1 (as I am
referring to it) has larger text? And then if you have sufficient
text in that table it messes with the position of TABLE3?
If so then I suspect what you are seeing is Mozilla doing things right
and IE in a backwards compatible 'quirks mode'. If you start the page
with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
you may then see IE start behaving like Mozilla. The issue would
presumably be the interaction of the font size tags you are using with
the font sizing in the style attribute of the links. The content of
the first table doesn't have the font size tag that the others do.
Am I even close to recognising the problem you have?
> If so then I suspect what you are seeing is Mozilla doing things
right and IE in a backwards compatible 'quirks mode'. If you start the
page with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
you may then see IE start behaving like Mozilla. The issue would presumably be the interaction of the font size tags you are using
with the font sizing in the style attribute of the links. The content of the first table doesn't have the font size tag that the others do.
I should point at that I was thinking of IE6 when I wrote the above.
I believe IE5 is likely to get things wrong whatever. You seem to have six tables. The very first one is floated to the left so you end up with two tables in a line then the rest stacked below them, as in
TABLE1 TABLE2 TABLE3 TABLE4 TABLE5 TABLE6
Am I correct in thinking that the problem you see is that in IE all the tables have the same size text but in Mozilla TABLE1 (as I am referring to it) has larger text? And then if you have sufficient text in that table it messes with the position of TABLE3?
I've just fixed the font size, that is ok right now ...
If so then I suspect what you are seeing is Mozilla doing things right and IE in a backwards compatible 'quirks mode'. If you start the page with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
you may then see IE start behaving like Mozilla. The issue would presumably be the interaction of the font size tags you are using with the font sizing in the style attribute of the links. The content of the first table doesn't have the font size tag that the others do.
Am I even close to recognising the problem you have?
Very close ... when I use Netscape Communicator 4.76 I see table 2 at the
right side although it should be under table 2. I can't figure out why this
happens. Do you know why? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David List |
last post by:
I'm having a problem using different properties of the document object
in the example javascripts in my textbook with browsers that identify
themselves as using the Mozilla engine. One example of these
problems is using document.layers. I have Google'd for examples of how
to use the document object specifically with Mozilla, but I cannot
find anything that explains why my problems occur. Could anyone here
see through the included example...
|
by: Robert Downes |
last post by:
I'm using the following in a page that I'm testing in Mozilla:
p.actionLinkBlock {border: 1px #000000 dashed; padding: 0.2cm; width: auto}
But the dashed border is extending to the right-edge of the screen. I
want it to only extend as far as it needs to to nicely contain the
content within (a couple of links).
Is width: auto the wrong property to do this? Is Mozilla rendering the
style wrong?
|
by: Don Adams |
last post by:
Does the Mozilla browser even support CSS?
Very few of my stylesheet formats work in Mozilla.
Is there a local stylesheet that is overriding my stylesheet?
If so, is there an option to turn off the local stylesheet?
Also, I would treat Mozilla like Netscape 4.x in my PHP code; however, I
can't see in the user agent (shown below) any way to
determine that the browser is Mozilla. I've seen other browser
user agents with "Gecko" in them...
|
by: Aaron |
last post by:
Hi,
I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it
doesn't load the my external stylesheet, no matter if I attach it via 'link'
or '@import'. I don't want to have to use embedded style sheets. How can I
get around this?
Aaron
|
by: SWE |
last post by:
Hi all,
I'm new to using style sheets for laying out my web pages. I have a
horizontal navigation menu that is split into two sections - three buttons
on the left and a submenu on the right that changes depending on which
button you select. The menu looks good in Internet Explorer 6, but in
Mozilla Firefox 0.8 and Netscape Navigator 7.1 the submenu positions itself
further down the page instead of right next to the buttons. I don't know...
| |
by: Jen |
last post by:
Hi.
I need to get some "onmouseover behaviour" to work on table rows. I can make
the row background to change colors with:
"<tr bgcolor="#FFFFFF" onMouseOver="this.bgColor='#FFFFE3';
onMouseOut="this.bgColor='#FFFFFF'">"
but I can't figure out how to get the row (or cell or the whole table)
bordercolor to change also at the same time. The table consists of only one
cell & (obviously) one row.
|
by: plugwalsh |
last post by:
Hi
I need to generate an HTML table that looks like the following:
(Two cells, A & B)
-------------------
| | |
| | B |
| | |
| |--------|
|
by: drew197 |
last post by:
I am a newbie. I am editing someone elses code to make it compatible
with Firefox and Safari.
In IE, when you click on the proper link, a block of text is shown in a
nice paragraph form. But, in FireFox and Safari it appears as a narrow
column of text with only 2-3 words per line.
Here is the code:
function showAll()
|
by: =?Utf-8?B?SmVycnkgQw==?= |
last post by:
Some time in the last few months a problem poped up with the fonts in
Mozilla. These pages have run ok for years but now the fonts in the
stylesheet file will not set the fonts in Mozilla they go to the default.
I include the stylesheet with the line:
<LINK href="styles.css" type="text/css" rel="StyleSheet">
This has worked for years now I take out the line:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |