I have an image as the background for an input field. I can set the line-height and font-size easily but when you click inside the input, the cursor line is way outside the background image.
Is there a CSS statement (Is that you call them?) that controls this?
...
Hi
I've tried various things but the boxes on the right have a spacing issue in IE6.
Seen here http://dev.missionmedia.net/justkidsmaryland/
Anyone have an idea whats causing that?
thnx
jonah
...
So firefox doesn't want to load my fonts, the path is right I also so the request in Firebug, but it won't render it. On other browser it works perfect, here is my code:
@font-face {
font-family: 'Gill Sans';
src: url('/fonts/gillsansstd-webfont.eot');
src: local('☺'), url('/fonts/gillsansstd-webfont.woff') format('woff'), url('/fonts/g...
Hi! I'm trying to, of course, build something in HTML.
However, I am running into some serious issues with positioning!
I'm trying to get elements in the website to be centered, but I cannot do that without sacrificing (somehow) controls such as z-index, and width on those elements -- In some cases, vice versa.
Theoretically, I should...
Before I begin, I read this very useful question which lays out what's the pros and cons of using <img>'s and background-images. When to use IMG vs CSS
After reading that, however I've been thinking about what's the most efficient & semantic way of displaying an icon. The other question contended that if there's semantic meaning to it s...
Make something like in html/css
...
I have an img element set next to a div. I have tried a couple of different approaches to remove the linebreak that is occurring between the two but have not had any success. Any input would be greatly appreciated!
CSS
#newsMainBody
{
margin-right: auto;
margin-left: auto;
background:#61bc49;
width: 750px;
height: 900px;
font-family:"s...
is there a way to get a webkit animation to run indefinitely?
...
I have an art gallery full of thumbnails. I wanted to add a customized horizontal scrollbar so that users could scroll through a single row of thumbnails. There are different amounts of thumbnails in each gallery. I tried using CSS property "width:-moz-max-content;" however this only works in Firefox and not IE6,7,8, Chrome or Safari.
H...
I am really stuck with this problem. Page I'm working on is here
the 'something' text is part of the "main" content. I want something to start from right below the logo...but I can't seem to do this!
Basically I want content to be the upper half and then have main at the bottom.
I'm not very good at CSS/HTML.
...
inside my css, i put
.someClass {
width: literal("expression(this.width > 40 ? 40: true)");
}
is this correct syntax ? i tried ,but no result output when i debug
with firebug on firefox. i try to make max-width working in ie6
...
I have a table inside a div 1.
Then after that div 1 added another div 2 with position:relative; top:-250; so that div 2 layer will be right on top of the table.
But now below the table there is a big space before anything on the page can resume displaying (I guess the second div 2 would have normally been without the -250 position ch...
I have a table inside a div 1.
Then after that div 1 added another div 2 with position:relative; top:-250; so that div 2 layer will be right on top of the table. But now below the table there is a big space before anything on the page can resume displaying (I guess the second div 2 would have normally been without the -250 position cha...
I have a nav div with following properties:
#nav {
width: 960px;
margin-left: auto;
margin-right: auto;
}
but when I put in a navigation bar in it ..it is not stretching for the whole width of 960px
link: here
...
What I know:
Rails has the cycle() method that enables odd/even rows in a table to have different CSS classes. We can pass multiple classes to the cycle() method and that works great.
I wanted rows which are grouped in three's; so, I used this:
...some html-table code...
<tr class="<%= cycle("table_row_1","table_row_2","table_row_3","...
Hi,
I'm trying to use the jQuery "Cycle" plugin (http://jquery.malsup.com/cycle/) to rotate testimonials located within <span>s ... however the plugin is causing my content to not be centered. Yesterday morning someone here pointed out the <span> elements are being absolutely positioned by the plugin: $slides.css({position: 'absolute', ...
Hi all,
Just trying to get the (.portfoliocategs) category menu on this site to have a different colour highlight for each li.
[link to website in below comment]
As you can see at the moment they're all blue. I would like to be able to specify either a class or colour for each category li listed.
Any ideas on how this could be don...
Here's what I got:
<div class="slideshow">
<span style="font-size:12px; color:#333333; font-family:Lucida Grande,Lucida Sans Unicode,Calibri,Arial,sans-serif;">Lorum ipsum delore sit amet. Lorum ipsum delore sit amet. Lorum ipsum delore sit amet. Lorum ipsum delore sit amet. Lorum ipsum delore sit amet. Lorum ipsum delore sit amet. ...
how can i set line spacing with CSS, like we can set line spacing in MS Word
...
i am trying to create a sub navigation which is followed by seperator line (div with a bottom border) which acts as a visual cue.
but the line is appearing below the menu items. not sure how to get it right
http://jsbin.com/ijewi4
...