I have a web page that has content which extends past the right edge of the browser window. I set overflow-x: hidden on <body> to turn off the bottom scrollbar, but I can still scroll horizontally with the trackpad, which is not what I want.
Is there any way to prevent the browser from scrolling horizontally?
As a side note: Safari 4.0...
I am working on a web app that will generate an NxN grid based on the user's selection of N. I want the total width of the grid to be relative (ie 100% of the available space) so that users can print on various paper sizes. I can easily calculate the width of the squares in the grid by % (ie: 100%/N), but I am having issues calculating t...
Hi!
I'm trying to get this content loader to work and I've managed to get it to get new content, once the content is loaded it isn't styled correctly. Also the character "é" becomes a questionmark. Doctype problem? As well as the h2 tag normally having Cufon applied to it is not triggering.
So basically, this content loader require me...
The web app i'm creating uses jquery lights out and has an html iframe to an internal form. Whoever uses this app will have to press the submit button. Is there a way i can link a free area of space surrounding the submit button, so any clicks within that space call the jquery functions in my code?
I'd like to do this so submitting the ...
I am generating pipes in my list using pseudo-classes and it works fine except they are not being rendered in IE 7. The code looks like:
.brandLinks a:after {
margin: 0 4px;
content: "|";
}
.brandLinks a:last-child:after {
content: " "
}
Is this just something IE 7 does not do or is my code wonky?
...
Hello, I'm working on a site right now that has a short picture slideshow for the homepage. I purchased a template and I am modifying it to work for this situation. On modification, the thumbnail row under the slideshow is now separated from the slideshow and the thumbs are not centered. I can't seem to understand how to get this to get ...
When writing a print stylesheet, is there a way to ensure that an image is always only on a single page, instead of spanning multiple pages. The images much smaller than the page, but based on the document flow, they end up at the bottom of the page and get split. An example of the behavior I'm seeing is below:
Page 1 | ...
Hi folks... I have an issue in an ExtJS-based application, however, I don't believe the problem to be ExtJS-specific (I could be wrong, but I suspect not).
The issue is that I have a universal selector like so:
* {
font-family : arial;
font-size : 10pt;
font-weight : bold;
}
Later on I have some markup (generated by ExtJS) as s...
I have a very simple web form which consists of labels and input fields, however I can not seem to find a way of aligning the form in the center of the page and for the labels to have an equal width so that they appear neatly next to each other, one under the other. The structure of my page is basically:
<body>
<div class="form">
<form ...
http://www.easysavannah.com/myspace1/template/default/css.css
I use this program now to beta a Myspace type site >
...
Round two. First was "How do I get all supported CSS properties in WebKit?".
I'm looking for magic CSSkeywords function:
CSSkeywords('float') --> ['left', 'right', 'none']
CSSkeywords('width') --> ['auto']
CSSkeywords('background') --> [
["repeat", "repeat-x", "repeat-y", "no-repeat"],
["scroll", "fixed"],
["top", "center", "bo...
so i have 4 divs (i actually have many more but this will simplify the question). i want to display them in two columns. the 4 divs vary in height. the number of actual divs in the end will vary.
so if i have this
<div id="1" style="height: 200px" class="inline">some content here</div>
<div id="2" style="height: 600px" class="inline">s...
I have a div (.header) contained within other divs. When my page loads, momentarily just that one .header div "flashes" white as the page is loading, especially in in Firefox, but a little bit in IE8 too. I can't find what kind of CSS or lack thereof is causing this - there's no images or background color associated with that div. There ...
I've had a poke around in the TweetMeme plugin code and IANA JS Guru, but I cant find any sensible way to make specific styling changes; you can add div-specific CSS characteristics, but I'm talking about changing the resting colour and the hover colour of the button.
I've googled around and noone seems to have asked it on here so I tho...
Hey Guys,
I'm new to jQuery and have an annoying problem.
I have some login fields that are filled with default text when the field is empty and then removed when clicked.
My problem is that when the user has their username/password saved (with browser), if they return to the page the login fields are filled with the users saved input ...
I mean, other than a browser, of course -- I'm talking about building native applications with HTML and CSS -- not web applications, but real native GUIs.
I wonder if such a thing exists?
And what do you think of such a beast? What would the pros/cons of such a system be?
...
I've been doing front end development for a long time, and I have NEVER come across a bug like this before...
Save the following HTML to a file and view it in Firefox (mine is 3.6.3):
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body { font-family: Helvetica, Sans-Serif;}
h2 {font-weight: no...
Hello friends..
I want to konw whether the browser caching of css and javascript is automatic with php or v hv to do it manually with code..
and wt are the advantages if i manually cache the css and js files to client browser.. using code..
??
If not cache wt will happened ??
...
hello guys,
i m having a problem with popup, there is an iframe in my mainpage, which is containing some other page. i want to show popup from that containing page and make background dim. i m changing my mainpage styles like making it opacity .40 but thing is its getting applied to my popup too,,, my popup is also getting dim. what to ...
How can I implement cross browser opacity gradient (not color gradient)?
See following code:
<div style="background-color:Red;display:block;height:500px;width:500px;filter:alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=500)"></div>
It works fine in IE but not in other browsers like firefox,safari.....