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

Problem with Firefox

Hi all
I have a table width 4 cols each 25% width.
I would like to text-align on right and color background..the code below
works fine with IE but it doesn't with Firefox:

I can't colorize background on cells with 'label' style and I can't
right-align ... plz help me.

<html> <head>
<style type="text/css">

h1.editSectionTitle{
border-bottom: 1px solid #8CACBB;
background-color: #DEE7EC;
font-weight: bold ;
font-size: 1em;
color: #436976;
padding:0.3em 0.3em 0.3em 0.3em;
border-bottom:1px solid #8CACBB;
border-top:1px solid #8CACBB;
margin-bottom: 0.2em;
}
..editSection {
PADDING: 0;
position: relative;
}

..tableFixed {
table-layout: fixed;
padding: 0;
background-color: #DEE7EC;
width: 100%;
}
..label {
background-color: #F7F9FA;
text-align: right;
font: bold 1em;
padding-right: 0.3em;
}
..field {
vertical-align: middle;
background-color: white;
}
..col25Label {
background-color: #F7F9FA;
text-align: right;
font: bold 1em;
width:25%;
}
..col25{
width:25%;
}
</style>
</head>
<body>
<br>
<h1 class="editSectionTitle">DATA</h1>
<div class="editSection" >
<table class="tableFixed" >
<colgroup>
<col class="col25" /><col class="col25" /><col class="col25" /><col
class="col25" />
</colgroup>

<tr>
<td class="label" >(*) Name</td>
<td class="field" >
<input type="text" name="field1" value="33">
</td>
<td class="label" >(*) Surname</td>
<td class="field" >
<input type="text">
</td>
</tr>
<tr>
<td class="label" width="25%">ID</td>
<td class="field" width="25%">
<input type="text">
</td>
<td class="label" width="25%">BirthDate</td>
<td class="field" width="25%">
<input type="text">
</td>
</tr>
</table>
</div>
Jul 20 '05 #1
3 5166
ShadowMan wrote:
Hi all
I have a table width 4 cols each 25% width.
I would like to text-align on right and color background..the code below
works fine with IE but it doesn't with Firefox:

I can't colorize background on cells with 'label' style and I can't
right-align ... plz help me.

Show me the URL!

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 20 '05 #2
On Mon, 4 Oct 2004 11:24:25 +0200, "ShadowMan" <sh*****@despammed.com>
wrote:
Hi all
I have a table width 4 cols each 25% width.
I would like to text-align on right and color background..the code below
works fine with IE but it doesn't with Firefox:

I can't colorize background on cells with 'label' style and I can't
right-align ... plz help me.


I just pasted your code in. Text is right-aligned. Colour works fine.
The code looks the same in IE5, Opera 7.24 and Firefox 1.0PR.

I don't see the prob?
Jul 20 '05 #3
bulge <in*****@nodomain.nett> wrote:
On Mon, 4 Oct 2004 11:24:25 +0200, "ShadowMan" <sh*****@despammed.com>
wrote:
I just pasted your code in. Text is right-aligned. Colour works fine.
The code looks the same in IE5, Opera 7.24 and Firefox 1.0PR.
I don't see the prob?

I found the problem ... I used .label class definition twice ... without
using "!important" suffix ... now it works for me too ...
--
ShadowMan
Jul 20 '05 #4

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

Similar topics

7
by: tagdance | last post by:
Hello friends, I have a very interesting problem with my css files and firefox - I guess ! Listen: I have set up my new website www.tagdance.de For testing purpose I have mirrored this...
7
by: Merlin | last post by:
Hi there, I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox. Once you click on the item which fires up the open function, the...
3
by: cwdjrxyz | last post by:
I suggest that everyone using a recent version of Firefox read http://forums.mozillazine.org/viewtopic.php?t=315656&sid=b1db62861b8da29535c43e9c5c527c3b at once. This new security problem was...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
7
by: Xah Lee | last post by:
Look at this page http://xahlee.org/emacs/wrap-url.html Look at it in Firebox, look at it in Safari, in Opera, and look at it in Microsoft Internet Explorer. The only fucked up case, is...
1
by: tinnews | last post by:
I'm running a python script via the apache ExtFilterDefine directive, it works basically as expected *except* that when I change the script apache/firefox continue to run the old version of the...
3
by: willyWEB66 | last post by:
Hi everyone, I'm having problem with the sequence of execution for xml.onload. It works fine if your not passing parameters to onload event but my code needs to pass parameter to its function. I'm...
8
by: Atemporal | last post by:
When I click the link of this group, it shows the followings errors. Cannot find comp.lang.c%2B%2B There is no group named comp.lang.c%2B%2B. * The link you followed may be broken or...
15
by: Mike Driscoll | last post by:
Hi, I've had this niggling issue from time to time. I want to create a shortcut on the user's desktop to a website that specifically loads Firefox even if Firefox is not the default browser. ...
6
by: Dennis | last post by:
I am in the process of converting some program output from HTML to XML/XSLT. I have an XSL stylesheet that inserts some javascript in the output that gets called further down to pop up a window)....
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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.