Hallo  Dirk Schäfauer

Du hast Dich sicherlich in der liste verirrt oder?? ;-)
http://www.glengamoi.com/mailman/listinfo/asp.net


Gruss

Roman Pittroff
Consulting
Bangkok, Thailand



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Schäfauer
> Sent: Wednesday, September 14, 2005 3:11 PM
> To: [email protected]
> Subject: [Coffeehouse] Unterschiedliche Darstellung in IE und Firefox
> 
> Hallo Liste
> 
> Mir ist gerade etwas merkwürdiges aufgefallen:
> 
> Ich erstelle serverseitig eine Dropdownlist und gebe dieser 
> eine feste Breite mit.
> 
>                       Dim ddl As New DropDownList
>                       Dim i As Integer = 0
>                       Dim Enumerator As HorizontalAlign
>                       Dim Werte As Integer() =
> Enumerator.GetValues(GetType(HorizontalAlign))
> 
>                       While i < Werte.Length
> 
>                               Dim Item As New ListItem
>                               Dim Name As String =
> Management.Seitenmanager.StringPool.ErzeugeInstanz.ErmittleStr
> ing("Ausrichtu
> ngenHorizontal", CType(Werte(i), String),
> Management.Seitenmanager.Sprache.Name)
> 
>                               Item.Text = Name
> 
>                               Try
>                                       Item.Value = Werte(i)
>                               Catch ex As Exception
>                                       Item.Value = Name
>                               End Try
> 
>                               ddl.Items.Add(Item)
> 
>                               i += 1
> 
>                       End While
>                       ddl.Width = Unit.Pixel(150)
> 
> Diese wird im IE folgendermaßen dargestellt:
> 
> <select name="ddlAusrichtung" id="ddlAusrichtung"
> style="border-width:0px;width:150px;">
>                       <option value="0">NotSet</option>
>                       <option value="1">Left</option>
>                       <option value="2">Center</option>
>                       <option value="3">Right</option>
>                       <option value="4">Justify</option>
> 
>               </select>
> 
> Soweit so gut, im Firefox sieht die DDL allerdings so aus:
> 
> <select name="ddlAusrichtung" id="ddlAusrichtung">
>                       <option value="0">NotSet</option>
>                       <option value="1">Left</option>
>                       <option value="2">Center</option>
>                       <option value="3">Right</option>
>                       <option value="4">Justify</option>
> 
>               </select>
> 
> Es fehlt also der Style-Tag. Wenn ich jetzt aber die DDL 
> händisch in die Seite kopiere wie sie im IE dargestellt wird 
> funktioniert das auch für den Firefox. Werden Assemblies von 
> den Browsern unterschiedlich interpretiert?
> 
> Mit freundlichen Grüßen / Best regards
> 
> Dirk Schäfauer
> MSW screen:event
> 
> 
> _______________________________________________
> Coffeehouse Mailingliste, Postings senden an:
> [email protected]
> An-/Abmeldung und Suchfunktion unter:
> http://www.glengamoi.com/mailman/listinfo/coffeehouse
> 


_______________________________________________
Coffeehouse Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an