I have an tag surrounding an image. I have a border set on the div that the tag is in. I have both margin and padding set to 0 but for some reason my tag is still about 3 pixels taller than my image. This leaves a bit of space between the image and the border, which destroys the look that I want to accomplish.
What am I doing wrong? ...
I'm using Jquery ui on my university's website but they are using Serena Collage with prebuilt templates with their own styles.
The widget im using works in firefox but not ie7, which is kind of buggy.
The mater template's css is obviously the culprit.
How do I !important the Jquery UI css file or easily !important a whole style.
...
Hello,
I have quite an interesting situation. I have a table with two columns. In The left one, I have a lot of text, it is HUGE. In the right column, I have a marquee with a very long list, longer still than the content in the left column, but, for it is a marquee, the height is quite little. Is it possible to set the marquees height t...
Hello, I have a problem with Firefox I have a drop down menu at the top of my website this is the code for the CSS
#zone-bar {
background:#E5E5E5;
min-height:30px;
z-index:10;
padding:5px 10px 0;
}
#zone-bar ul li {
float:left;
height:18px;
margin-right:10px;
position:relative;
z-index:10;
padding:5px 5px 0;
}
#zone-bar ul li:hover {
ba...
I am trying to have tooltip for my personal website http://www.stacked.in. when I move the mouse on the link, I want to have tooltip displayed. Tooltip display content is already available inside the html page as a div element, but it is hidden. I want the tool-tip to be displayed only when I move the mouse over the link. I use jquery an...
<object id="page" type="text/html"
data="index_test.html"
width="565" height="500">
<p>Oops! That didn't work...</p>
</object>
This is what I have and works in Firefox, but IE7 has scrollbars. How do I get rid of them?
...
I'm trying to create an image object or canvas object that will resize based on the window dimensions, but keep the aspect ratio. Is this possible?
I know that with canvas, you can maintain bicubic scaling, but is it possible to have the image scale on the window resize while maintaining the aspect ratio?
...
My code for creating the data table looks like this:
myDataTable = new YAHOO.widget.ScrollingDataTable(
"containerDiv",
myColumnDefs,
myDataSource,
{height:"100px",width:"100%"}
);
That code produces a table that looks something like this...
is there anyway to override z-index inheritance from parent elements when using absolute position. I want 2222 div to be on top of 0000 div
<div style="background-color:green; z-index:10; position:relative">OOOO</div>
<div style="background-color:yellow; z-index:5; position:relative">1111<div style="position:absolute; background-color:...
i need some advice. i have an html page that i need precise control over when printing. using @media and @page and css styles etc i have given it all the attributes for printing i want, but the margin is really still governed by the browser (let's not debate the relative benefits here of browser control, suffice it to say i need it to pr...
I'm having a hard time trying to find a rotator to fit my needs since I cant seem to make one...
I want to automatically fade rotate a entire div, any help with this?
...
This problem is best described with an example.
I have the following ClientBundle in my GWT app:
interface Resources extends ClientBundle {
public static final Resources INSTANCE = GWT.create(Resources.class);
@Source("defines.css")
Defines defines();
@Source("appStyle.css")
@CssResource.NotStrict
Style style(...
I have this extremely basic jQuery UI Modal Dialog that I wrote for testing here. Unless I am missing something I cannot figure out why their is that grey strip across the middle of the page. I am trying to manipulate the modal background color and opacity as well as seen in the CSS markup.
...
I'm using @font-face to display League Gothic on a website, but it's not showing up on Android 1.6. Here's my code, generated with Font Squirrel's @font-face generator
@font-face {
font-family: 'LeagueGothicRegular';
src: url('/fonts/League_Gothic-webfont.eot');
src: local('☺'), url('/fonts/League_Gothic-webfont.woff') format('woff'), u...
I use a DockLayoutPanel to split my screen in a left navigation column and a center area. My problem is that the app skinning requires that a selected tab in the navigation column "overwrite" a 1 pixel wide column of the central area. Is there a way to setup my DockLayoutPanel to do this?
...
I want to create a fixed layout that displays some images. for example, a "table" of 3 images in a row and 3 images in a column.
Also i need that every li conatins some fixed width and height and the image centered and alignet to top.
So i've thinked in something like this:
<ul>
<li><img /></li>
<li><img /></li>
<li><img /></li>
</ul>
...
I am using an unordered list as a vertical menu with sliding door CSS buttons. The longer items need to use a taller button to stay within the button size. I can make the left side of the taller button to show up by setting span class = tall but the right side is still showing the shorter button.
I am a newbie and have no idea how to ...
is my datatable not show because of css code?
<html>
<head>
<title>OQC INSPECTION REPORT</title>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<link href="js/demo_table.css" rel="stylesheet" type="text/css" media="all">
<script type="text/javascript" language="javascript" src="js/jquery-1.4.min...
This is in my reset script:
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, t...
Hello!
Is there a way (using javascript/jQuery) to do following:
On my page, I have one input type=text. This input has a background-image on its right side.
<input id="my-input" type="text" value="foobar" style="background-image:url(path/to/my/image.gif); background-position:right center; background-repeat:no-repeat; height:17px; widt...