Plupload - Select Files Button doesnt work on various browsers - css

I have googled loads and tried various fixes including "uploader.refresh()" so am here asking your help please.
I am using the Core API for uploading and think maybe Ive tried to be too clever by replacing the <a id="pickfiles" with an image rather than text.
In doing so, the area for clicking is teeny on Firefox and IE which is causing problems for some of my users.
Ive tried to override the css:
a#pickfiles {
width: 150px;
height: 75px;
}
but it doesnt make any difference, the height is still 15px.
Please can someone give me some pointers on how to sort this one.
Hope that all makes sense and thanks in advance for any help.

Related

Make full page image responsive without using body tag

I've been searching up how to make an image scale up to full page, but without using the body tag - because if I use that tag, when I put other text and other objects, all of those text, buttons, etc. will show up on the image, instead of below it, which isn't really nice...
But so far I haven't been able to find out a solution for this, so any help / advice would be greatly appreciated! Thank you!
Well... I guess you could do something like this to alter the HTML tag, this may not be the best practice.
This is an example of the code:
<html style = "background-color: red;"></html>
Hope this helped.
Another way to do it is just adding a div, once again not the best practice but it would work.
<div style="position: fixed; width: 100%; height: 100%; background: #FF0000;">&nbsp</div>
One of the downsides to using a div for this problem is that everything can get blocked out.

Guidelines to stop horizontal scrolling in Chrome

I realize this question has been asked before but the solution that is usually supplied involves adding this to the target tag:
overflow-x: hidden
which I've done. This fix prevents horizontal scrolling in Firefox but fails when it comes to Chrome and IE8 (not so much an issue at this moment in regard to IE8). Judging by previous questions this may have become an issue since Chrome version 34. So how do I go about fixing this?
Thr problem CSS that is causing the scrolling looks like this:
// Tablet portrait and landscape
#media (min-width: #screen-sm-min) {
& {
margin: 0 -100% !important;
padding: 30px 100% !important;
}
}
the above causes the content to appear evenly in the center as per the requirement. Any advice on this or a possible resource to explain why this happens in Chrome?
Thanks
P.S. I also noticed that this site doesn't have that problem - why would that be? Fundamental difference in structure? Or the CSS I'm looking for?
Thanks for everyone's efforts even though I provided little information. We solved the error though we still don't know why it was happening. We have different .LESS files for different pages but they are all imported into one called ice-styles.less
Here was were I was adding the overflow-x: hidden and for some reason this was being ignored even with an !important suffix appended. My understanding of this was that it should apply to all pages because it was being attached to the html and body tags.
So we moved the same line above into the .LESS page that the problem was occurring and it fixed the problem - but it didn't introduce the problem into other pages - this suggests that the structure of the page was the real culprit.
Thanks again everyone
did you tried styling it by jquery?
$(document).ready(function(){
$('body').css('overflow-x','hidden !important');
})
or even if it didnt worked trying it after few seconds
$(document).ready(function(){
setTimeOut(function(){
$('body').css('overflow-x','hidden !important');
},1000)
})
there is something that is overwriting you overflow:hidden tag...
maybe there is some css that gives your element some width and then you force the overflow which does not happen at times in chrome or IE...
html {
overflow-x: hidden; //or none
}

Remove Border From Smiles in Post

Hello i am finally getting to grips with CSS after about 4 years of picking it up as i go. This problem though has had me stumped for a few hours now so ive gave up and decided to ask for some help and learn from it that way.
All the smilies in my site have the img border that is for comment images.
examples here-
http://onlinebanter.com/node/5334
Ive already removed the border with border:none at other places in my website but i cant seem to change this. Could anyone suggest something for me?
thanks
A quick inspect element using Firebug add-on for Firefox reveals this is because of the following rule in one of your css files.
#comments .b2-postcontent img {
border: 2px solid #CCCCCC;
...
}
Changing this to border: none; should fix this. Not sure if you are using a css file packager since the css file seems to be css_9f04d02d9bb1b7bc07fd70d30ee1b762.css. So maybe just search for #comments .b2-postcontent img in all files and then change the appropriate location.
Thank mt. Im a big fan of firebug mt. This though has got me. Ive a feeling i might have tried your suggestion too. I think it removes the border from my comment image which isnt desired. I suppose then i would just have to target it that itself. Let me go try and thanks.
Thanks Wurst too. I think that just removes all my image borders. Maybe i have got it all set up at he wrong level. I will be right back.

IE problems on Wordpress site

Having a huge problem with my Wordpress site displaying incorrectly only in IE. The whole site should be centered in the middle of the page but in IE it floats left. Also my nav options (on the sidebar once hovered over) have to much space in between them. Lastly if you click on one of the nav options it will take you to a page containing a slide deck, that in IE is way to tall. I've been googling this for the past few hours trying to fix it. I know my page doesn't validate fully, but I can't find a good way to find and fix the errors since the each page is generated from wordpress and there are many different parts to each page. I'm about to go crazy, let me know if you can help. Thanks in advance.
http://www.buildingthemiddleclass.org
Look at your page code; you have this
<style type="text/css">
#headimg {
height: HEADER_IMAGE_HEIGHTpx;
width: HEADER_IMAGE_WIDTHpx;
}
#headimg h1, #headimg #desc {
display: none;
}
</style>
above the Doctype in header.php. Anything above the Doctype whacks IE. Fix that.

CSS display:block problem, whos the culprit IE or Firefox?

I am having a hard time figuring out why things look so different in IE and Firefox.
Here is a CSS class
.logo { width: 224px; height: 120px; position: relative;
display:block; left: -1px; background-image: url(logo.png);}
In IE this works as expected, but in Firefox it behaves like a drunk! I see 3 logo.png at different places on a page. If I remove display:block then I cannot see the image in either browser.
Any comments appreciated.
You might need to add
background-repeat: none;
to your css class. And for future reference, it's always IE that screws up ;)
EDIT: If that doesn't solve your problem, please put up a sample site live somewhere we can look at it and experiment a little. Also, Firebug might be helpful.
EDIT2: Removed this, since I noted the difference between firebug and the src I got from right-clicking and selecting "View Source..."
EDIT3: Steve found your problem: You can't self-close anchors. Change
<a href="/" id="logo" />
to
Your problem is in the HTML. You can't can't self close A tags
Correct, the problem is always IE. If firefox has an issue it's usually an issue with the w3c specs. Not being a fanboy, it's just the way things are.
I guessing your problem is that the default value for background-repeat is different between the browsers. You should try setting background-repeat:no-repeat EDIT: Maybe not, all browsers default to repeat.
It would be useful to know what element you are applying logo to. Whatever it is is probably collapsing to a height of 0px when not a block. Put a border on it to see what's going on there.

Resources