473,396 Members | 1,853 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.

Javascript and Opera

8
Hi

Forgive me if my question is a bit long.

I have made a website with norwegian information.
The site contains among other things the page

http://www.bomloveven.com/hordaland.html
.

In Explorer this page contains 3 columns. The content in the right column is
made in Javascript. In Opera this content takes a step below and is place under
the first column.

The html code is:

<div id="hogre">
<script type="text/javascript" src="http://www.bomlo-nytt.no/style/jsfeed.php">
</script>
</div>

The css code is:

#hogre {
width: 11em;
background-color: #FFE4C4;
margin:0em;
padding-top:1em;
padding-left:1em;
padding-bottom: 1em;
}

I also include the css code for the id attributes called "body" and "boks"since
these attributes may have content with consequenses for "hogre":

body {
text-align: center;
background-color: White;
width: 800px;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px;
MARGIN: auto;
PADDING-TOP: 0px;
}

#boks {
text-align: center;
background-color: #FFE4C4;
width: 770px;
overflow: auto;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 0.1em;
padding-top: 0.1em;
text-align: center;
}

I have found that if I delete witdth in "hogre" and substitute the Javascript content
with for example the word "test", test i appearing where the Javascript
was intended to appear.

Is there someone who knows a solution for this?
Jan 11 '07 #1
2 1433
b1randon
171 Expert 100+
Hi

Forgive me if my question is a bit long.

I have made a website with norwegian information.
The site contains among other things the page

http://www.bomloveven.com/hordaland.html
.

In Explorer this page contains 3 columns. The content in the right column is
made in Javascript. In Opera this content takes a step below and is place under
the first column.

The html code is:

<div id="hogre">
<script type="text/javascript" src="http://www.bomlo-nytt.no/style/jsfeed.php">
</script>
</div>

The css code is:

#hogre {
width: 11em;
background-color: #FFE4C4;
margin:0em;
padding-top:1em;
padding-left:1em;
padding-bottom: 1em;
}

I also include the css code for the id attributes called "body" and "boks"since
these attributes may have content with consequenses for "hogre":

body {
text-align: center;
background-color: White;
width: 800px;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px;
MARGIN: auto;
PADDING-TOP: 0px;
}

#boks {
text-align: center;
background-color: #FFE4C4;
width: 770px;
overflow: auto;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 0.1em;
padding-top: 0.1em;
text-align: center;
}

I have found that if I delete witdth in "hogre" and substitute the Javascript content
with for example the word "test", test i appearing where the Javascript
was intended to appear.

Is there someone who knows a solution for this?
What is the JS to go with this? If this is just a CSS question you should move it to the CSS forum.
Jan 11 '07 #2
AricC
1,892 Expert 1GB
What is the JS to go with this? If this is just a CSS question you should move it to the CSS forum.
Moved to CSS
Jan 11 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Spijon | last post by:
Seems opera can not work normally with javascript, does anyone knows how to fix it? Thanks in advance.
1
by: oreng | last post by:
Hey all, I have some problems detecting whether the client's browser javascript is enabled at the server side. While Request.Browser.JavaScript only check if the browser enable java script (and...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...
0
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,...

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.