css

CSS question

I have the following code: what i want is using css put the "MYIMAGE" on the most right side. <div style="cursor: pointer;" onclick="javascript:SelectContact('17');" onmouseover="javascript:this.className='onfocus';" onmouseout="javascript:this.className='tempClass';" id="contact_17" class="tempClass"> <input type="chec...

How can I get an absolutely-positioned div to extend outside its relativley-positioned parent, which has overflow: auto?

I have a relatively -positioned div, which has overflow: auto set. Inside that, I have a div which acts as a sort of drop-down menu. I want the drop-down div to extend outside of the parent when it needs to, but it is being cropped, since the parent has overflow: auto. I realize that this is the correct behavior, but I am not sure how...

removing space between vertical divs

i have three vertical aligned divs on top of each other. the top and bottom are just showing an image on top and bottom of the player .hence coordination becomes like this <div> <img>top</img> <div> <div> <div></div> <div></div> <div></div> </div> <div> <img>bottom</img> </div> now there is white line/space between the middle ...

Scrollable Table using jQuery

Is there any good and light jQuery plugin out there make Scrollable Tables. I got one at http://www.webtoolkit.info/scrollable-html-table-plugin-for-jquery.html but that won't working non-IE and non-FF browsers. Thanks! ...

Set border to table tr, works in everything except IE 6 & 7

I set the border for the table event_calendar tr to be red, it works in everything except IE 6 & 7. What is wrong with my CSS? table#event_calendar tr { border:1px solid red; } <div class="content-body"> <table id="event_calendar"> <tr class="calendarHeader"> <th><div class="calendarMonthLinks"><a href="http://webdev.herki...

Using CSS to affect div style inside iframe

Is it possible to change styles of a div that resides inside an iframe on the page using CSS only? ...

resources for learning CSS... when you know the rest of the stack

Duplicate http://stackoverflow.com/questions/2084/can-you-recommend-a-good-css-online-resource-or-book http://stackoverflow.com/questions/132587/the-best-css-tutorial-site-blog-book http://stackoverflow.com/questions/199486/what-is-the-best-book-on-css I've got a gaping hole in my quest to be a more complete web programmer, and...

What is a practical maximum length for HTML id?

The HTML spec says ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). And even though the SGML declaration of HTML 4 uses the value 65536 for NAMELEN, it notes "Avoid fixed limits." But surely browsers, ...

Is it possible to have a web browser scroll to show CSS fixed position items that are outside the viewport of the web browser?

I am trying to create a CSS layout where the page looks like it's in the middle of the forest. There is a left and right div with the background trees, some header divs that show the top of the page with various wildlife, and some footer divs that show the bottom with more wildlife that matches up with the left and right div background ...

ie7 bottom scrollbar hell

hi, on this site http://redlineautoleasing.com/beta/ what could be causing the bottom scrollbar? i cant figure it out. i tried this http://blog.josh420.com/archives/2007/11/fixing-the-ie-overflow-vertical-scrollbar-bug.aspx but the page kind of got messed up the bottom content got chopped off. ...

dropdown menu looks weird in ie7

hi, i have a dropdown menu that isnt working in ie7 but works in other browsers http://redlineautoleasing.com/beta/ its using jquery but i cant figure out how to fix it , any clues? thanks ...

How to align content of a div to the bottom with css?

Say I have a page: <body> <div id="header"> <h1>some title</h1> some header content </div> <div id="content"> Some content </div> </body> and the corresponding css #header { height: 150px; } The header section is of fixed height but the content of that section may change. I would like to content of the header to be...

GWT StackPanel Selected

I cannot seem to set the CSS of the selected stack panel without having it get overwritten by the unselected CSS. If I leave the unselected alone, the selected stack panel will correctly overwrite, but if I define my own, it will not. Is this a bug, or some "working as intended" thing? Here I set my CSS: .gwt-StackPanel .gwt-StackPan...

Best way to implement "Post Card Sized" Web Pages

If I wanted to create a web page with content about the size of a post card, how would I go about positioning it on the screen? Horizontally isn't an issue (margins auto); however, centering it vertically is a an issue. What's the best way of centering the container vertically? Javascript? Should I even be trying to center it verti...

What are some ASP.NET GridView performance improvement opportunities?

I have an ASP.NET application that is fairly basic. It queries some data and displays the data in a GridView (0 - 2000 or so records possible). I've been trying to find some ways to make it zippier, best practices, etc. as it seems to be a little sluggish while the GridView is being rendered. I've seen some threads on utilizing CSS vs...

JQuery Horizontal Accordion CSS

I'm trying to build a simple multi-level UL Horizontal Accordion (or slide menu) in Jquery. Hunter Daley graciously provided the Jquery code, but I can't seem to figure out the css. I know this is newb, but I'm really stuck. When Ul li Ul slides out it creates a linebreak, I'd like to have everything display inline, with no breaks. I...

Can I proxy a select field with HTML and javascript?

Since <select> elements don't style in a predictable way, I was thinking about setting up a javascript/html proxy element to manipulate a hidden <asp:dropdownlist> field. The code that populates the select is beyond my control, but I don't want to render the actual field. Does anyone have any experience or pointers with something like t...

How do I prevent an image from overflowing a rounded corner box with CSS3?

If I use this code, the image isn't clipped by the div's rounded corners (resulting in the image's square corners covering up the div's rounded ones): <div style="border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; overflow:hidden;"> <img src="big-image.jpg" /> </div> Does anyone know how to get a rounded cord...

Progress bar in HTML/CSS

dd { /*position: relative; /* IE is dumb */ display: block; float: left; width: 500px; height: 16px; margin: 0 0 2px; background: url("white3.gif"); } dd div.blue { /*position: relative; */ background: url("blue.gif"); height: 16px; width: 75%; text-align:...

How bad is it to put a CSS include in the middle of the body?

Well this question came after this one The reasons are pretty much the same, to keep the stuff cleaner, how bad is it to call (being sure the css doesn't collide with overwriting tags) To put < link rel="stylesheet" type="text/css" href="mycss.css"> in the middle of the body? (if it works) So that in some cases I could have specific ...