Hey all,
I have a php script that loads a CSS stylesheet, changes the color attribute and then creates a new CSS file with the new color and links it to the page.
When I hit refresh it sometimes updates to reflect the changes, sometimes it doesn't. At first I thought it was the cache, so I disabled caching in Safari but its still happe...
I am trying to compile my LESSCSS document, and I am getting an error when trying to use @charset "UTF-8";.
I want to be sure my document is encoded correctly because of the way I embed my fonts. src: local('☺'), url(...);
Any ideas?
...
I'm trying to get a node.js server to send css files. I'm modifying this server here:
http://github.com/LearnBoost/Socket.IO-node/blob/master/test/server.js
What's wrong with what I'm doing:
server = http.createServer(function(req, res){
// your normal server code
var path = url.parse(req.url).pathname;
switch (path){
...
I have a div called "divContainer" inside which i have few input elements like textboxes,radio buttons et..
How can i define the style for then in the CSS ? I wanna mention styles for elements inside this purticular div.not for the entire form.
Ex: For textboxes i need width as 150px;
For Radio buttons i need width of 20px;
...
Hi all,
Asp.net is my first incursion into web development using server side tech. The last time I used HTML was when tables where used for rendering and CSS was a dream. I know the usual tags but I've come across some like <form /> and <input />.
I haven't used these or CSS before. I am running under the impression that these are stan...
I'm having with some margin or padding issues with IE8 that I'm hoping someone here will be able to help me out. Below is a screenshot of the site in IE7 with the correct spacing (it looks pretty much the same in FF and Chrome/Safari as well).
Next is the same page in IE8 with a whole bunch of extra spacing between the created by line...
I have this DIV:
#bar {
margin: 5px 0px 10px 0px;
height: 25px;
background:#c0c0c0;
color: #E0E0E0;
border: 2px solid #444444;
background: #333333;
padding: 5px;
}
And this Iframe:
<div id="bar">
<iframe src="myvotes.php?u=<? echo $_GET['u']; ?>" width="100%" height="28px" scrolling="no" frameborder="0"></iframe>
</div>...
Since virturl directory name is not fixed, I wrote code below to include .css file in .aspx page now.
<link rel="Stylesheet" href="<%= ResolveUrl("~/Css/xxx.css") %>" type="text/css" />
The question is, when I use "ResolveUrl" in tag, IDE is always barking about that all CSS classes is undefined.
Is there any better way to define .c...
I have a select menu like this:
<select name="mySelect">
<option value="250" selected="selected">250</option>
<option value="500">500</option>
<option value="1000">1000</option>
<option value="1500">1500</option>
</select>
It comes out looking different depending on OS and I would like it to have a different background...
Hi
I'm new to sprite, I think i understand the concept of changing the background position to replace the image.
so i have this big sprite png that I downloaded but how do I know the position of the icons?
I don't have photo shop, is there any other recommended tool(free) to find the position?
...
While polishing my site I noticed there was some unwanted space between 2 elements, so I decided to remove it. But looking at the source, I found this:
Please check it by yourself, there's no trace of this server-side. Live page here: http://www.playersonline.com.ar/guias
Any help would be appreciated.
...
Hi,
I am scraping a website with HTML with php that retrieves a page and removes certain elements to only show a photo gallery. It works flawlessly for every browser BUT any version of IE (typical ;)). We can fix the problem by rewriting the .css file, but we cannot implement it into the head of the php as this will be overwritten by th...
Damn, I always feel frustated with CSS. I keep reading books and articles/tuturials but CSS is a PITA!
I've the following code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Testing CSS</title>
<style type="text/css">
<!--
body {
background: #dddddd;
font: 12px "Trebu...
I'm having some trouble figuring this out.. I want to make it so I can place a button in a number of different DIVs but have all the info for the button be the same (class, type, value, etc), this is because its an "edit" button for the DIV so its just something that is automatically included with any new DIV that is created and my serve...
I have a <div> that has contentEditable="true".
When I copy-paste content within the editable div, the pasted text gets wrapped into a lot of unwanted CSS.
For example, this:
<p>text text</p>
becomes:
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-botto...
my css code=
background:url(images/solu_bg.png) no-repeat left top;
but it not covering the whole div background area.why?
...
i have number of divs are available in my webpage. For each div one button is there.
My requirement is place this button at bottom for every div irrespective of the size of the div.
Please give me some solution for this.
...
Greetings,
I've been trying to make a site work for half a day to no avail. IE8 is bad for my mental state.
So, there is a table looking like this:
<table width="100%">
<tr id="header">
<td colspan="2"></td>
</tr>
<tr id="center">
<td id="left" style="width: 201px"></td>
<td id="mainpage" style="width: 100%"></td>
</tr>
</table>
...
Hi all,
I have some drop down menus that don't seem to be aligning nicely in IE8 - they are aligning well in Firefox 3 and IE7. Specifically, the dropdowns seem to be ignoring my right:0; style. A picture says a thousand words so this is what it looks like:
As you can see, the right side of the dropdown should be aligning with the ri...
Hello,
Here's my question:
I have a sliding navbar on the top of my website, with a sliding button (toggle slide up/down). By default the navbar is closed. When I click to slide down the navbar, the background-image remains fixed, it doesn't slide along with the rest of my page.
This is in IE6 & IE7 too
Note that the background-image...