473,837 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opera and refreshing

I have been struggling with a page that is based on a table structure
(because that is all I am feeling comfortable with at the moment) styled
with css.

One of the problems I run in to is Opera (Opera 7 in my case).
The weird thing is: viewing the page through Opera's eyes the first time
around is OK, but after refreshing, the page gets messed up badly.

I will look into the cause of the mess, but for now am really curious:
what does refreshing have to do with it?

Referring URL:
http://huizen.dds.nl/~ochrid/Henk/index.htm

then click on 'bibliografie' (first button in navbar).

If that is OK, refresh, or go back Home and click bibliografie again:
here the whole page gets messed up (the first 'justified' text div is seen
as one long line of text, tearing up the rest of the page as well).

Is there someone who can tell me what principle is involved here?
What should I be aware of?

Thanks for taking the time, and good Easter!
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]
Jul 20 '05 #1
60 4335
On Fri, 9 Apr 2004 20:38:20 +0200, A.Translator
<ad************ ******@yaBISHho o.com> wrote:
I have been struggling with a page that is based on a table structure
(because that is all I am feeling comfortable with at the moment) styled
with css.

One of the problems I run in to is Opera (Opera 7 in my case).
The weird thing is: viewing the page through Opera's eyes the first time
around is OK, but after refreshing, the page gets messed up badly.

I will look into the cause of the mess, but for now am really curious:
what does refreshing have to do with it?

Referring URL:
http://huizen.dds.nl/~ochrid/Henk/index.htm

then click on 'bibliografie' (first button in navbar).

If that is OK, refresh, or go back Home and click bibliografie again:
here the whole page gets messed up (the first 'justified' text div is
seen
as one long line of text, tearing up the rest of the page as well).

Is there someone who can tell me what principle is involved here?
What should I be aware of?

Thanks for taking the time, and good Easter!

Set an explicit width for the div containing the pic. When I edited to have

<div class="imagebox 2" style="width: 215px;">

it behaved properly. You may have to set up classed divs in the style in
order to ensure that you can set this for each image you use, or you can
do it inline as I have above.
Jul 20 '05 #2
On Fri, 9 Apr 2004 20:38:20 +0200, A.Translator
<ad************ ******@yaBISHho o.com> wrote:
I have been struggling with a page that is based on a table structure
(because that is all I am feeling comfortable with at the moment) styled
with css.

One of the problems I run in to is Opera (Opera 7 in my case).
The weird thing is: viewing the page through Opera's eyes the first time
around is OK, but after refreshing, the page gets messed up badly.

I will look into the cause of the mess, but for now am really curious:
what does refreshing have to do with it?

Referring URL:
http://huizen.dds.nl/~ochrid/Henk/index.htm

then click on 'bibliografie' (first button in navbar).

If that is OK, refresh, or go back Home and click bibliografie again:
here the whole page gets messed up (the first 'justified' text div is
seen
as one long line of text, tearing up the rest of the page as well).

Is there someone who can tell me what principle is involved here?
What should I be aware of?

Thanks for taking the time, and good Easter!

Set an explicit width for the div containing the pic. When I edited to have

<div class="imagebox 2" style="width: 215px;">

it behaved properly. You may have to set up classed divs in the style in
order to ensure that you can set this for each image you use, or you can
do it inline as I have above.
Jul 20 '05 #3
On Fri, 09 Apr 2004 15:02:23 -0400, Neal <ne*****@spamrc n.com> wrote:

<div class="imagebox 2" style="width: 215px;">


Minor correction - in this case width should be 197px (image width plus
1px border each side).

While I'm posting again, a few quick general comments, if that's ok.

1) Please do not set screen font-size in px. Use ems or %. Users may need
to enlarge text to read it, and your method makes that impossible for most.

2) When declaring something like "padding:10 px 0px 10px 0px;", you do not
need a measurement on 0. Also, in this case since top=bottom and
left=right, you can simply state "padding:10 px 0;".
Jul 20 '05 #4
On Fri, 09 Apr 2004 15:02:23 -0400, Neal <ne*****@spamrc n.com> wrote:

<div class="imagebox 2" style="width: 215px;">


Minor correction - in this case width should be 197px (image width plus
1px border each side).

While I'm posting again, a few quick general comments, if that's ok.

1) Please do not set screen font-size in px. Use ems or %. Users may need
to enlarge text to read it, and your method makes that impossible for most.

2) When declaring something like "padding:10 px 0px 10px 0px;", you do not
need a measurement on 0. Also, in this case since top=bottom and
left=right, you can simply state "padding:10 px 0;".
Jul 20 '05 #5
"A.Translat or" <ad************ ******@yaBISHho o.com> wrote:
I have been struggling with a page that is based on a table structure
(because that is all I am feeling comfortable with at the moment) styled
with css.

One of the problems I run in to is Opera (Opera 7 in my case).
The weird thing is: viewing the page through Opera's eyes the first time
around is OK, but after refreshing, the page gets messed up badly.

I will look into the cause of the mess, but for now am really curious:
what does refreshing have to do with it?

Referring URL:
http://huizen.dds.nl/~ochrid/Henk/index.htm

then click on 'bibliografie' (first button in navbar).

If that is OK, refresh, or go back Home and click bibliografie again:
here the whole page gets messed up
I'm not getting that with Opera 7.5p3, what version are you using?
(the first 'justified' text div is seen


Incorrect markup, it's a paragraph.

You should publish under a strict doctype, code is clean enough,
shouldn't take much work.

--
Spartanicus
Jul 20 '05 #6
"A.Translat or" <ad************ ******@yaBISHho o.com> wrote:
I have been struggling with a page that is based on a table structure
(because that is all I am feeling comfortable with at the moment) styled
with css.

One of the problems I run in to is Opera (Opera 7 in my case).
The weird thing is: viewing the page through Opera's eyes the first time
around is OK, but after refreshing, the page gets messed up badly.

I will look into the cause of the mess, but for now am really curious:
what does refreshing have to do with it?

Referring URL:
http://huizen.dds.nl/~ochrid/Henk/index.htm

then click on 'bibliografie' (first button in navbar).

If that is OK, refresh, or go back Home and click bibliografie again:
here the whole page gets messed up
I'm not getting that with Opera 7.5p3, what version are you using?
(the first 'justified' text div is seen


Incorrect markup, it's a paragraph.

You should publish under a strict doctype, code is clean enough,
shouldn't take much work.

--
Spartanicus
Jul 20 '05 #7
On Fri, 09 Apr 2004 15:10:22 -0400, Neal wrote:
While I'm posting again, a few quick general comments, if that's ok.

1) Please do not set screen font-size in px. Use ems or %. Users may need
to enlarge text to read it, and your method makes that impossible for most.

2) When declaring something like "padding:10 px 0px 10px 0px;", you do not
need a measurement on 0. Also, in this case since top=bottom and
left=right, you can simply state "padding:10 px 0;".


Thanks for your help and comments.
I am aware of the font-size issue, and will do something about it as soon
as I really know what I am doing...

Your second comment is about short hand declarations? This too is a subject
I read about, but do not fully comprehend. Are you saying I put in too many
specifics? Why is that bad? It makes the ccs sheet 'heavier' than it needs
to be, but only slightly.
Or is there another reason for using shorthand?

Again: thank you for taking time and trouble over my problem.

Have you any idea why refreshing makes a difference?
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]
Jul 20 '05 #8
On Fri, 09 Apr 2004 15:10:22 -0400, Neal wrote:
While I'm posting again, a few quick general comments, if that's ok.

1) Please do not set screen font-size in px. Use ems or %. Users may need
to enlarge text to read it, and your method makes that impossible for most.

2) When declaring something like "padding:10 px 0px 10px 0px;", you do not
need a measurement on 0. Also, in this case since top=bottom and
left=right, you can simply state "padding:10 px 0;".


Thanks for your help and comments.
I am aware of the font-size issue, and will do something about it as soon
as I really know what I am doing...

Your second comment is about short hand declarations? This too is a subject
I read about, but do not fully comprehend. Are you saying I put in too many
specifics? Why is that bad? It makes the ccs sheet 'heavier' than it needs
to be, but only slightly.
Or is there another reason for using shorthand?

Again: thank you for taking time and trouble over my problem.

Have you any idea why refreshing makes a difference?
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]
Jul 20 '05 #9
On Fri, 09 Apr 2004 23:13:52 +0100, Spartanicus wrote:
"A.Translat or" <ad************ ******@yaBISHho o.com> wrote:
I have been struggling with a page that is based on a table structure
(because that is all I am feeling comfortable with at the moment) styled
with css.

One of the problems I run in to is Opera (Opera 7 in my case).
The weird thing is: viewing the page through Opera's eyes the first time
around is OK, but after refreshing, the page gets messed up badly.

I will look into the cause of the mess, but for now am really curious:
what does refreshing have to do with it?

Referring URL:
http://huizen.dds.nl/~ochrid/Henk/index.htm

then click on 'bibliografie' (first button in navbar).

If that is OK, refresh, or go back Home and click bibliografie again:
here the whole page gets messed up
I'm not getting that with Opera 7.5p3, what version are you using?


Opera 7, build 2749.
(the first 'justified' text div is seen
Incorrect markup, it's a paragraph.


OK.
You should publish under a strict doctype, code is clean enough,


The right use of doc types is something that I don't understand at the
moment.

Thanks for your comments. I will try and understand them (tomorrow: it is
very late where I am in Europe) and change my css accordingly.

You do not have the refreshing phenomenon, if I understand you correctly,
but do you know what I mean and do you have any explanation for it?

Thanks, and good night/day.

--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]
Jul 20 '05 #10

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

Similar topics

5
3489
by: Jensen Bredal | last post by:
Hello, I need to display self refreshing information on a web page written with asp.net. I would image that the info would be displayed either as part of a user control or a web control. How can this be done? The information will come from a database and the displaying should loop throug a table in the database. Many thank in advance JB
1
7995
by: spolsky | last post by:
hi, i have the following pages. when form submitted with the field1 value is "ok" then the iframe must be loaded with the text "Page loaded...". This works fine with IE 6 and FireFox(1.5) but Opera (9.01) does not refresh the iframe and loads the page for iframe from the cache, so refreshing the page gets the iframe refreshed with the new page. If DisableCaching() function used which disables all kind of caching then Opera works fine. So,...
0
1486
by: sean.hpr | last post by:
Hi all- I am a vb2005 newb so apologies in advance. Essentially I am having some problems with data refreshing on some of my forms. Background: I have created a project containing a few forms. The main form is linked to a data feed which is constantly refreshing data as it is available (it checks automatically and is updating a few times per second). The other forms are essentially taking this data and
13
7460
by: honey99 | last post by:
Hi! I have to fix a problem in JSP.Actually,i have a JSP page say Ex1.jsp.In this Ex1.jsp i have an anchor tag which links into another JSP page i.e when i click on the link another pop-up window will open.My problem is the pop-up window and the parent window has same combobox.if i add data through html form in pop-up window(Ex2.jsp) it enters the combobox...but the data in the combobox of parent window(Ex1.jsp) is entering only when i refresh...
1
1578
by: Steve S | last post by:
Hey guys, I'm stuck with using a GridBagSizer (wxPython) in a GUI Dialog and am having a frustrating time with refreshing it properly. Essentially, I've got to refresh the contents of the GridBagSizer on occasion with new values. The way I'm doing it works 4 times out of 5 but on the 5th, *all* of the grid objects that are set to various positions in the GBS are set to (0,0) :|
6
1958
by: shankari07 | last post by:
hi guys, I have a form in html which has the city drop down. when clicking the drop down a javascript is called and a file(test.txt) is created and the city is written into the file. Through php i want to open the same file(test.txt), fetch the values and display it in a text box without refreshing or reloading the form. Is it possible. After refreshing it works but i want without refreshing the form. here is the code.
0
11872
acoder
by: acoder | last post by:
Problem onload and onunload events do not fire when going back, forward or refreshing the page Browser Opera Example Any code using onload or onunload, e.g. window.onload = init; where init() is a function which initialises some variables (for example).
0
9686
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,...
1
10634
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,...
0
9416
agi2029
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...
1
7819
isladogs
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...
0
7007
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();...
0
5675
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...
0
5855
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4053
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3127
bsmnconsultancy
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...

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.