Div's being pushed down in Safari
Hi guys,
I've built a website for a client. For some unknown reason the footer content gets pushed down on the friends page in Safari and IE - all of the other pages are fine though.
Here's a link to the site
Can anyone see why this could be happening - in FF everything is fine though.
Thank you!
SM
On Win 7, Safari, IE9 and Firefox, all looks the same. I am not seeing anything different.
Jim
Similar Messages
-
Where clause one query not being pushed down
I am having a problem where I cannot get a certain "optional" parameter to be pushed down to a query. The parameter gets applied in memory after the result set is returned but not pushed down to the DB. The function is as follows:
declare function getFoo($key as xs:string, $optinalInput as xs:string*) as element(b:bar)*
for $foo in f:getFoo()
where $key = $foo/key
where not(exists($optinalInput)) or $foo/optional = $optinalInput<- does not get pushed down to the query
return $foo
If I make optinalInput an xs:string instead of xs:string * and the optional parameter will get pushed to the query. The problem is for this optional parameter I could get anywhere from 0-50 in the sequence. Seems like when the parameter is a sequence it doesn't get applied to the query. Is there any way around this?Mike,
I understand the difference between * and ? and I was one of the people working on the "string-length not getting pushed" problem so I am very familiar with it. I tried you solution that you mentioned below and it still did not push the where clause to the query. I know I could achieve this with an ad-hoc query but I wanted to do a pure xquery implementation of this component because of the benefits it could have when interacting with other components in our ODSI project...such as SQL joining and potentially pushing additional where clause down from components that call this component. The only way I did get this to kind of work is to do this:
return
for $o in $optinalInput
for $foo in f:getFoo()
where $key = $foo/key
where $o = $foo/optional
return
$foo
for $count in 1
where not(exists($optinalInput))
for $foo in f:getFoo()
where $key = $foo/key
return
$foo
By putting the optional parameter into a FOR statement above the table call it guarantees that at least one will exists and that's why the optional parameter gets pushed properly to the DB with a parameterized query. The problem with this is that even though a parameterized query gets pushed it will call the SQL statement multiple times!...not good.
Another solution that was suggested to me would be to create the number of sequences for each item in the sequence and treat each item as it's own. For example if you know that the schema limits the sequence from 0..50 then you could make 50 items and 50 where clauses....probably not an optimal solution either but it would achieve properly pushing the where clause tot he DB.
For now I am satisfied with this optional parameter not being pushed to the DB because the performance was still good but it would be nice if there was a maintainable pure xquery solution to this problem.
Thanks for the help it's always appreciated!
Mike -
Content being pushed down the page
I have a two column site that I am working on and the content on the right side is being pushed way down the page when it is published. Has anyone had this happen? you can see what I am talking about at Home
Thanks for any assistance!It is lined up now because I was messing with it last night. I have scripts and custom HTML Widgets that go down the left column that I removed when I add them back it pushes the content on the right below when published. I will put a screen shot in this post tonight when I have a chance.
Thanks for the help! -
Tabbed Panel - prevent page content being pushed down
What is the setting to prevent an open tab from pushing
content down that is below it. Rather, just have the tabbed content
be presented above the content on the page. In other words, have it
behave like a menu bar with drop down boxes.
Thanks for any replies.You're going to have to tweak the CSS so that the
TabbedPanelsContent is absolutely positioned. Start by adding rules
like this *after* the tabbed panels CSS, and tweak it from there to
suit your needs:
.TabbedPanelsContentGroup {
position: relative;
.TabbedPanelsContent {
position: absolute;
top: 0;
left: 0;
z-index: 1000;
--== Kin ==-- -
3-column css "push down" problem
I'm using a 3-column nav css design for my site (take a look
at rjkg.com/GS.html), but the center and right columns are being
pushed down in IE. Here's the css (navbar is left, headlines is
right, and content is center):
#navBar{
float: left;
width: 20%;
margin: 0px;
padding: 0px;
background-color: #ffddbb;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
#headlines{
float:right;
width: 20%;
border-left: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
padding-right: 10px;
background-color: #ffddbb;
background: #ffddbb;
#content{
float: left;
width: 499px;
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
What do I do to make it showcorrectly in IE?
Also, in Firefox, the center column isn't actually centered
between the two sidebars, but I'd like it to be. Any clues?
Thanks in advance from this newbie!
R.> rjkg.com/GS.html), but the center and right columns are
being pushed
> down in
> IE. Here's the css (navbar is left, headlines is right,
and content is
> center):
>
> #navBar{
> float: left;
> width: 20%;
> margin: 0px;
> padding: 0px;
> background-color: #ffddbb;
> border-right: 1px solid #cccccc;
> border-bottom: 1px solid #cccccc;
> }
>
> #headlines{
> float:right;
> width: 20%;
> border-left: 1px solid #cccccc;
> border-bottom: 1px solid #cccccc;
> padding-right: 10px;
> background-color: #ffddbb;
> background: #ffddbb;
> }
>
> #content{
> float: left;
> width: 499px;
> margin-top: 0px;
> margin-right: 0px;
> margin-left: 0px;
> }
>
> What do I do to make it showcorrectly in IE?
>
> Also, in Firefox, the center column isn't actually
centered between
> the two
> sidebars, but I'd like it to be. Any clues?
20% + 20% + 499px = ?
You can't mix measures like that. Try replacing 499 with 60%.
Your float
will now drop in all browsers. Why?
20% + 20% + 60% = 100%
But the borders and padding you've assigned are added to the
width,
resulting in another mathematical improbablility. The easiest
way to fix
that is the remove the padding and borders from the main
boxes and then
nest content boxes inside the main boxes. Assign your borders
and
padding to those nested elements.
Al Sparber - PVII
http://www.projectseven.com
Extending Dreamweaver - Nav Systems | Galleries | Widgets
Authors: "42nd Street: Mastering the Art of CSS Design" -
HT4623 Why the volume of iPhone keeps going down without any button being pushed
The volume of my iPhone keeps going down without any button being pushed, why?
Hello there Saber7,
If I understand correctly, the phone seems to think the phones volume up is constantly being pressedbut the button still clicks when you press it. This should be easy to isolate to hardware or software, so I would start by quitting all the apps that are running on the phone:
iOS: Force an app to close
Double-click the Home button.
Swipe left or right until you have located the app you wish to close.
Swipe the app up to close it.
When you have done that reset the device and test the issue again:
iOS: Turning off and on (restarting) and resetting -
Hi,
Jus wondered what I need to switch off to stop any data being 'pushed' into cyberspace. Already turned off iCloud,Bluetooth and location services.... Anything else ?
Thanks in advance.Synced means being kept up to date. If you change a reminder on an iPhone that information will be pushed through the cloud to a iPad and/or Mac and vice versa. If your email is iMap, email may be synced with the server through push or pull, but in either case the iPad needs to communicate and receive information from the server. To receive notifications, messages and facetime calls you need to have access to Apple's servers from your device.
In the end, cutting off the data will severely hinder your ability to use the device. Many games won't work if they don't have connectivity to game center or the games servers for storing high scores and save states. Your apps that link to cloud storage services (Dropbox, OneDrive, Google Drive, etc) won't be able to sync and save your data.
Put your iPad in Airplane mode and see what breaks. If you just want to turn off iCloud (based on your other posts) just go into Settings -> iCloud and start movingn the switches so none of them are green. That will stop all syncing with iCloud data services. Then go to Settings -> Notification Center and for each app listed you'll need to turn off notifications. Under Settings -> Privacy you'll probably want to go through each item and make sure you cut off data access for each of them. Under Settings -> Messages make sure you flip the switch so it's not green, and the same with Facetime. Under Safari in Settings turn on do not track and start cookie blocking.
If I missed any I'll fill it in later. -
UIView is being pushed up after switching view?
Hi everyone,
I have been with this problem quite some time now and I have no idea on how to proceed.
I have three UIViews on my application (iphone). But when I change view, the view gets pushed up, not complying with the layout that was explicitly (supposedly) given to it with interface builder.
You can see the complete question here:
http://stackoverflow.com/questions/5080332/uiview-being-pushed-up-apparentlyinex plicably
If you need part of the code please let me know.Note that in IB you have two distinct elements, a UIWindow and a UIView. You can change the size of the UIWindow, but you can for the UIView if no simulated items are specified.
In the view's inspector, under "Simulated User Interface Elements", you can add common GUI items (eg status bar , nav bar etc.) This is just a development aid, since it will resize your view by the right amount if you use any of these dropdowns, and grey out the W & H under view size.
If you turn off all the simulated items, the Interface builder lets you define the W & H for yourself.
The UIWindow is a fixed size, but having the status bar turned on might (not 100% sure since was a while ago) cause the views added to it be pushed down 44 pixels when loaded.
I remember having trouble doing a flip from one view to another, since the new view I loaded did not know that the first view was 44 pixels down, and appeared under the status bar.
You can get the full screen size with:
self.window.frame = [[UIScreen mainScreen] applicationFrame];
If you have a view that is not playing nice before you add it, you can push it's y value down beforehand
self.newVC = [[NewVC alloc] initWithNibName:@"NewVC" bundle:nil];
CGRect f = self.newVC.view.frame;
f.origin.y = 44;
self.newVC.view.frame = f;
[self.wrapperVC addSubview:self.newVC.view];
Don't think I needed the above, since managed to get it right in IB.
Worth checking what the frames for the window and views are in debug, and trying the settings in Interface builder. eg
po [UIScreen mainScreen]
or
p (CGRect) [[UIScreen mainScreen] bounds]
Hope that helps -
I have Adobe CS. Upgraded my computer to Windows 7. Installed CS but I can't activate Photoshop due to the online/phone activation being pulled down. Now the 30 days has expired. Tried to follow directions to install CS2 but no luck. I would really like to speak with someone at Adobe to get it working again. THanks
If you would like to speak with someone at Adobe you will need to cvontact them directly by chat or phone.
Here is a link to a page with options to help make contact:
http://www.adobe.com/support/download-install/supportinfo/ -
my iphone 4 is stuck in the spinning wheel mode, ive tried reseting it with both buttons pushed down and it wont reset! anyone knows some other way to do it? please let me know! thanks
When you push both buttons (home and on/off), you need to hold them down together for 10-12 seconds till the Apple logo appears.
-
Hi
On Mac OS X 10.10 Yosemite, there is a clear bug on the Microsoft Remote desktop app when
a) remoting into a Windows server that is set to display full screen
b) when you are logging in using a RDweb server aka RDS 2012.
After logging in to the remote server, the full screen representation of the server desktop has the following issues:
- The Mac Launchpad is still visible over the Windows desktop, making that part of the Windows desktop impossible to reach.
- The published screen is pushed down about 15 pixels. It is pushed down by the Mac's menu that also remains visible.
When I directly remote into the same server using traditional direct RDP (Not via the RDweb, gateway setup) the screen positions correctly.
I guess: Somehow the Remote desktop app (8.0.14) does not seem to get the message from the server that this is a full screen session? Is there some information that the connection Broker or Gateway is not passing allong to
the client?
I have replicated this many times. It is the same whether I connect to a 2012 server or to a 2008 server.
BartHi,
For a try you can use URI scheme for the specified desktop screen or full screen and check the result. You can refer the following article for information.
Remote Desktop Client URI Scheme Support
https://technet.microsoft.com/en-us/library/dn690096.aspx
Apart if you have RD Gateway setup then you can try the option for RD Gateway to uncheck “Bypass RD Gateway for Local address” and verify result.
Hope it helps!
Thanks.
Dharmesh Solanki
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Predicate push down in 10.2.0.3 but not in 11.1.0.7
In the SQL and PL/SQL forum, there was an interesting question on why a predicate isn't pushed down in an 11.1.0.7 database while 10.2.0.3 did push the predicate, here: Same query works OK on 10.2.0.3 and not OK on 11.1.0.7-please help
The last post contains 10053 trace output. Maybe any of the performance experts in this forum has an explanation?
Regards,
Rob.SQL> ALTER TABLE LOGIN ADD (
2 CONSTRAINT FK_LOGIN_MPI
3 FOREIGN KEY (MPID)
4 REFERENCES PERSON_ID (MPID));
REFERENCES PERSON_ID (MPID))
ERROR at line 4:
ORA-02270: no matching unique or primary key for this column-list
SQL> Select
2 rn,
3 mpid,
4 first,
5 middle,
6 last,
7 account_status,
8 username,
9 last_login,
10 date_added,
11 degree,
12 ssn
13 from
14 (
15 Select
16 rownum as rn,
17 mpid,
18 first,
19 middle,
20 last,
21 account_status,
22 username,
23 last_login,
24 date_added,
25 degree,
26 ssn
27 from
28 (
29 SELECT distinct
30 p.mpid as mpid,
31 UPPER(name_first) as first,
32 UPPER(name_middle_initial) as middle,
33 UPPER(name_last) as last,
34 l.account_status,
35 username,
36 TO_CHAR(last_login, 'DD-Mon-YYYY') as last_login,
37 TO_CHAR(date_added, 'DD-Mon-YYYY') as date_Added,
38 degree,
39 ssn
40 FROM
41 PERSON_ID p,
42 login l
43 WHERE
44 p.mpid=l.mpid AND UPPER(p.name_last) LIKE '%SMITH%'
45 ORDER BY
46 name_last ASC
47 )
48 )
49 where
50 rn >= 1 and rn <= 20;
name_last ASC
ERROR at line 46:
ORA-01791: not a SELECTed expression
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bi
PL/SQL Release 10.1.0.5.0 - Production
CORE 10.1.0.5.0 Production
TNS for Solaris: Version 10.1.0.5.0 - Production
NLSRTL Version 10.1.0.5.0 - Productionbon, je n'ai pas de 10.1.0.4 windows, mais je doute que ça fasse vraiment la différence
donne moi l'output dans sqlplus -
Mac thinks keyboard key being held down
i have a mac pro 2,1 running 10.6.8. intermittently, it behaves as if a button is being held down on the keyboard. sometimes when i start up and reach the login screen there is immediately a string of password already typed in. as soon as i hit delete to clean i out and type my actual password, there is no problem. then when i arrive at my desktop, there will be the clicking sound like a key is being held down, and again, if i just hit a key, the clicking noise stops. all of this is no big deal, but the bummer is that when i put it to sleep, it often wakes back up immediately, or later on in the middle of the weekend and sits there waiting for me for days. ive tried resetting pram / smc. unplug/replug. no firmware updates for my aluminum keyboard are popping up in software updates. any ideas?
Turning off hardware acceleration worked in all cases.
With hardware acceleration enabled the menu flashing did not occur on the primary display, only the secondary display of a two-monitor system.
Windows 7, ATI Radeon 4800 series. -
Drawing Tools Acting As If Shift Key Being Held Down
Hey guys,
Small problem here with Adobe Acrobat Reader 8.0.0. When drawing square, oval, etc., the shapes are coming up as if the Shift Key was being held down. This also happens when trying to draw a box to place a digital signature. Check my keyboard, and there was nothing stuck in it that might be pressing the Shift key. Tested out by using Microsoft Paint to draw lines and they seem to work fine, so I think the problem is only in Adobe. I couldnt find anything online regarding this issue, which was kinda hard to put into words anyways into a search engine. Ive tried running the repair installation of Adobe, but no result. Any idea what might be causing this?Yes, that looks all like symptoms of a pressed Shift button.
If you want to uninstall and reinstall Firefox then make sure to delete the Firefox program folder to make sure that there aren't any leftover files in it.
*http://kb.mozillazine.org/Uninstalling_Firefox
You can find the latest Firefox release in all languages and for all Operating Systems here:
*Firefox 16.0.x: http://www.mozilla.org/en-US/firefox/all.html
Create a new profile as a test to check if your current profile is causing the problems.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
See:
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.
*http://windows.microsoft.com/en-US/windows7/Advanced-startup-options-including-safe-mode
*http://windows.microsoft.com/en-US/windows-vista/Advanced-startup-options-including-safe-mode -
Under ALDSP 2.5, the following XQuery...
where string-length($medacf) = 0 or $medacf = $acf/column_name
...used to generate this SQL:
where ((? = 0) OR (? = t1."COLUMN_NAME"))
However, under ODSI 10gR3, the where clause is missing. Here's the query plan:
<?xml version="1.0"?>
<FLWOR>
<return>
<elementConstructor name="UserGroup" tip="{ld:PhysicalLayer/UserProfile/UserGroup}UserGroup">
<elementConstructor field="(0)" name="UserID" from="$f7815">
</elementConstructor>
<elementConstructor field="(1)" name="GroupID" from="$f7815">
</elementConstructor>
</elementConstructor>
</return>
<where sqlstop="Unable to generate SQL for XQuery expression: Cannot generate SQL for the function {http://www.bea.com/xquery/xquery-operators}integer-equal with parameters (Parameter,INTEGER), (Constant,INTEGER). There is no equivalent SQL for this function in general or with these particular parameter kinds/types. ">
<operator ns="op" name="boolean-or" tip="{http://www.w3.org/2004/07/xpath-operators}boolean-or">
<EQ sqlstop="Cannot generate SQL for the function {http://www.bea.com/xquery/xquery-operators}integer-equal with parameters (Parameter,INTEGER), (Constant,INTEGER). There is no equivalent SQL for this function in general or with these particular parameter kinds/types. " tip="{http://www.bea.com/xquery/xquery-operators}integer-equal">
<operator ns="fn" name="string-length" tip="{http://www.w3.org/2004/07/xpath-functions}string-length">
<variable name="__fparam0" kind="EXTERNAL">
</variable>
</operator>
<constant>
<![CDATA[[integer 0]]]>
</constant>
</EQ>
<EQ tip="{http://www.bea.com/xquery/xquery-operators}string-equal">
<variable name="__fparam0" kind="EXTERNAL">
</variable>
<variable name="(2)" from="$f7815" kind="extracted">
</variable>
</EQ>
</operator>
</where>
<for name="$f7815">
<source ns="fn-bea" name="UsrProfDataSource" sqlwarning="Generated SQL query does not have a WHERE clause. This may cause the query to take longer to finish and use excessive memory resources." kind="relational" tip="UsrProfDataSource">
<![CDATA[SELECT UPPER(t1."USER_ID") AS c1, t1."GRP_ID" AS c2, t1."USER_ID" AS c3
FROM "USRPROF"."USER_GRP" t1]]>
</source>
</for>
</FLWOR>We have found that in ODSI 10gR3, the code pattern below is not pushed down if $logicalExpression is an expression that compares two atomic values and one of the values is a constant (used to work in ALDSP 2.5):
where $logicalExpression or $table/column = $input
Sample code that is not pushed down as expected:
where fn:string-length($accountNumber) _<= 0_ or $account/ACCT_NUM = $accountNumber
where fn:empty($accountNumber) or $accountNumber _= ''_ or $account/ACCT_NUM = $accountNumber
where fn:empty($clientId) or $clientId _= 0_ or $account/CLIENT_ID = $clientId
where fn:empty($effectiveDate) or $effectiveDate _= xs:date('0001-01-01')_ or $account/ACCT_EFF_DT = $effectiveDate
We have also found that a workaround is to tweak the code and replace $logicalExpression with something that can be pushed down and functionally equivalent (using fn:not, fn-bea:fence, fn:exactly-one, etc.).
Code that works:
where fn:not(fn:string-length($accountNumber) > 0) or $account/ACCT_NUM = $accountNumber
where fn-bea:fence(fn:string-length($accountNumber) <= 0) or $account/ACCT_NUM = $accountNumber
where fn:exactly-one(fn:string-length($accountNumber) <= 0) or $account/ACCT_NUM = $accountNumber
After examining the query plans, it appears to me (please correct me if any of these is not true):
- Comparators for atomic types ({http://www.bea.com/xquery/xquery-operators} integer-less-than-or-equal, string-equal, date-equal, etc.) are not pushed down if they are used to compare anything with a constant
- An "or" operation ({http://www.w3.org/2004/07/xpath-operators} boolean-or) is not pushed down if any of its operands cannot be pushed down
- fn:not, fn-bea:fence, and fn:exactly-one can be pushed down even if their operand cannot be pushed down
So the question is, why comparators are not pushed down when constants are involved? Is this a bug?
Thanks!
-r.
Maybe you are looking for
-
Hp laserjet pro p1102w printer
Dear, I want to bye a hp laserjet pro p1102w printer, for my business. I am a Graphic Designer and I want to print Paper as well as Tracing (for Screen Printings) It is Posiible ? Thanks Ketan
-
Moving music from old computer to new computer
I recently purchased my MacBook Pro and I am trying to move all of my music from my old computer to this one. You might think that simply copying the songs to an iPod (as files, not music that can be listened to) and trasferring them to the desired c
-
Hi all, recently the harddisk of my macbook pro crashed and I had it replaced with a SSD thinking I could use the old harddisk as an external but now it seems like the crashed harddisk cannot be detected by my macbook. What should I do?
-
I have loaded new waves audio unit plug-ins into Logic Pro 7.1, when they are authorized they have shown up doubled, the 5.2 versions. One group validates, the other crashed. Thus, every time Logic Pro 7.1 is loaded at start up it lists the bad plug-
-
Trying to print notation in GarageBand, the print button is not 'clickable'
I just picked up a M-Audio Keystation, plugged it in, Garageband recognized immediately, played some music, saved file, then when I try to print notation, the *print button is all gray* and not 'clickable'. I check in other programs and the print but