css

What is the best way to edit those 1 pixel background images?

Hi all, I got my colleague's web page together with and the css files and many images. I need to apply part of it to my jsp page. I have to admit that I didn't have any experience in handling css. Currently I am using GIMP2 to edit those 1-pixel-width background images. It's really the pain in the neck. I have to guess the proper image s...

CSS Overflow property not working in iPad

I am designing some html pages for iPad. While trying out css overflow property like yscroll, auto. The scroll bar is not appearing in iPad and also the content not getting scroll. I tried in ipad simulator as well as in device. Is there any other way to achieve this property. Please help me out. Thanks in advance ...

BLACKBERRY SIMULATOR

Which Blackberry Simulator Works fine with every model of Blackberry for web development.? My Question is basically If I do make a webpage(Using HTML and CSS 2.1) for Blackberry Bold 9000 , will my webpage work fine on any blackberry model. If NO , what can i do for it? NOTE: I dont want to test my application on each simualtor. ...

Firefox adds an extra pixel on top of a text field, how to remove it?

I want to create a search bar like one in this page http://dl.dropbox.com/u/333492/search/form.html If you load that page with chrome, opera or safari, the search bar looks like it should (tested on mac). However, if you use firefox (tested at least with ff 3.5 and 3.6 on mac), you'll see that one extra pixel gets added on top of the te...

CSS auto-grow page height based on text

I have a pure CSS layout with a simple container that houses my text. The container has a min-height attribute. The page content is generated from the database. The problem is as the page grows the text overflows the container that it is in. How do I get around this? ...

Select top level list items only with Cufom, Jquery

The below JS is selecting all of the list items, i need to select only the top level list item anchors. HTML and Cufon below: <script type="text/javascript"> Cufon.replace('#navigation ul#nav li a', { textShadow: '#dedede -1px -1px', hover: { color: '#2a668f' } }); </script> <ul> <li><a></a></li> <li><a></...

CSS Hover using jQuery to fade

I have a simple link that changes when the user hovers, so something along these lines: a.mylink { background: url(..) top left no-repeat; width: 100px; height: 100px; } a.mylink:hover, a.mylink.jqHover { background: url(..) top left no-repeat; color: red; } Changed my mind about what I want to happen, basically I wan...

how do I get my html Div to resize in sync with other elements.

So I am making a web page, and when I zoom in or out on any web browser on the webpage, everything shrinks in the same proportion, which is fine. However, when i start to use a DIV that i position absoluteness, i do not get the same effect. When zooming out, the div does not stay in proportion with the other elements on the page. How can...

Expanding scrollable HTML table with fixed position content below it

I wish to reimplement a GUI element (previously Tk) in HTML + CSS + Javascript, but achieving the same layout behaviour is eluding me (new to CSS). The goal is to have a page consisting mostly of a table, with a text entry box below it, at the bottom of the view. When the window is resized, the rightmost column of the table should expand...

Internet Explorer inline border bug

I have a list and each list element is inline. I add border to the li a elements, but every row except the first row, it cut out the border and padding. It works in every browser, except Internet explorer 7. Do you have any solution? <div class="container"> <ul> <li> <a class="temakor" href="*" >??</a>&nbsp;x 12</li> <...

How to make a div appear all over the site?

Hi, im trying to make a 50% opacity div appear all over the site, i gave it position absolute and width, height of 100%. but its still appears only parts of the site, if you scroll down, its not wrapping the rest of the site. what can i do? thanks! ...

change width of input field depending on browser?

Hi i have an input field and i want it to be 2 different sizes in internet explorer and firfox if possible, the code i have right now is: div.search input#query { width: 450px; height: 24px; font-size: 16px; } so i want somthing like this: div.search input#query { if internet explorer { width: 450px;} else { width: 350px;}...

django css path

hello, i want to include a css file into the header of my documents, but i have a few questions: 1.Where should i set the path to media, and it should be a relative/absolute path? In settings.py, i 've tried setting MEDIA_URL but my style is still 'unseen' 2.how can i make the htmls to inheric that syle (for not adding the href in every ...

What's the most efficient way to hide content for a mobile version of a site?

I'm working on a mobile version of a large site. There's a lot of content from the full site that's not needed for mobile. What is the best way to hide this? i.e. What will cause the least amount of work for the browser, so it stays responsive? CSS display:none jQuery's .remove() method, for example (not tested): var elements_to_rem...

How do I include the css file in a XMLtransformation?

I'm creating an html file based on xml and xsl with XslCompiledTransform in c#.net. This works perfectly. But the xsl also has a css file included, and I'm wondering if there is any way to get this css styles included in the output html file, so it can be showed as a standalone file (so I don't have to copy the css file to wherever i wa...

CSS check box alignment

I'm struggling to get the checkboxes and labels aligned like the textfield and labels. The actual HTML is dynamically generated by a web framework (Struts2) so I can't change it. This example has the checkboxes "out by one". Can someone tell me what I'm missing. enter code here<html><head> <style type="text/css"> html,body { height...

Is there a way to control opacity/transparency of the border color using CSS?

Is there a way to control opacity/transparency of the border color using CSS? ...

django css file not recognised - wrong configuration?

in my app, i want to use a css file, but the tempalte doesn't 'know' where the file is, though i've configured it as in tutorials: in the urls.py (the urls file in the root of the site, not belonging to an app) (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_DOC_ROOT}), in the tem...

100% Css-layout with header and footer

I'm trying to create a layout with a header and footer (both of which have a fixed heights) and a content-div between them that is fills the remaining space. Within the content-div I want to have divs with heights that are based on percent values (with the content-div's heihgt as parent). I can't figure out how to do this? Here is an il...

CSS Newbie Check Box Alignment

I'm struggling to get the checkboxes and labels aligned like the textfield and labels in the code below. The HTML form, input and label tags are dynamically generated by a web framework (Struts2) so I can't change it - specifically the checkbox tags and their labels comes as one chunk. This example has the checkboxes "out by one". Can so...