css

CSS form[action] not working with Query Strings

Hi all having a few problems with my CSS I am trying to highlight a link on the navigation based on the page the user is on. I have this style which works as I would like it to do, but when I pass a query-string into pcisHPprofile.aspx the CSS is not working. Does anyone know how i can get this style to work with query-strings? body ...

Can Someone suggest me good books for jQuery and CSS

Possible Duplicate: jQuery book recommendation need to improve my skills set.. can u suggest books or articles to improve my skill set ...

Push bottom aligned background image below text.

I know this is a bit strange and believe me it's not the way I would have done it but I was given this project and now I have to live with it. I have a table that is sortable on my page (created with DisplayTag libraries) and to indicate which column is being sorted a background image is assigned to the column header. The problem I'm h...

How do I add two :before elements?

I try to make web site with minimal HTML markup for presentation. Having the following HTML tag: <div class="title">I'm a title!</div> I need to add two elements before it using CSS, 1 for background and 1 for shadow. Something like: .title { display: block; position: relative; } .title:before { display: block; backgr...

Why does absolute positionining within <button> works differently from <div>

I expect following code to put my span to the top-left corner of the button, but it doesn't. Why is that? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" > <head> <style type='text/css'> </style> </head> ...

CSS/JS floating div with auto-centering, auto-sizing, and auto-scrollbars?

I am using jqModal to create modal popups using absolutely positioned ["floating"] divs. These popups often contain interactive forms with dynamic content that is shown/hidden based on user input. I would like these popup divs to dynamically resize themselves to accommodate changes to their content: if elements are shown, then the popup ...

Rollover without image change

Hi all! I have a small thumbnail image that I wish to change when the mouse rolls over it. I was wondering if there was a way to do this without swapping images on the rollover. For example, through CSS could I have the opacity change on rollover? If you have any other ideas about how to manipulate the image with CSS on rollover for ...

jquery overlay loading bar div

So I have a table of data, and I'm getting data back using ajax. When data is being retrieved, the data from the table disappears and a small little loading circle appears. I'd prefer for the data to stay (I know how to do that) and for the loading circle to appear over the table in the center of it (not necessarily vertically, just at l...

optimizing a web design for the iPhone

OK, I'm having some issues with my site's mobile stylesheet on the iphone. I reworked the stylesheet to be similar to what http://m.facebook.com give the browser, only I'm getting an issue where the Safari on iPhone browser is still zooming the page out from like 960px, instead of constraining it to the native screen resolution. What giv...

list-style in ie7 not functioning

I have a simple setup like so.. ul { list-style: none; } #navigation ul li a { padding: 0px 15px 0px 15px; line-height: 32px; float: left; color: #dedede; font-weight: bold; } And then a list. <div id="navigation"> <ul> <li><a href="#">etc</a></li> <li><a href="#">etc</a></li> <li><a href...

image display problem in IE 7

hi, I have a page like http://ratingscorner.com/mobiles if u see the left hand side there is a + image displayed. it does not appear in IE 7. i tried all possible things ..but could not solve it. so seeking help here.. any help on this. ...

jQuery: how do I position an image?

I have this: function startLoad(object_id) { $j('div#'+object_id).addClass('currently-loading'); var con = $j('div#overlay'); var img = $j('div#loadimg'); var tab = $j('table.app'); con.height(tab.height() - 30); con.width(tab.width()); con.css('display', 'block'); img.css('margin-left', (con.width() / 2 - 36) + 'px'); img.css('margin-...

how can Printing a Web Page in Asp.Net without Header and Footer - ASP.NET

how can Printing a Web Page in Asp.Net without Header and Footer ...

IE7 problem with drop down menu

Hello all, I have built a dropdown menu on a site that works perfectly in IE8 and the usual Firefox, chrome and safari. However in IE7, the menu seems to sit behind the page when i use it? Has anyone come across something like this before? Thanks for reading. ...

Make a DIV fill an entire table cell

I've seen this question and googled a bit, but nothing so far has worked. I figure it's 2010 now (those questions/answers are old and, well, unanswered) and we have CSS3! Is there any way to get a div to fill an entire table cell's width and height using CSS? I don't know what the width and/or height of the cell will be ahead of time, a...

drop down menu over a flash file

Hi. I am using a drop down menu, with all its code written in .js file. I have a flash on my website. The drop down menu shows more content when you hover on top of any category, but this additional content is hiding behind the flash file, the flash file is over lapping the drop down menu content. how can i fix this? ...

Proper alignment for my page title

Hey all, I'm sure this is a stupid easy question, but with HTML I can never decide the best way to get a desired result... I just really wasn't cut out for web coding. Anyway... I have a page that I need to display a title with two links on either side of it and I need the title to be centered and use a different font/style than the li...

Force Visual Studio 2010 to Place CSS in File Not Inline?

By default VS 2010 likes to put CSS in-line, I'm wondering if there is a way to force it to put the CSS into a css file instead? ...

jQuery Slider question

Hello, I'm trying to do something that I dont know how to do, but I know can be done. There are 2 divs, they both expand the full width of the browser window, they are both 450px in height. So basically 1 block on top of the other. I want to put a div in between these two, that gets revealed from hovering over something in the top Div(bu...

CSS liquid code

#top{ background:url(images/stites-template-r4_05.png) no-repeat center top; height:61px; width:100%; height:61px;} if i will zoom in on the browser this div will be just on the center and i wanted to function correctly by zooming in this div and the background image will be on the whole div. ...