css

magento blocks postion

hi i want to replace a module with another in magento how can i do this (means i want to put Community Poll module to the left ) is there anything like joomla im a newbie in magento so plz be descriptive with your answer ...

Placing DIVs using CSS

Say I have the following DIVs: <div id="top">Page header</div> <div id="main">Main content</div> <div id="sidebar">Sidebar content</div> <div id="bottom">Page footer</div> How can I use CSS to place the sidebar DIV to the right of the main DIV, and set it to, say, 20% of the total width? I'd also like to have some margins between the...

Auto fit width of li to text?

Is there anyway possible to auto fit the width of an <li> tag to the width of the text it contains using CSS? I'm designing a website that uses a custom CMS (and I don't have access to the code), so I'm limited in options as far as design goes. Javascript solutions that would work on an <li> tag without having to edit any of the list ...

XHTML and CSS books

I would like to learn moders XHTML and CSS programming. Does someone has any good book suggestions where to start? I would like to have a book where I can learn those languages completely or as much as possible and I can use them if I get trouble on my web-programming projects. And of course I would like that my sites passes web-standard...

How can map tags be used for two images that overlap?

We have two images with transparent sections that each have a map and separately they work fine. When the images are overlapped using css position relative and absolute only the top map seems to work. Is there some way to make both maps work? Edit: We are only concerned with working in Mozilla and the w3 standard so no IE workarounds ar...

IE onClick will not check a checkbox unless you click the image in the label?

Ok, I have a label, inside this label is a div, which contains an image, and some text. The div has an onClick call to a javascript function, that changes the color of the div inside the label, and also checks the checkbox (for some reason, IE and firefox didn't want to check it correctly, chrome worked fine). Javascript: <script langua...

Div Background Image

Hi All, I am working in Mojo SDK which is used to develop Apps for Palm Pre webOS. I am trying to add an image to the background of the div dynamically and fade it out. I am using the following code to set background of the div dynamically: this.controller.get("imageDiv").backgroundImage = "url(../images/marks/mark-" + this.markNo + "...

check browser css property support

Is it possible in javascript to know if a css property is supported by the client browser? I'm talking about the rotation properties of css3, i want to execute some functions only if the browser supports them. ...

How to check element's visibility via javascript?

Hi I'm interested in a way to check whether an element has display:none style explicility (ie style="display:none"), has a class that has (or inherits) this style, or one of its parents is hidden (and my element inherits this) Case1: <body><div><span style="display:none;">Some hidden text</span></div> or <body><div style="display:n...

How to have an Input submit value on several lines in HTML

Hi, Does anybody know if there is a way to display the text value of an button in HTML on several lines ? I mean, if you lock the width of the button in the associated CSS and you want the text on the button to be on 2 lines for example.. Thanks in advance ! ...

Please help me choose a styling engine for small bits of text

I'm working on a project which will deliver small pieces of text to a display engine that will show them to the user. One of the requirements is rich styling: position, color, font, the works. Each transmission should stand alone, with its own embedded style information. I have already built a web service to deliver the text. How should...

Javascript/CSS Menu to replace contents in a specific area...

Im looking for a script or tutorial that shows how to create a menu similar to the one from a Firefox first run page: http://www.mozilla.com/en-US/firefox/2.0.0.6/firstrun/ When you click a nav menu item on the left, the contents scroll into position in the main content area right of the menu items. Any ideas on this one? ...

Print friendly version, trying to print 2 columns of info

Here is a page I am trying to make print friendly, so it will list everything in two columns view the page here Here is the css for the div each block of information is in #off-campus-print-friendly { font-family:arial; border:1px solid red; overflow:auto; font-size:.8em; line-height:1.5em; padding:10px; } #off-campus-pri...

background-image with tr and th

I have 'tr' with background-image and on 'th' I want to show a image on its right corner to indiect if this column is sorted. I have css style like following: tr.header { background-image: url(../Images/bg.gif); background-repeat: repeat-x; } th.sort { background-repeat: no-repeat; background-position: center right; background-im...

Image over Image CSS

Hi, I am creating a webpage and I am trying to put a png (buttons) over gif files. When the page renders, it makes the png file appear after or under the gif file. I tried using and tags but neither work. I have also tried using various CSS padding, alignments etc. but it doesn't seem to work. Is there a way (code) to get images to a...

Scripts, CSS and more that does not work in IE6+?

Hey everyone, I know there is this post, but I still want to know more and learn from other ppl that have a lot more experience than I do. So I was wondering what CSS-features or Javascript-functions or anything else I am not thinking of right now do not work in IE6+ or have you experience to not work with IE6+? And maybe you have a hac...

HTML/CSS - Paragraphs display line breaks from the source code...

Hello! For some reason my paragraphs are displaying line breaks when there is no <br/> tag being used! So if I type content into the HTML and hit return a few times it gets formatted that way. How can I prevent that? Can I not just get it to flow? ...

How to close the popup in jquery

I created a Popup in jquery. When mail icon is clicked it will open a popup which contains Enter email - label Email -text box Send - Button close - button When another icon called print icon is clicked it will open another popup with confirmation message "Are you sure u want to print" with Yes, No button. When print icon is clicked...

Menu with sublevels on hover using CSS only

Hi, I want to know if it is possible, with pure html and css (no javascript, htc files, ...), to create a menu that has a sort of dropdown effect for subitems. It doesn't have to slide or anything (I know thats impossible), just show on hover. Edit: It has to work in IE. Thanks! ...

Firefox auto-refresh on file change

Does anyone know of an extension for Firefox, or a script or some other mechanism, that can monitor one or more local files. Firefox would auto-refresh or otherwise updated its canvas when it detected a change (of timestamp) in the files(s). For editing CSS, it would be ideal if just the CSS could be reloaded, rather than a full HTML re...