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

Menu Problem with Opera 9.5

I am new to both HTML and CSS. Several months ago my High School Alumni association web master died and they asked me to take over the web site. I had never worked with CSS but had some experience with HTML. The site was written strictly using HTML and had no CSS. So I decided to take on the task to convert it using CSS. For the past three months I have been lurking on this group and trying my best to absorb your suggestions to others and adhering to them in my switch over of the web site from plain HTML to CSS. (Understand this is a limited audience web site in that it gets less than 30 viewers a day.)

My statistics show that 50 percent of my users use IE 7, 15 percent use Opera, 15 percent use Safari, 19 percent use Firefox, 6 percent use IE6 and the others use various others.

I have gone up on W3C.org and tested my html and css. It passed the CSS in that it has no errors, but several warnings (that I don't understand). The html also has one or two errors - one that will always be there.

I did not use a strict doctype as you all prefer. Hopefully if I ever get good enough with this I will switch to strict.

The site is located at: www.bisonalitiesagain.com/bisonindex.html and the css is located at:
www.bisonalitiesagain.com/bison.css

Here is my main problem. On the page bisonindex.html and xindex.html I have menus. On bisonindex it is a list of dates that jumps you within the page to information posted on that day. On xindex.html it is the main menu that takes you to various pages throughout the site. It displays and looks exactly like I want it to on Exploder 7.0 (ain't that a hoot), Safari 3.1.1, Navigator 9.0.0.6, Flock 1.2.1, Firefox 2.0.0.14 and Seamonkey 1.1.9 but fails badly on Opera 9.27 and 9.50.

What am I doing wrong with my CSS to cause this problem, or do I have an HTML problem and need to go to the authoring.html group to get an answer?

Thanks for any help, criticism you may offer.

Bob Catlin -- Also known as, CANDOER Cat
Jun 27 '08 #1
8 1759
On 13 juin, 14:14, "Candoer" <vze2s...@verizon.netwrote:
I am new to both HTML and CSS. *Several months ago my High School Alumniassociation web master died and they asked me to take over the web site. *I had never worked with CSS but had some experience with HTML. *The site was written strictly using HTML and had no CSS. *So I decided to take onthe task to convert it using CSS. *For the past three months I have been lurking on this group and trying my best to absorb your suggestions to others and adhering to them in my switch over of the web site from plain HTML to CSS. (Understand this is a limited audience web site in that it gets less than 30 viewers a day.)

My statistics show that 50 percent of my users use IE 7, 15 percent use Opera, 15 percent use Safari, 19 percent use Firefox, 6 percent use IE6 and the others use various others.

I have gone up on W3C.org and tested my html and css.
Good!
>*It passed the CSS in that it has no errors, but several warnings (that Idon't understand). *The html also has one or two errors - one that will always be there.
Good... but

On line 22
<img src="images/bison9t1.gif" alt="The Thundering Herd" border="0"
height="128" width="150" hsrc="images/flbhslogo.gif">
just remove the "h": it should be src, not hsrc

There is no need to declare border="0" as img by default do not have a
border. border="0" may make sense if it's a clickable-reactive image.

<centercan be replaced with either style="margin-left: auto; margin-
right: auto;" if the element to horizontally center is a block-level
element. If it's an inline element, then use style="text-align:
center;". For interactive demo of this:

CSS Horizontal alignment:
when to use margin-left, margin-right and when to use text-align
http://www.gtalbot.org/NvuSection/Nv...Alignment.html
That code of yours:
<td width="25%">
<div>
<center><img src="images/flbhslogo.gif" border="0"
alt="The Thundering Herd" height="128" width="150" hsrc="images/
bison9t1.gif"></center>
</div></td>

can be replaced more efficiently with

<td>
<img src="images/flbhslogo.gif" alt="The Thundering Herd" height="128"
width="150" src="images/bison9t1.gif"></td>

and by using <col>
and
col {width: 25%;}
so that way you can remove all of the width="25%" attribute
specification in each cells.

I glanced in your code and I think you need to know how to replace
efficiently all those <centerelements.
>
I did not use a strict doctype as you all prefer. *Hopefully if I ever get good enough with this I will switch to strict. *

The site is located at: *www.bisonalitiesagain.com/bisonindex.html*andthe css is located at:www.bisonalitiesagain.com/bison.css

Here is my main problem. *On the page bisonindex.html and xindex.html I have menus. On bisonindex it is a list of dates that jumps you within the page to information posted on that day. *On xindex.html it is the main menu that takes you to various pages throughout the site. *It displays and looks exactly like I want it to on Exploder 7.0 (ain't that a hoot), Safari 3.1.1, Navigator 9.0.0.6, Flock 1.2.1, Firefox 2.0.0.14 and Seamonkey 1.1.9 but fails badly on Opera 9.27 and 9.50.
Please describe the word "badly" because over here, Opera 9.50 build
10063, the menu looks just like in Firefox 3 and in Internet Explorer
8 beta 1. Hovering the mouse cursor over the links and the background
color changes and a small "advance" or "go" image appears.

Regards, Gérard
Jun 27 '08 #2

"GTalbot" <ne*******@gtalbot.orgwrote in message
news:4c**********************************@79g2000h sk.googlegroups.com...
On 13 juin, 14:14, "Candoer" <vze2s...@verizon.netwrote:
I am new to both HTML and CSS. Several months ago my High School Alumni
association web master died and they asked me to take over the web site. I
had never worked with CSS but had some experience with HTML. The site was
written strictly using HTML and had no CSS. So I decided to take on the
task to convert it using CSS. For the past three months I have been
lurking on this group and trying my best to absorb your suggestions to
others and adhering to them in my switch over of the web site from plain
HTML to CSS. (Understand this is a limited audience web site in that it
gets less than 30 viewers a day.)

My statistics show that 50 percent of my users use IE 7, 15 percent use
Opera, 15 percent use Safari, 19 percent use Firefox, 6 percent use IE6
and the others use various others.

I have gone up on W3C.org and tested my html and css.
Good!
It passed the CSS in that it has no errors, but several warnings (that I
don't understand). The html also has one or two errors - one that will
always be there.
Good... but

On line 22
<img src="images/bison9t1.gif" alt="The Thundering Herd" border="0"
height="128" width="150" hsrc="images/flbhslogo.gif">
just remove the "h": it should be src, not hsrc

There is no need to declare border="0" as img by default do not have a
border. border="0" may make sense if it's a clickable-reactive image.

<centercan be replaced with either style="margin-left: auto; margin-
right: auto;" if the element to horizontally center is a block-level
element. If it's an inline element, then use style="text-align:
center;". For interactive demo of this:

CSS Horizontal alignment:
when to use margin-left, margin-right and when to use text-align
http://www.gtalbot.org/NvuSection/Nv...Alignment.html
That code of yours:
<td width="25%">
<div>
<center><img src="images/flbhslogo.gif" border="0"
alt="The Thundering Herd" height="128" width="150" hsrc="images/
bison9t1.gif"></center>
</div></td>

can be replaced more efficiently with

<td>
<img src="images/flbhslogo.gif" alt="The Thundering Herd" height="128"
width="150" src="images/bison9t1.gif"></td>

and by using <col>
and
col {width: 25%;}
so that way you can remove all of the width="25%" attribute
specification in each cells.

I glanced in your code and I think you need to know how to replace
efficiently all those <centerelements.
>
I did not use a strict doctype as you all prefer. Hopefully if I ever get
good enough with this I will switch to strict.

The site is located at: www.bisonalitiesagain.com/bisonindex.html and the
css is located at:www.bisonalitiesagain.com/bison.css

Here is my main problem. On the page bisonindex.html and xindex.html I
have menus. On bisonindex it is a list of dates that jumps you within the
page to information posted on that day. On xindex.html it is the main menu
that takes you to various pages throughout the site. It displays and looks
exactly like I want it to on Exploder 7.0 (ain't that a hoot), Safari
3.1.1, Navigator 9.0.0.6, Flock 1.2.1, Firefox 2.0.0.14 and Seamonkey
1.1.9 but fails badly on Opera 9.27 and 9.50.
Please describe the word "badly" because over here, Opera 9.50 build
10063, the menu looks just like in Firefox 3 and in Internet Explorer
8 beta 1. Hovering the mouse cursor over the links and the background
color changes and a small "advance" or "go" image appears.

Regards, Gérard

Gerard

I forgot to add the following to my last response:

I don't know if you noticed but the menu pages both have a picture of a
brown "Bison" on them. This was the symbol of the sports teams when I went
to that school in the 50's. In the 80's they changed the Bison symbol to a
blue Bison. If you move your mouse over the Brown Bison it turns to the
Blue Bison. The script to do that was given to me by a friend. The "hsrc"
is the only way that script works. If you change it to src the mouse over
does not work.

Again, Thanks for your suggestions and comments. I really appreciate them!

CANDOER cat
Jun 27 '08 #3
Hello,

Please only quote what you are replying to. There was no need for you
to quote my entire post, you know...

So what was badly rendered? What do you mean with
but fails badly on Opera 9.27 and 9.50
?

Regards, Gérard
Jun 27 '08 #4

"GTalbot" <ne*******@gtalbot.orgwrote in message
news:13**********************************@z66g2000 hsc.googlegroups.com...
Hello,

Please only quote what you are replying to. There was no need for you
to quote my entire post, you know...

So what was badly rendered? What do you mean with
but fails badly on Opera 9.27 and 9.50
?

Regards, Gérard

Gerard

On the menu part, it spills out over the box lines on the right of each box.

CANDOER Cat
Jun 27 '08 #5
Ed
On 14/06/08 04:45, Candoer wrote:
>
On the menu part, it spills out over the box lines on the right of each box.

CANDOER Cat

The same problem also happens in my Firefox 2.0.0.13 and in K-Meleon
1.1.5 as well as Opera 9.27 when looking at
http://www.bisonalitiesagain.com/xindex.html
Ed

Jun 27 '08 #6
In article <u7******************************@posted.plusnet >,
Ed <ex@directorywrote:
On 14/06/08 04:45, Candoer wrote:

On the menu part, it spills out over the box lines on the right of each box.

CANDOER Cat

The same problem also happens in my Firefox 2.0.0.13 and in K-Meleon
1.1.5 as well as Opera 9.27 when looking at
http://www.bisonalitiesagain.com/xindex.html

OP's code is very ... but never mind, Gerard has already given good
advice about it.

If the OP wants to just fix this business of the blue spilling and being
so far right, he might use some left and right padding on the UL. Try
1em. but this is fiddle fixing on the side of the road. get the poor
thing to a garage and strip it out and rebuild!

--
dorayme
Jun 27 '08 #7

Ed wrote:
On 14/06/08 04:45, Candoer wrote:
>On the menu part, it spills out over the box lines on the right of each box.

The same problem also happens in my Firefox 2.0.0.13 and in K-Meleon
1.1.5 as well as Opera 9.27 when looking at
http://www.bisonalitiesagain.com/xindex.html
It should be happening in any decent browser.

#navcontainer a {
display: block;
width: 100%;
padding: 4px;
}

100% + padding is always wider than the parent container.

--
Berg
Jun 27 '08 #8

"Bergamot" <be******@visi.comwrote in message
news:6b*************@mid.individual.net...
>
Ed wrote:
>On 14/06/08 04:45, Candoer wrote:
>>On the menu part, it spills out over the box lines on the right of each
box.

The same problem also happens in my Firefox 2.0.0.13 and in K-Meleon
1.1.5 as well as Opera 9.27 when looking at
http://www.bisonalitiesagain.com/xindex.html

It should be happening in any decent browser.

#navcontainer a {
display: block;
width: 100%;
padding: 4px;
}

100% + padding is always wider than the parent container.

--
Berg
Berg

Your right about that. Will make a correction on that immediately!

Thanks

CANDOER Cat
Jun 27 '08 #9

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

Similar topics

1
by: Macamba | last post by:
Hi all, I am currently developing a website for a voluntary organisation. It is my first step in website development. The dynamic menu I developed has some bugs, which I addressed in another...
1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
10
by: Haines Brown | last post by:
I've implemented the horizontal drop down menu discussed recently in this newsgroup, and it works nicely under Galeon and Mozilla, but not IE 5.0. Here are the problems: Under IE 5.0, the...
28
by: Lachlan Hunt | last post by:
Hi, I've been trying, but failing to work out what is causing Opera to render my drop down menu incorrectly on my site. http://www.lachy.id.au/ For some reason, there seems to be extra margin...
26
by: Thomas Mlynarczyk | last post by:
Hi, Could some kind person using Mac or Linux (or others) please take a look at http://www.mlynarczyk-webdesign.de/tmp/menu/menu.html and tell me if the page renders as it should (screenshot...
2
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance...
4
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
5
by: Sura | last post by:
Hi I have designed a simple DHTML menu which comes over a flash animation when it appears. I have set the window mode as transparent in the flash project. This menu is showing fine when seen...
0
by: Garmt de Vries-Uiterweerd | last post by:
X-posted to opera.page-authoring, because this is a bit Opera-specific for the moment. F'up to ciwas. I am playing around with dedicated styling for the projection media type.. Currently the...
3
by: rsteph | last post by:
I have a javascript drop down menu that I borrowed from a website. It utilizes a little .css to help with formatting. The menu works great, and on all 3 of the browsers I'm concerned about; but I am...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.