Have table and several div elements.
Table is time grid and divs are events that may take every position relatively table from top to bottom, dependently on time.
See screenshot:
So to make margin-top for div correct I specify it as negative, because these divs are positioned relatively to the table.
But in some cases they positioned...
Hello everyone,
The question that I have is very basic: Is there a way to inform the web browser that the content of the cookie has changed?
I don't want to keep looking at the file and check if it has been updated because it'll cause performance degree on my app.
Thanks in advance!
...
I have a client that doesn't want any space between a paragraph and a list item. Is there a CSS way to control the margin between a <p> tag and a <li> tag?
Naturally I can add a class such paragraphs but in a CMS world that is not practical. I need some kind of
p + li { margin-top: 1px };
or something like that.
...
i want to use jquery to retrieve a variable embedded in a html link, spo i can send it to the php file with jquery ajax. but i dont know how to do this.
this is what i have written:
<script ...>
$("a").click(function(){
$.post("helpers/ajaxcall_country.php", {"HERE I WANT TO SEND THE VARIABLE"}, function(data){...
I am trying to remove a row from one table and add it to another with jQuery. I've examined this similar Stack Overflow post and feel like I am doing roughly the same thing but am obviously missing something as what I am doing is not working. I know I've got the right row as the remove is working but the row is not being added to the new...
I'm using Aspose.Cells to build an Excel document programmatically. This works great. One of the cells, though, is a block of raw HTML. I'm wondering if it is possible to tell Excel (in any fashion, including the GUI - you don't need to know the Aspose API) to parse and display a cell as HTML. Right now, it just shows up as the raw HTML ...
I'm trying to motivate my team members to get our code to validate, but there seems to be some disillusionment because we are required to still support IE6.
Do you guys have any thoughts to this end?
This is what I'm going for:
Semantic code - YES
Validating code - YES
Works in IE6 - YES
Let's not argue over semantics ...
Hi,
I have multiple labels on a bar my web page and I want when I hover on that label, image in other div should change based on the label being hovered.
Any help would be highly appreciared.
Sjain
...
Is it possible to have a selectbox that has a default option such as: "Select One" but have the term "Select One" not present in the actual list itself?
<select name="test" id="test">
<option value="" selected="selected">Select A Entry</option>
<optgroup label="A Label">
<option value="one">Option 1</option>
<option value="two">Opt...
Is it a bad idea to link CSS files inside the body?
I've read that the browser is forced to start CSS rendering over again if it finds another css file outside of head, just because it might need to apply styles to elements its already rendered. Also I don't think the html will validate properly (I need to confirm this).
Are there any...
I need to write a regular expression using php which parses the following code block and removes all <font> and </font> tags.
<p align="left"><font face="Arial" size="1">February 22, 2007</font></p>
<p align="left"><b><font face="Arial" size="4">2K Sports Announces Major League
Baseball 2K7 Has Gone Gold </font></b></p>
...
Hello everyone,
Let me begin this topic by explaining my background experience with web design. I have always been more of a back end programmer, with PHP and SQL and things. However I do have a shallow background with HTML and CSS. The problem is, I don't know it all. What I do know is, when it comes to designing (not back end dirty wo...
i want to make a login page but it is hidden in the center of the main page.
and then i use jquery to make the div that surrounds it visible and it will be like the login page at www.bytes.com.
but i cant figure it out how to center it with css. it doesnt work without affecting the main pages div positions.
i just want it to float ove...
Hi, I have a div:
#logo_area
{
background-color: #d9e670;
filter:alpha(opacity=25);
opacity:0.25;
}
and another div:
#logo_image
{
background: url(../images/logo.png) no-repeat center 50%;
}
<div id="logo_area">
<div id="logo_image"></div>
</div>
Of course, logo_image is transparent too. Could I make it untrensparent in transpa...
I have made a super simple test case of a problem I'm having with IE6 and jQuery 1.3.2
In IE6 I only see the first alert box, it will render the page but it seems there is something in the js file that is causing IE6 to stop processing the scripts in the <head> content and thus not show the 2nd alert box. Chrome works as expected.
Nee...
Hi,
The following code does not work for me
<body onload = "<?php
foreach($arr as $a){
echo "<script language = javascript> popup_show(\''.$a.'\', \'popup_drag\', \'popup_exit\', \'screen-top-left\', 20, 20) <script>";
}
?>" >
I even tried this with an alert .
<body onload = "<?php
foreach($arr as $a){
echo "<script language = j...
I have an html application running in IE6(yes it has to be 6 for the time being), currently I print a page/report of the application. This report is all html and just uses the browsers built in print functionality. It currently spans more that 1 page i.e. scrolls, and the printing functionality prints the whole page, even what is not v...
I don't know if it's a common problem, but I can't find the solution in web so far.
I would like to have two divs wrapped inside another div, however these two divs inside have to be align the same level (for example: left one takes 20%width of the wrappedDiv, right one take another 80%). To achieve this purpose, I used the following exa...
Hiya,
I'm trying to get a toggle effect but not quite sure how to do it or what to look for. (i jave Jquery loaded).
assume html similar to
<table class="left-dates">
<tr><td>All Dates</td></tr>
<tr><td>01 dec 2009</td></tr>
<tr><td>02 dec 2009</td></tr>
<tr><td>03 dec 2009</td></tr>
<tr><td>04 dec 2009</td></tr>...
I use the RepeatColumns of an ASP CheckBoxList to create three columns in a list of genres. This usually works OK but occasionally when the page loads the columns collapse as indicated on this image. This seems to happen randomly and across all browsers. I do use OutputCache.
Has anyone noticed this behavior before?
This is a snippe...