Mailinglist Archive: opensuse (1502 mails)

< Previous Next >
Re: [opensuse] Opera 9.64 - margin: padding: handling changed?
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 02 Apr 2009 02:27:15 -0500
  • Message-id: <49D468D3.10707@xxxxxxxxxxxxxxxxxx>
Daniel Bauer wrote:
On Tuesday 31 March 2009 09:04:59 you wrote:
Thanks Daniel,

The problem is stranger than that... I have two identical copies of the
page. One on the 3111skyline.com server and one on my laptop (also running
apache for development purposes). The page displays fine on my laptop with
Opera 9.64, but the gray alternating row highlights bleed over the right
column ~ 1em on the server. I'm looking into it now...

Hi again,

I cannot help much, I just see that it depends on the screen size. I think
you'll have to check the width defintion of the grey bars. I didn't have the
time to check your css, but when developping websites I often have quite
similar problems together with floats, they are tricky and often it depens on
the containing div and the position within the code...

I attach some screenshots so you can see how your page behaves here...

hth


Thanks Danny,

I validated it again:

The only error found was that I was using the color: "LightGrey", I changed the
color to: #D3D3D3 and it works fine now. Why in the hell that made any
difference for opera, I'll never know. Especially since LightGrey is a defined
color, See: http://www.w3schools.com/HTML/html_colornames.asp

The alternating color definition is done in php:

if ($id % 2 == 0)
echo "<tr style=\"background-color: #C0D5F2;\">";
else
echo "<tr>";


After the change in color:

W3C CSS Validator results for
http://www.3111skyline.com/download/webdev/pages/mysql-logview.php (CSS level 3)
Congratulations! No Error Found.

This document validates as CSS level 3 !

To show your readers that you've taken the care to create an interoperable Web
page, you may display this icon on any page that validates. Here is the XHTML
you could use to add this icon to your Web page:
Valid CSS!

<p>
<a href="http://jigsaw.w3.org/css-validator/check/referer";>
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss";
alt="Valid CSS!" />
</a>
</p>


Valid CSS!

<p>
<a href="http://jigsaw.w3.org/css-validator/check/referer";>
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss-blue";
alt="Valid CSS!" />
</a>
</p>



--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages