473,321 Members | 1,748 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,321 software developers and data experts.

Help with buggy rendering

Here is a screenshot of three different versions of rendering of the trouble
area:

http://img371.imageshack.us/img371/2572/layout8xg.gif

(ignore the language of the text)
The first rendering is the weirdest one -- the background and border of the
items (placed within span tags) are
completely shifted, for some reason, when you position it relatively.

The second rendering shows how I intend it to look.

The third is Firefox's rendering: the padding is completely ignored, and the
items are shifted instead
of being aligned to the right (it's a right-to-left language and page
layout).

Here's the styles for the top items:

..nav1
{ padding-left: 20px; padding-right: 20px;
background-color: #f0f0f0; color: #606060; font-family: arial;
font-weight: bold; }

..nav1p
{ padding-left: 20px; padding-right: 20px; background-color: #ffff40; color:
black; font-family: arial;
font-weight: bold; border-style: solid; border-width: 1px; }

The other items are defined similarly.
I've no idea what the hell is going on here... please help!
Aug 19 '05 #1
3 1749
"Beetlegeuse" <be****@afterlife.null> wrote:
I've no idea what the hell is going on here...


Neither do we if you don't provide an url to the actual code.

A minimized test case that doesn't require picking apart helps greatly
in getting help from this group.

--
Spartanicus
Aug 19 '05 #2

"Spartanicus" <in*****@invalid.invalid> wrote in message
news:nm********************************@news.spart anicus.utvinternet.ie...
"Beetlegeuse" <be****@afterlife.null> wrote:
I've no idea what the hell is going on here...


Neither do we if you don't provide an url to the actual code.


Well, there's no URL yet, but here's the code:

<html>
<head>
<title>???? ??????</title>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=WINDOWS-1255'>
<META HTTP-EQUIV='Content-Language' CONTENT='he'>
<style>
.nav1p
{padding-left: 20px; padding-right: 20px;
background-color: #ffff40; color: black; font-family: arial;
font-weight: bold; border-style: solid; border-width: 1px;
}
a {text-decoration: none; }
a img {border-style: none; border-width: 0px; }
.nav2
{padding-left: 20px; padding-right: 20px;
background-color: #00ffff; color: #008080; font-family: arial;
border-style: solid; border-width: 1px;
border-color: #00e0e0;
}
.nav2p
{padding-left: 20px; padding-right: 20px;
background-color: #00d0ff; color: #000000; font-family: arial;
border-style: solid; border-width: 1px;
}
.main
{
background-image: url(tiling1.png);
}
</style>
</head>
<body >
<div dir='rtl' class='top'>
<div id='displayticker' class='main'>
<div style=''>
<span><a class='nav1' href='/Admin/display.php?id=AA&story=tp'>????
?????</a></span>
<span><a class='nav1'
href='/Admin/display.php?id=AA&story=ud'>??????</a></span>
<span class='nav1p'>????? ??????</span>
<span><a class='nav1' href='/Admin/display.php?id=AA&story=ae'>?????
????????</a></span>
</div>
<hr style='color: #f0f0f0;'>
<br>
<div style='text-indent: 15px'>
<img src='C:/Apache/Apache2/htdocs/Imgs/AA.GIF'>
<span style='position: relative; left: -35px; font-size: 35px;'>AA</span>
</div>
<br>

<div class='submenu'>
<span class='nav2p'>???? ?????</span>
<span><a class='nav2'
href='/Admin/display.php?id=AA&story=fr&sm=2&p=a'>??????</a></span>
<span><a class='nav2'
href='/Admin/display.php?id=AA&story=fr&sm=3&p=a'>????? ???????</a></span>
<span><a class='nav2'
href='/Admin/display.php?id=AA&story=fr&sm=4&p=a'>?????</a></span>
<span><a class='nav2'
href='/Admin/display.php?id=AA&story=fr&sm=5&p=a'>?????? ??????</a></span>
</div>

</div>

</div></body></html>
Aug 19 '05 #3
"Beetlegeuse" <be****@afterlife.null> wrote:
I've no idea what the hell is going on here...


Neither do we if you don't provide an url to the actual code.


Well, there's no URL yet, but here's the code:


That won't do, upload it.

--
Spartanicus
Aug 19 '05 #4

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

Similar topics

0
by: Molly | last post by:
Peace, Pythonphiles! Python's std lib BaseHTTPServer: I'm stuck with a nasty spoiler -- I get erratic "Network error: disconnected by peer" for _POST_ requests only. =Background= I'm...
6
by: David Opstad | last post by:
I have a question about text rendering I'm hoping someone here can answer. Is there a way of doing linguistically correct rendering of Unicode strings in Python? In simple cases like Latin or...
8
by: slim | last post by:
hi again all, i am still working on the website as mentioned in earlier threads and have hit another snag... http://awash.demon.co.uk/index.php http://awash.demon.co.uk/vd.css the php is...
20
by: Joe exCSSive | last post by:
Hi, folks: I'm back...and now I'm really stuck !! I have a graphic ( http://www.sundialontario.com/images/makeitatable.jpg ) that I would like to convert to CSS and I'm not sure how to do...
3
by: comp_novice | last post by:
I need to control the number of digits to be printed after the exponential. Please have a look at the example below: float fVal = 0.06854344 The printf that I am using is fprintf(pfile,...
3
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review...
5
by: ducky801 | last post by:
Hi all. When i run the code below i get a 'NullReferenceException was unhandled' error. I am using VB 2005 Express. I'm confused about this because, I have declared my array and i'm trying to...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
9
by: Alan Silver | last post by:
Hello, Please look at http://www.kidsinaction.org.uk/ie/ie.html in IE6 and notice that there is a white vertical line on the right of the white bit. This is caused (AFAICS) by IE not putting the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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: 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...

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.