css

LESS CSS Support for Eclipse PDT?

Hey Guys, does anyone knows a plugin for eclipse which adds LESS CSS support? It doen't need to have any functionality from LESS integrated to eclipse. I only need syntax lightning and a "add less file" option. Any help is appreciated,thanks in advance. Nico ...

css - How to make the view window grows while the user zooms in?

Hello all, I am testing the following script with FireFox 3.6.8. The problem with the following script is that when the user zooms in, the browser view doesn't grow at all. Ideally, I expect to see a growing view with horizontal bar on the bottom of the browser. I am sure that I miss some key CSS rules here. Anyone can help? <!DOCTYPE...

CSS Vertical Align: Browser Quirks

On this question about how to make vertical align with css, Sam's comments leads to this page: http://www.jakpsatweb.cz/css/priklady/vertical-align-final-solution-en.html The solution on the page uses display table css property, which is said not to work on ie6 and 7 by Browser quirks encyclopedia. However, i6 renderer shows it correctl...

help needed with quick IE7 CSS z-index problem...

I'm stuck on an ie7 css curiousity... try typing something in the search box (on ie7) ont eh below page, the z-index doesn't seem to be working like it does for other pop-up type elements on the same page. http://bit.ly/cPzgom I usually try to avoid instance-specific questions like this but it's got me really frustrated! thanks! ...

How to get better at CSS, laying out designs and UI Programming?

Hi all, I am pretty familiar with CSS and have used quite a bit of javascript and jquery also little experience of layout designing and working closely with Photoshop. But, somehow I don't feel as confident as when programming with database or C# side and face lot of problems when I am working with designing UI and laying out elements t...

How many external style-sheets are required for cross browser compatibility?

I have just started web development after a few years. Mostly in the past I would specify a style-sheet dedicated to IE6. Now, Chrome and Safari seem to be rendering elements better, over FireFox. What is standard procedure for external style-sheets these days? IE6 (STILL?) - IE8? FF even? It would be greatly appreciated if anyone has...

iTextSharp not converting aspx( html )to pdf

Hi, I want to convert one of my asp.net reports to pdf as it is. However, I thought iTextSharp would be the ideal solution but it is not converting the report properly. My conversion code is as follows Public Function DotNetConvert() Dim strFileName As String = HttpContext.Current.Server.MapPath("map1.pdf") ' strFileName ...

IE 6 issues of png image in background

Hi, I am having issue with png image on IE6 and tried to search every where but no success. I am using this css code for displaying png image .Is there any problem. Please let me now. .bottom-box { width: 210px; float: left; margin:5px; position:relative; padding: 5px; text-align:left; height: 150px; min...

CSS - Center Footer Content

Hi guys, I need to center my footers content and I can not make it works. I am centering my page using: #wrap {width: 960px;margin: 0 auto;} I have used float:left; float:right; in my header and content. So, I try to center my footers content making use of: #footer {height:0 auto;min-width:960px;float:left;} div.inner_footer {heigh...

trying to vertically align div inside div

hello, i am trying to vertically align a div inside another div at the bottom and i do not want to use relative/absolute positioning. below is my markup. it seems to work. but i am not sure whether this is the best solution. can anyone recommend a better way? also, in FF if i remove the border around the container, it stops working. doe...

Blurred text in Iphone 4 browser when loading content dynamically

I am using the Jquery/Jqtouch libraries for an iphone compatible site. I am now stuck with a problem just in iPhone 4 (not in 2g, 3g or 3gs) where the text becomes blurry on one specific scenario. Below is how it happens The site has one common div container. The container is filled with content dynamically based on the user action....

CSS Multiple ID with Same Name Work Around?

First I realize ID's should be unique. But right now I can't do much about that. I have a javascript plug-in that is generating ID names and for one page it works great. The issue is in creating another page, it will start over using the same naming convention. For example: Page 1 <ul id="1"> Page 2 <ul id="1"> So if I am tryi...

Is there a better alternative to using css reset?

I've been trying to build a web site and I was using a CSS Reset Stylesheet to aid in cross-browser compatability. However, now that I am looking at the results in Firebug, it looks like all CSS Resets do is spend a lot of wasted time traversing up the DOM. For instance, a simple line of code like: <div><span><p>...</p></span></div> W...

IE Background issue

Please check out the slideshow at the top of www.ysa.org/frontpage on IE (preferably 8 or lower) and compare to Chrome/Firefox. In IE 8 (which is what I'm testing on), the background of the slideshow area is white while in Chrome/Firefox it is normal. How do I fix this? Let me know if you don't see what I'm talking about and I'll just p...

Syncing column width of between tables in two different frames, etc...

For reasons which are somewhat unavoidable (lots of legacy code, compatibility, design needs) I have the following problem: I have two tables, one directly below the other, but split between two frames (see the pseudo-example below my sig.). I need the column widths of these tables to synchronize exactly so that these two tables 'act...

Is there a css or html attribute to center the contents of an input tag?

This is probably best explained with a visual. As shown below, I have two <input> elements for the user to enter dates. Is there a CSS or HTML attribute that will allow me to center the contents (in my case, the dates) horizontally in the displayed input areas instead of left-aligning them? Note: I am not trying to align the control...

How to center a textarea using CSS?

Forgive me for asking such a simple question, I'm new to both HTML and CSS. Is there an easy way to center a textarea? I figured I'd just try using textarea{ margin-left: auto; margin-right: auto; } but it (obviously?) didn't work. Help would be much appreciated :-) ...

Is it possible to include a folder of css files?

I have about 100 stylesheets that apply the same style to one document, exactly like the zen css page, and I can list these files 1 by 1 in head but they are all in the same folder so it seems like there is an easier way. And that is...? I'm using this with ruby, but I would rather just list a folder. <% Highlight.all.each do |hl| %> ...

CSS child vs descendent selector

Somewhere I read that using the child selector (>) in css is faster than the descendant selector ( ). For example: 'p > em' as opposed to 'p em'. [I'll look for the reference]. It seems to me that the majority of code I see in the wild does not take advantage of this. I understand that certain circumstances would merit the use of one...

What is the recommended strategy for input box hint text (such as "Search" overlayed on a search box)?

Many pages have a search box to them which will typically have the overlayed text "Search" which disappears when one focuses the element and reappears when focus is lost. I'm curious to know what people recommend as the best strategy for this. The strategy I've employed is to use the focus/blur events of the input element and test the c...