Opened 16 years ago
Closed 16 years ago
#13663 closed defect (bug) (fixed)
Upgrade Button in IE7 RTL is unclickable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | major | Version: | 3.0 |
| Component: | RTL | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Will make a patch as soon as I have opportunity.
Attachments (2)
Change History (14)
#3
@
16 years ago
I'd like to find a more general solution first. The fewer targeted hacks we have to make the better.
#4
@
16 years ago
Another common solution to this is adding text-align: center on the main container (needs to be defined in ie.css with higher priority).
#5
@
16 years ago
azaozz: I tried, but it doesn't work. The HTML Output:
<body> <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> <h2>No Upgrade Required</h2> <p>Your WordPress database is already up-to-date!</p> <p class="step"><a class="button" href="http://localhost/wp/">Continue</a></p> </body>
We need the fix also for the confirm box in multisite and also if we would support RTL in wp_die().
We should load the IE stylesheet, give the upgrade and confirm box a class and use this for the IE hack.
#6
@
16 years ago
- Keywords has-patch added; needs-rtl needs-patch removed
13663-ie-rtl-fix.patch: This is the simplest solution I think. It breaks nothing but solves the IE 6 and 7 bug.
#8
@
16 years ago
The patch seems to be working properly, just bear in mind this hack will be applied everywhere ie.css is loaded (pretty much on all screens).
#9
follow-up:
↓ 10
@
16 years ago
azaozz: It will applied when ie-rtl.css is loaded. And that shouldn't be a problem because <body> is always RTL, the patch only override the direction from <html>.
#10
in reply to:
↑ 9
@
16 years ago
Replying to ocean90:
azaozz: It will applied when ie-rtl.css is loaded...
Yes, exactly. We load ie.css conditionally on nearly all pages in the admin so ie-rtl.css will be loaded too (in RTL mode). I didn't see problems with the patch applied just wanted to get a confirmation from RTL languages users too.
#11
@
16 years ago
- Status changed from new to accepted
Patch looks good.
We already assume that the HTML element is always "LTR" - the only other difference that this patch will make is that it will move the window vertical scrollbars from left to right as well - but that's how I'd want it and how it's currently behaving in other browsers.
It seems that this is an IE 6 and 7 bug. The margin: X auto doesn't work with RTL.
A solutuion could be:
html {direction:ltr;} body {direction: rtl;}See here.