Hi everyone,
I'm having a problem trying to position a div in my web page, here's my test site:
http://dirtymind.jvsoftware.com/
The problem is with the left side bar (the one with the login inputs and stuff), it's currently a div which I used negative top and left margins to position it where it is, but depending on the screen resolut...
I am trying to create a comment box similar to facebook, where the text area expands and the comment button becomes visible when the text area is clicked and when the text area looses focus the comment button is hidden and the text area shrinks back to a smaller height. The following js works fine, but the problem is when I click the "co...
Hey guys, I am making an application using C# in Visual Studio that minifies CSS code. Now I came across a piece of code that strips all prefixes for the # ID selector.
strCSS = Regex.Replace(strCSS, @"[a-zA-Z]+#", "#");
However, this would also remove any class names in front the ID selector. For example,
#interior .field#user-comme...
Hi,
On a button click, I want to display a progress bar, When it completes 100% want to load something,For this stuff i want to use jQuery as well as css.
I need some help, how to implement it.
...
I am probably missing soemthing very simple, but the following is a comment posted on in my rails app and if the content is too long..then it doesnot wrap automatically withing the paragraph and overflows onto the page.
The content of the paragraph is generated by Redcloth, though this particular paragraph does not contain any textile m...
So I am using jquery ui dialog like this:
$(document).ready(function() {
// vytvorenie kurzu
$('a.openModalBox').click(function(e) {
var href = $(this).attr('href');
if ('#/' == href) {
e.preventDefault();
$('span.modalBoxContent').dialog({
modal: true,
res...
This is weird.
http://elektrikhost.com
On page load, or the index page the search bar shrinks. Click about-us and it grows back. How can I fix this?
...
So here is my HTML:
<a href="#/" class="next openModalBox lessOpacity">Posunúť sa dopredu</a>
<div id="modalBoxContent">
<p style="font-size: .8em; text-align: center;">
Úspešne ste absolvovali študijnú časť školenia.
Pre ukončenie školenia je potrebné úspešne absolvovať <a href="/index/index" class="accessible-link">záv...
if i keep javascript at bottom or keep javascript in <head> inside document.ready, are both same thing?
I'm confused between these two methodology
this http://api.jquery.com/ready/ and this http://developer.yahoo.com/performance/rules.html#js_bottom
Is there any benefit to put js at bottom (just before </body>) even I'm keeping the co...
Hello,
When I try to run the following:
<div id="container">
//This is a 200x200 image
<img src="http://dummyimage.com/200x200/CCC/000" />
</div>
with CSS:
#container {
background:#000;
}
I get a DIV with a black background container like I want.
Howeve...
Scenario:
You have a CMS where an user is able to determine what content will be displayed.
The content consists of multiple colums with links underneath them. It looks something like this:
Column name
link1 link2 link3 link4
link5 link6 liiiiiiiiiiiiiiiiiink7
link8 liiiink9 liiiiiiink10
Column name2
link1 link2 link3 link4
link5 link...
Hi,
Is it possible in CSS3 to slant a strike-off line (achieved with css's text-decoration: line-through property) over a text string, say from bottom-left of the text to top-right (diagonal line)?
...
Is there a way to add css from a string in the javascript file to the head of a document with javascript?
Let's say we have a webpage, which has a lightbox script, this script requires a css file to function.
Now adding this css file with <link> will make the css file download even for people that don't have js enabled.
I know that ...
Hi,
I need a fixed position thead that is static when the parent DIV element is scrolled.
I don't need a scrolling tbody element as the parent will take care of this.
Not fussed about IE6 support.
The HTML:
<div class="scroll">
<form method="post" name="price_update" id="price_update" action="/">
<table summary="A ta...
Hi
I have a Tooltip which on mouse over opens on the top left side corner
of the page irrespectve of the 'mouseover'.
In case of IE8 this works fine and opens just above the place where mouse is
placed but in Firefox its unable to calculate/interprete the values.
here is the code snippet for tooltip
function DoFlyOver()
{
if( ...
jQuery apparently will re-size an image if the image is 2 big to fit into the lightbox properly.
( As seen here ).
This does not happen for me though because when I view a LARGE image it takes up the whole page and you have to scroll to see the image.
Is there something I am missing where I can set the MAX width and height of the ima...
Is it possible to limit a text length to "n" lines using CSS (or cut it when overflows vertically).
text-overflow: ellipsis; only works for 1 line text.
original text:
Ultrices natoque mus mattis, aliquam, cras in pellentesque
tincidunt elit purus lectus, vel ut aliquet, elementum nunc
nunc rhoncus placerat urna! Sit est sed!...
My screen looks good in IE8 under Windows XP. But when I open it in IE8 under Windows Server 2003, all text is more bold than in XP. I can apply styles to it, for example change font-weight in css, but in that case font weight changes under Windows XP too and in any case my screen looks differ.
...
Hey,
Here's what I am trying to do:
There is one scrollable div with fixed size, say 400x400 px. Inside there are two divs: header div and data div. Both their height and width are variable. What I want to do is be able to scroll horizontally both header and data divs but vertically only the data. In other words, I want the header div be...
I have a dl that I've coded like so:
<dl>
<dt>term 1</dt>
<dd>definition 1</dd>
<dt>term 2</dt>
<dd>definition 2</dd>
<dt>term 3</dt>
<dd>definition 3</dd>
</dl>
I'm finding it hard to apply the right css for the layout that i want ie. each term and definition in a column. structuring the html in the following way wo...