I have a small app I've written, and it works well when using the dev server, but as soon as i switch to IIS on my local box (IIS 7), I lose images and styles.
I tried using Url.Content and that kind of works for styles and images in the master page, but I still lose images that are referenced from CSS styles
Is there any way I can ge...
Hello,
This is my web page which doesn't work in IE8 but works in FF 3.6.4 and Opera 9.63 :-
<html>
<head>
<style type="text/css">
body{
max-width:10002px;
min-width:3072px;
width:10002px;
margin:0px auto;
background:#293231;
...
If I draw a text on a canvas and set the font property the text is not show
correctly if I change the order of values into the string property:
This work right:
context.font = "italic bold 24px Verdana"
but this not:
context.font = "bold Verdana italic 24px"
Into specification is asserted that this rules is the same as CSS rules b...
Is there a way of combining border-top,border-right,border-left,border-bottom in CSS like a super shorthand style.
eg:
border: (1px solid #ff0) (2px dashed #f0F) (3px dotted #F00) (5px solid #09f);
...
I am trying to show custom text on the image using dompdf
<div class="image" style="font-size:25px">
<img alt="" src="image-url.jpg" />
<div class="name" style="margin-top: -575px; margin-right: 0; margin-bottom: 0; margin-left: 235px; position: absolute;">
<font face="High Tower Text"><em><?php print $some-value; ?></em></font>...
I have a div thats about 200px x 40px. Sometimes this block will contain a single line of text and other times it will contain two lines. In the case that it contains 2 lines of text, I have adjusted the line height so that it looks balanced inside of the div. However, in the case that there is a single line of text, the text lines up w...
Hello,
I am trying to use custom fonts in the css file, the code seems to be correct, but the fonts do not display correctly
@font-face {
font-family: K 10;
font-style: normal;
font-weight: normal;
src: url(Kcustom.eot);
}
Thanks
Jean
...
Hi there,
I have a simple but annoying problem. I need to set min-height AND max-height of a div element.
For example min-height could be 100px and max-height 200px. I load my page with div height 200px. If i squeeze my browser window, this div resizes and when it hits height=100px it stops resizing.
Of course min-height and max-heigh...
I had a list <li> where the content inside li should get bold when it is clicked. For that i used the following code
HTML
<ul class="tabs">
<li><a href="#tab1" style="padding-left:5px;">All Sectors</a></li>
<li><a href="#tab2">Information Technology</a></li>
<li><a href="#tab3">Manufacturing</a></li>
<...
What is the best-practice for those examples?
1)
<style type="text/css">
.block .title {color:red}
.anotherBlock .title {color:blue}
</style>
...
<div class="block">
<h3 class="title">SomeTitle</h3>
</div>
<div class="anotherBlock">
<h3 class="title">anotherTitle</h3>
</div>
...
2)
<style type="text/css">
.blockTitle {colo...
i am trying to develop a widget using inline css. Inline css contains the link to the images for example {background:url(../img/transparent.png);}
I have copied the folder to the relative folder to it but its not working. Any help please. I am using magento version 1.4+.
...
My footer is designed to stay at the bottom of the page even if the div above it only has a small amount of content. It worked until recently, and I seem to have broken it somehow.
Can you take a look?
Thanks in advance.
CSS:
body {
margin: 0;
padding: 0;
height: 100%;
font: 100% Helvetica, sans-serif, Arial, sans-ser...
Hi I have the following code
<input type="submit" name="btnCheckOut" value="Buy >>" id="btnCheckOut" />
I don't have direct access to the source code, but I would like to add a image "money.png" in front of the "Buy" text.
How would one do this with Jquery?
...
Hi,
"What is the most difficult problem you faced in web designing (javascript or css related) and how did you debug and solved it?"
This is the question asked to me in an interview. According to my experience I answered it but interviewer expected some more advanced answer from me. Could you pls share with me the problems which you fa...
How to set padding-left to my custom textbox in css? Thanks.
...
Hi,
I'm getting some sort of padding below an img tag in my webpage. The html looks like:
<li>
<div>Title</div>
<img src='...' width='60px' height='60px' />
</li>
Yeah so there is about 5 pixels of padding beneath the image (I can tell because the bg color of the parent li item is different). I tried assigning a class to the img ...
Here's the source of a blank .acsx file I created called LogOnBox.
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LogOnBox.ascx.cs" Inherits="ECommerce.Views.Shared.LogOnBox" %>
I want to drag some labels, and textboxes etc and give them style using a CSS file. How can I associate a CSS to an acsx file?
...
Hi All,
my following css code does not work in msie.
#block a {
border-right: 2px none #eee;
border-bottom: 2px none #eee;
}
#block a:hover {
border-right: 2px solid #eee;
border-bottom: 2px solid #eee;
}
In msie, only the right border will be displayed correctly. The bottom border is totally invisible. Other browsers w...
Hi,
I am building an email marketing application, and in that I want to provide a functionality for the user to view his html mails in different mail clients. How can I create this? Please help.
...
Hy my problem is like this :
1. I am loading an external page via shadowbox this page that I am loading is php
2. The page that is loading does not have any css or images
This is my head:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content...