css

How I can overlap a DIV on to other DIV?

I am trying to make an overlapping a DIV onto other visually . I am trying { position:absolute; top:-10px; } in css, but I found that this top attribute is not working properly in firefox. Dear fellas, how to do that? Please help me with some codes or examples. thx in advance ...

HTML and Body are not taking up the entire browser - HTML5 problem?

I have no idea what I'm doing wrong, but for some reason, I'm experiencing a bug with my markup that is causing my body element and my html element to not take up the entire viewport in the browser. I can't get to the bottom of this. It first reared its head when I tried to add a 10px purple border to the top and bottom of my body. If...

Display heading inline with following paragraph

Given the following semantic markup: <h3> SCOPE OF WORK. </h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> I would like to display th...

HTML <p> and <span> questions

Hi, How can I force the following HTML code: <p><span></span></p> .. to use vertical space? if the span has a character, or a space, the vertical space is occupied. Any way to do it with CSS? ...

css/jquery sizing and absolute positioning problem in IE and Chrome when view->zoom != 100%

Hi all, I have a strange problem with absolute positioning and sizing elements to fit around a div. I have some div that's set in position and size on an existing page (it's given to me). I want to adorn it from the left and bottom with two divs, so that they'd "hug" it and create an "L" shape. I need to do this dynamically, as the div ...

canot replace a form to the center of the page

I have a form within the body. And I'm trying to replace the form at the middle/center of the screen. Is there a proper way to do that in CSS? ----------------------- - - - - - - - M - - - - - - - ---...

Is there a better way to do this?

This is the basic idea: http://i51.tinypic.com/1zwcbgn.jpg So I made it like this (notice it is fluid): http://twomuchwork.com/test Is there a better way to do this than the way I did? ...

jQuery validate plugin won't hide error <div> after displaying it

I've searched and read (not just on SO) but can't seem to find a solution for this issue. Basically, what is happening is that the jQuery validate plugin is (according to documentation) supposed to hide the errorContainer that is set in its configuration. Unfortunately, it's not hiding it, it's just removing the contents. Please take a ...

FieldSet element in ASP.net

Hello, I am using FieldSet element in my web application. Now I need to apply style to it so that the border color is blue and the legend is bold in color. How do i do that? Thanks in advance ...

Jquery and radio buttons

So I have some custom radio buttons which I created using js and some css, now I want when I click on a custom radio button, to set the clicked radio button as checked and the order ones as unchecked, so it should be only one checed radio button at the time.Here is what i tried to do, but doesn't work. $('.custom-checkbox li span, ....

Why the gridview layout breaks in IE7?

http://210.22.155.222/group/3431/explore-learncentral You can see it by simply clicking the Members tab. It's fine in Firefox and IE8, each <tr> contains 4 items, but in IE7, the layout is broken,each <tr> with only 2 items. What's wrong in IE7? ...

CSS in IE6 and IE7 not rendering properly

Hello, My problem is the website i maintain displays fine on firefox ,chrome and IE8 but a mess when viewed with IE7 and IE6. I ran out of possible fixes i can come up with and its mostly trial and error. Im thinking of loading a separate stylesheet for IE6 and IE7 but i must solve this first. Here is the page : Search for a keyword ...

What's wrong with jQuery, .css and z-index - i.e. find the error in the following code?

What's wrong with this? $("#tag_square").appendTo('#edit-area img').css({ position: "relative", left: "100px", top: "10px", z-index: "2"}); Everything up to the z-index works perfectly. Once I include the Z-index though, I get an 'uncaught SyntaxError - Unexpected Token' in the Javascript console. What gives? Any ideas on what ...

CSS Arrows on LI

Trying to use the http://www.dinnermint.org/css/creating-triangles-in-css/ method to create an arrow _________________ \ \ \ Lorem \ / / /________________/ using this using only the <div id="sidebar"> <ul> <li>Lorem</li> <li>Aliquam</li> <...

Align some links with CSS

Hi, I'm trying to make a website, but can't quite figure our some of the CSS needed to align my text correctly. I would like to have the three links aligned directly underneath my name one at the end, one in the middle and one at the other end. Here is my HTML followed by my CSS: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict...

Impossible to remove top marging with CSS (Wordpress Theme)

I really tried everything but I still can't remove the top margin of a page (aproxximately 20px). Here is the original page: http://blog.robin.idv.tw/ (If you inspect the #container div you'll see it has space above but no margin nor padding which displays purple or yellow) Here is the modified code: header.php: <!DOCTYPE html PUBLIC...

font-color of disabled input box in IE

how to set the font color of an input box which is disabled (IE only) ...

Have you ever seen such kind of css selectors?

table td+td+td+td+td+td{ display:table-cell; } What does + mean? ...

Full height div inside td

I want to achieve this thing: Height of table row and grey line should be dynamic depend on contents in right column. I've read in http://stackoverflow.com/questions/3542090/how-to-make-div-fill-td-height, so I tried with this http://jsfiddle.net/hyNWy/ But still no luck. Any suggestions? ...

css link setting

when i click on link the link css make change to same css which shows then this link active who to do it please help me i use this a:visited but it make changes to all link ...