...

View Full Version : Opera and Javascript



wr657
01-04-2007, 10:34 AM
Hi

My webpages are shown as intended in Explorer, with three columns,
but some of the pages not as intended in Opera.

The page
http://www.bomloveven.com/hordaland.html (http://www.bomloveven.com/hordaland.html) is one of them. It
has content made in javascript. This content has been moved from the
third column, and is place under the content in the first column.

The xhtml-code is:

<div id="hogre">

<script type="text/javascript"
src='http://www2.nrk.no/tjenester/nrkpadinside/padinside.aspx?
id=hordaland&antall=10&bredde=160&js=1&pop=0'>
</script>

</div>

The css-code is:

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

I have found that if I substitute the javascript with clean text, let's say
the word "Test", and delete "width" in the css-code above, "Test" appears
where the javascript was intended to appear.

I guess there may be something odd in the relationship between javascript and Opera?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum