css

Where's the best place to find good web designers?

My company is starting a large scale web application, and I'd like to hire a designer to help with some of the pages (to create our general template, look/feel, and control set). Where is the best place to find a designer with some knowledge of usability? Would we be best looking on elance.com (or similar sites), or is there a better a...

Are CSS based menus simply toggling display none/block and z-index?

Hi, Just trying to understand how to get drop down menus to work (the theory behind them). From what I have seen, it is just playing around with CSS using display:none and block along with the z-index. Events are attached on mouseover and mouseout to switch the CSS class. Is that basically it? ...

Help me choose a CSS framework: 960 vs Blueprint vs ???

I've been looking at different CSS frameworks. The two major players seem to be 960.gs and Blueprint. My question is simple: what are the pros and cons to each, and which do you recommend? And are there other frameworks that I should consider instead? Putting my question into context, I'm the designer on a site that's similar to StackO...

Position element in the middle of the screen after scrolling

my page is 2x the height of the screen (size varies depending on other item on the page). i want to show an absolutely positioned SPAN in the middle of the screen regardless of scroll position. i apply the following style on button click, however if i scroll all the way down, the element shows up at the very top of the page since it cou...

DIV stretch to height 100% in a table cell

I have following layout: 4 rounded corners background and two panels (left panel and right panel) inside it. Currently I implement the layout as follows: Table with 9 cells: top left corner | | top right corner |left div right div| bottom left corner | | bottom right corner C...

How can I use css 'ids' in combination with server controls in ASP.NET?

Hi, My designer created a stylesheet that makes heavy uses of id's. Example: <div id="globalheader"> <ul id="globalnav">.... css: #globalheader { width: 715px; height: 100px; margin: 18px auto; position: absolute; top: 0; left: 20; z-index: 9998; } #globalheader #globalnav { margin: 0; padding: 0; } #globalheader #globalnav li { dis...

How to set the max amount of items to show in an HTML select box

Hi everyone, I have a <select> box with some year numbers in them, ranging 50 years back, and currently when I click on the box the options will reach to the very bottom of the screen, is there any way to set the max amount of options a select box should show before resorting to a scroll bar to show the rest? I could not find anything a...

Html Bugs in Opera

In versions of opera greater than 9.0, I have found a bug that fails to render a large portion of my text. This happens with links, span and strong tags. As well as this, it throws a strange error with sup tags. Here is the link to the live site: http://clients.bionic-comms.co.uk/licensingawards/microsite/enter.html Below is the code (t...

I need 2 different heights applied to 2 different fieldset tags

What I am using in CSS is form fieldset { height : 300px; } but I have <fieldset><legend>ONE</legend></fieldset> <fieldset><legend>TWO</legend></fieldset> The problem is both field sets are being applied the same height. Is there a way to apply different heights to different fieldsets from CSS. I am not looking for inline sty...

Padding or margin value in pixels as integer using jQuery

jQuery has height() en width() functions that returns the height or width in pixels as integer... How can I get a padding or margin value of an element in pixels and as integer using jQuery? My first idea was to do the following: var padding = parseInt(jQuery("myId").css("padding-top")); But if padding is given in ems for example, ...

What are your tips for best practice for web application structure?

I do a lot of custom applications at work. I'm trying to define some standards for new applications. Something a little like Elements. CSS: How do you organize the style sheets? Should I have one base style sheet for the whole site and one for each individual page for customizations? Should I have another for print styles? I've hea...

Put UL right corner where DIV left corner begins

I have DIV, and UL inside it, with position: absolute. By default left is 0px. I need to move UL to the left on the 100% of UL width. UL right corner would be where DIV left corner begins. ...

CSS Question

I have this <p> <cite>One</cite><cite>Two</cite> </p> is there a way in css to say that the first cite is going to be bold and the second italics, without editing the above code? ...

Forms - Can they be done without tables?

I've gotten used to using <table>s for aligning my form fields perfectly. This is how I commonly write my forms: <table border="0"> <tr> <td><label for="f_name">First name:</label></td> <td><input type='text' id='f_name' name='f_name' /></td> <td class='error'><?=form_error('f_name');?></td> </tr> </table> I know ...

CSS: Cascade just one level

Say i have a <table> with a css class defined (<table class="x">) and i want to change the 'color' property of just the first level of <td>, is this possible using css without setting classes on the relevant <td>? I.e. <table class="x"><tr><td> xxxx <table><tr><td>yyy</td><tr></table> </td></tr><table> I only want the xxxx to ch...

CSS more short query

For example I have a CSS selector: #spotlightPlayer .container .commands.over span, #spotlightPlayer .container .commands.over ul, #spotlightPlayer .container .commands.over ul li { clear:both } Is there a way to write like, (#spotlightPlayer .container .commands.over) span, ul, ul li { clear:both } ...

Triggering haslayout in IE 6, what's the side effect of using * html div { height: 1%; }

For a while, I've been putting * html div { zoom: 1; } in my base stylesheet, and it has worked great. However, I now run into situations where there're elements that are absolute positioned that are losing their heights and widths in IE 6 cuz of this. So I'm thinking of putting * html div { height: 1%; } instead, but what are the side e...

how to get rid of double-scrollbars on internal frame of GWT app

As part of porting a legacy application to GWT, we need to embed our existing JSPs inside of our GWT app. Many of these pages are quite long, resulting in a double scrollbar- one for window of the main app, and a second one for the content of the frame. I'd like to get rid of the internal scrollbar, and just have the normal browser scr...

Parsing an HTML file with selectorgadget.com

How can I use beautiful soup and selectorgadget to scrape a website. For example I have a website - (a newegg product) and I would like my script to return all of the specifications of that product (click on SPECIFICATIONS) by this I mean - Intel, Desktop, ......, 2.4GHz, 1066Mhz, ...... , 3 years limited. After using selectorgadget I ...

How to have elements with different background-colors yet the background-image shows everywhere (aka, a watermark)?

I want to create an html page with a watermark. I set the background-image on the body. However I have some elements that are not allowing the background image to bleed through. They define their own background-color (but not background-image), overriding the color in the body. This surprised me. They didn't override the image, just...