Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Opera 8 bug "select:focus"

"select:focus {border: ...}" --> submit jumps every time to "selected"

12:11 pm on Aug 24, 2005 (gmt 0)

New User

10+ Year Member

joined:July 23, 2004
votes: 0

Mabe this is a new bug in Opera 8:

Bug occurs if:
1.) Style: select:focus {border: solid}
2.) One option is "selected"
3.) Choosing another option and pressing the submit button.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>Opera 8.0 bug - "select:focus {border: ...}" clicking on submit button jumps every time to "selected " option</title>

<style type="text/css">
select:focus {border: solid red;}



<form name="Opera8bug" method="post" action="">

<select name="test" style="select:focus {background-color: #FFFFE9;border: 1px solid #4FA600;}">
<option value="1">aaaaaaaa</option>
<option value="2" selected>bbbbbbbb</option>
<option value="3">cccccccc</option>
<option value="3">dddddddd</option>
<option value="3">eeeeeeee</option>
<option value="3">ffffffff</option>

<input type="submit" name="button" value="start">


[edited by: encyclo at 1:30 pm (utc) on Aug. 24, 2005]
[edit reason] fix sideways scroll [/edit]

1:26 pm on Aug 24, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 16, 2003
votes: 0

You can submit bugs to Opera here [bugs.opera.com ]