#me { float: left; }

February 15, 2008

ASP.NET Menu control not rendering correctly in Safari

Filed under: ASP.NET, Safari, Web Design — Simon Rigby @ 12:22 pm

I found this neat solution to a long standing problem on ASP.NET.

Add a file called safari.browser to the app_browsers folder, containing the following:

<browsers>
    <browser refID="safari1plus">
        <controlAdapters>
            <adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />
        </controlAdapters>
    </browser>
</browsers>

Thanks to micheilvoo for the solution. The original thread can be found here.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: WordPress Classic. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.