css

Prevent floated divs from wrapping to next line

Here is my site, first of all: www.kaiserroof.com/test/index2.html So here is my problem. You'll notice that underneath the divider bar in the middle of the page, there are three columns, one with a form, one with text, one with links. Now, resize the window to slightly smaller, and the right div will drop down to the next line. Is ...

Jquery Galleria Thumbnail not displaying

I had set up Galleria Plugin successfully. But the problem is that the thumbnails for each picture is not generating. My Code is below <div id="galleria"> <img title="Image title" src="images/1.jpg"> <img title="Image title" src="images/2.jpg"> <img title="Image title" src="images/3.jpg"> <img title="Imag...

How to set the custom image at the start based on user click of the Jquery Galleria slideshow

i have set up jquery galleria successfully. But what i want is to set up the first image loaded on the galleria dynamically. i.e., consider there is five links as one,two,three,four,five. when the user clicks the link three, the galleria will appear and display the gallery with THIRD image atfirst plz help. ...

Round corners using custom images

I'm trying to create a box with round corners using images. I know how to use CSS3 but I need to use images as I have some custom made corners with shadow and transparency. The result I need: I have divided the box into several images: I know there is plenty of info about this topic, but I have been working with this for the las...

How do I selectivly print elements on a page

I have a requirement to print only part of a page. I cannot use css(media=print) to do this since I have no clue what the page contains. All the html in the page is dynamically generated. Also is there any limitation on the css properties that are recognized in Print mode. Many of my css properties like background-image are not applied...

How to make sIFR link expand 100%/static width

Hi guys, I have created a normal HTML menu and used sIFR to for the top nav items. At the moment when you hover over the sIFR link text it changes colour as it should. The issue is that I need the text hover colour to stay active when I hover over the button and not just the text which the text link is surrounded by. sIFR seems to calcu...

CSS hover problem on chrome and safari

I have this strange issue with css hover, on chrome and safari (on opera and firefox it works just fine). Here you can find a demo of the problem http://cgi.di.uoa.gr/~grad1054/bug/ In chrome when the mouse is over the html area tag, it somehow misses that is continues to hover over the general div, and so the css rule for the hover is...

CSS for slant diagonal line

Hi Can some CSS expert help guide me to achieve slant line in a box via css. I can't attached the image. I know this can be done but lack of expert knowledge over css I am missing the way to achieve this. I am referring to this example. If you go end of the page (slanthowto.html) there is a image which show only slanted black line... I...

div column layut

Hi Im trying to create the following structure in div's, but I just need some help getting startet with the css. The width needs to be 100% ...

CSS: menu bar shifted to right in Safari

For some reason, my menu bar is shifted to right in Safari: http://www.danydiop.com/danydiop/ In Firefox it is correct. What should I change in the css code ? thanks ...

Why doesn't IE display this requested background image?

Here's an odd rendering difference between IE and other browsers. Internet Explorer 8 Firefox 3.5 Chrome 5 See the difference? That vertical line suddenly stops in IE8. That's because IE8 refuses to display a certain background image. Here's a relevant snippet of CSS code: td#leftbar { background: url(img/leftbar.gif) repe...

Moving divs with javascript

This is my problem, I have a div and inside 2 divs, one is centered and the other one is fixed on the left, the problem is when I resize the screen the centered div overlaps the fixed one, what I wanted to do is detect when the centered div overlaps the other div and change its left value with javascript, but is not working, any ideas? ...

Mixing percent and fixed CSS

This is a duplicate from UI.StackExchange.com: http://ui.stackexchange.com/questions/1004/mixing-percent-and-fixed-css Should you ever apply percentage and fixed CSS together? Will it cause problems, and if so what kinds? Does mixing degrade browser render performance? Will mixing give you weird results on initial load with progress...

Background image and after background color in one div

Hello, Example code: <div class="ex">Bla bla bla bla</div> In the top will be background-image and after when it'll finish display the background-image it'll disply a background-color. Somthing like that: [Image] text [color] more text [color] mor text.. How do I do it with CSS? Thank you. ...

jquery stop() causes hover effects to stop.

Using the code at http://jsfiddle.net/eSbps/ I am having an issue. Basically its a menu system that, when you hover over the top levels, the second levels are shown through slideDown('slow'); however to remove the queuing effect i am using stop(true, false). The issue is that when you hover over it again, the animation will only run t...

Problem right aligning statictextfield controls

So I am adding StaticTextField controls to a page. This is using ExtJS, but we use VB.NET methods to add ExtJS so we don't actually have to write it. I tried using .Style = "text-align:right" But that isn't working, in fact it isn't doing anything. Here is the whole code of one of the controls: With .AddColumns(2) Wi...

HTML Multiple classes on button element

Hi, I got this button: <button type="submit" class="rfrsh-btn submit" name="saveFields" title="Oppdater" value="">&nbsp;</button> I understand that elements can have multiple classes: .rfrsh-btn { background-image:url(../../upload/rfrsh_nb_grey.png); ... } .submit { font-size: 0.85em; padding: 0; } This was work...

CSS/HTML: text on bar/table?

I wish to make something looking like this: http://img291.imageshack.us/img291/5571/bartablestyling.png (Right now i only have that bar at the top) When i try to write text, it gets under the profilepicture. I dont want to use float:left for it. How can i make a table that makes the text like that, and the red arrow i drawed, i w...

HTML5 and frameborder

I have an iframe on an html5 document. when I validate I am getting an error telling me that the attribute on the iframe frameBorder is obsolete and to use CSS instead. I have this attribute frameBorder="0" here because it was the only way I could figure out how to get rid of the border in IE, I tried border:none; in CSS with no luck. I...

Flex 4 - Define a style for html links in CSS

It's been 2 hours that I'm trying to do this, I never thought it would be such a nightmare, and Google isn't helping me at all. Does anybody know how can I define a CSS style for html hyperlinks inside a mx|Label component such as a, a:link, a:hover and a:active ? (I can't use s|Label since it doesn't dispatch link events...) I tried ...