I'm working on a web app in ASP (although as far as I can tell this is purely a rendering issue).
We have a page, where the body has a min-width set, but the content is pretty close to the width anyway.
The page contains a "popup", which is an absolutely-positioned div. The div has top, left and right offsets of 100px. It also has a mi...
I want the east and west divs to extend down to match the height of the center div... possible?
Thanks so much.
.con{
padding-left: 22px;
padding-right: 22px;
overflow: hidden;
}
.col{
position: relative;
float: left;
}
.west{
width: 7px;
right: 22px;
margin-left: -100%;
background: url(http://www.example.com/west.png) repeat-y;
pad...
I have a table, with many tds. I want to display a div behind this to give the appearance of it having rounded corners. I have called the Div within a th. Here is a jsFiddle example of the problem.
I thought I could do it using position: realtive; and z-index: -100; yet it doesn't seem to be what I want.
Thanks to anyone for any help....
I'm building a custom web chat application, and while I have the basics worked out, I've been wondering if this was possible... right now, the chat comes in at the top of the div, and when it reaches the bottom, the div starts scrolling. This works. This is great. But I was wondering if it was possible to create it more like an IRC clien...
i have an issue with the theme i am developing for my blog (example), where below a video, there is a "extra" space/padding to its border
basically, i have a
<div class="media"> ... embeded stuff ... </div>
.media { border: 5px solid #CCC }
something like that
...
I've got a problem with IE 8 CSS.
* {
margin: 0;
padding: 0; }
img, fieldset { border:none; }
body {
font-family: Arial, Helvetica, sans-serif;
}
In the page:
<body style="background:#FFFFFF url(../public/img/s5_fa_bot_bg.png) no-repeat bottom center">
The png image is displaying correctly in Firefox and Saf...
When I load content with AJAX, is this content supposed to automatically use the preloaded main page css style ?
For example, if I load a <span class="smallText">hello</span> with AJAX.
Is this new HTML using the default.css file with
.smallText {
font-size:6px;
}
?
...
Hi,
I've made a library in flex with different components and my CSS I want to use in different projects (the goal of a library....).
BUT even if I can use my components, I can't use my CSS file which is in the library.
When I try <mx:Style source="assets/style.css" />, it wasn't found :(
So, how I should do to have a CSS file in my li...
assetlibpro is referencing in the css to ../../css/../img/x.jpg
However, I want it to be referencing to ../img/x.jpg
I believe that there should be some basic config setting that I am missing but cannot seem to find it
Any help?
...
I'm creating a web app that user will be accessing in the field, so they'd like to be able to manually toggle the styles from light to dark depending on the ambient lighting. I'm using jQuery.
I added an id attribute to my stylesheet, then created a button using the toggle() event, in which I change the href attribute to the CSS file I ...
Hi All,
I m Trying to apply a class to following submit button
Code:
<input type="submit" value="Submit" name="commit" class="confirm-button-submit ">
css :
.confirm-button-submit
{
width : 79px;
font : bold 12px sans-serif;;
color : #000;
background : url("../images/confirm-btn.png") 0 -33px no-repeat;
...
On the iPhone, safari strips out scrollbars on divs that have overflow set to auto or scroll, but still lets the user scroll with the two-finger swipe gesture.
Using an HTC Incredible, we see the scrollbars are again missing, but we cannot figure out any gesture that allows the user to scroll. Is there a special directive we need to ad...
So I've been moving a lot of stuff into a webservice because it makes the whole thing make more sense to me personally. Also makes AJAX easier for me.
Right now the user will say they want to save a new contact somewhere then, through the webservice, they are added to a database and that call returns the new primary key so that I can c...
I have an img that I would like to be able to click on and have my
.image_click:active {
-webkit-transition-duration: 500ms;
-webkit-transform: scale(1.5);
}
stay scaled! I realize that css alone can't do this, as I achieve the transition when I click, but lose it when I release the mouse button. Is Javascript the solution for thi...
Hello, i was wondering if anybody knew of a tutorial or guide on how the child/parent work in css in terms of positioning ?. I'm trying to position a div element 50 px away from another element of the same kind but i can't get it to work.
//Thx in advance.
...
Is there any good tutorials to convert HTML+ CSS to Wordpress? not PSD 2 HTML? I mean if
HTML CSS is available we just need to convert a XHTML CSS template to installable Wordpress 3.0 Theme? I'm not talking about PSD 2 HTML.
For example this is free CSS template http://www.freecsstemplates.org/preview/regeneracy/ I just want to downloa...
When I place an image followed by text in a table cell, the vertical alignment of the text shifts down compared to text in adjacent cells. I tried using a line-height CSS property, but it didn't seem to have an affect.
In the following example, I need "123 Description" to be flush with "cell one." Also, there is a space between the imag...
I need to display two images and some text like so:
------------------------------------------
img1--------some centered text-------img2
------------------------------------------
img1 and img2 are not the same dimensions, but their widths are very close
The text is variable depending on the page in which it is displayed, and may in...
Im using position absolute to give the top left corner of a DIV a rounded corner.
HTML:
<div id="MyDiv">
Some content
<div class="topLeft"> </div>
</div>
CSS:
#MyDiv {
position: relative;
padding: 12px;
background: #fff url('graident.png') repeat-x top left;
}
.topLeft {
position: absolute;
top: 0;
right: 0;
width: 10...
I'm having trouble left aligning a related links div inside a block of text, exactly 250 pixels from the top of a content area, while retaining word wrapping. I attempted to do this with absolute positioning, but the text in the content area doesn't wrap around the content.
I would just fix the related links div in the content, however...