css

Pipe Chars in HTML Classes

I couldn't find anything in the W3C docs that said pipe chars, |, aren't allowed, for instance: <div class="class1|class2"> Don't worry about what I might be using it for. I was just wondering if it's "legal". ...

CSS: Weird extra border in IE8

I'm having a weird problems with one of my Arabic sites. See that gray rectangle with the red heading in the homepage? right underneath it shows up a horizontal gray border in IE8 that I just couldn't get rid of unless I remove the border under the black headings below, which I don't want to do. There's even an extra space between tho...

Hr Tag in IE - remove border

In other browsers except IE7 and lower the hr displays a border around the hr tag which I don't want it to. <!--[if lte IE 7]> <style type="text/css"> hr { margin: -3px 0 0 0; padding: 0; height: 19px; border: none; outline: none; background: url("img/split.png") center no-repeat; } </style> <![endif]--> I've t...

Website not working properly on IE (One more IE hack needed)

http://shikebali.co.cc Its working fine on Firefox but started to act weirdly on IE as it used to work fine. Anyone here to help finding what went wrong ?? ...

CSS: Size of buttons in Chrome is different than Firefox

I have the following HTML code: <style type="text/css"> .submitbutton{margin-left:-2px;padding:1px} </style> ... <form> ... <input class=submitbutton type=submit value="Create Listings" /> </form> In Firefox, the input button has more padding than in Chrome. Any ideas why? UPDATE: If you're wondering why I have the negative margi...

Wrap text around a right-aligned icon?

Hi, Is it possible to make a small box (which will be a row element in a list for me) with an icon in the upper right corner, and text wrapped around it? Something like: ------------------------------------------------- | Some text here which may wrap around [icon] | | if it were to get too long, but then fit well | | around the icon...

How do i create these borders in the middle?

Hello, I know how to generate rounded corners using images. But please have a look at the link :- http://roundedbox.andreas-kalt.de/ The rounded corners on all four corners are all images, but my question is how are those borders in the middle done? Those green color borders that surround the whole div. The tutorial is given but it i...

How to implement 2 rows and width to fit in the column in web development?

<td style="width:230px;overflow:hidden;"> <?php echo $something; ?> </td> What I'm doing is to cut $something to 2 rows at most,and add ... when necessary, but this kind of requirement seems clue less when trying to implement, Solutions within the scope of php/javascript/css are appreciated! anyone has ideas? ...

Help with css selector for jquery

I have this wordpress blog that has many pages with subpages that dropdown on hover.... the thing is, I dont want the pages that you hover to link to anything unless they dont have any ul with many anchors inside so just the subpages will have a href different than "#" So basically Im hacking my way through this with some simple javascri...

How to customize the printing while using Window.print ?

i want to print a invoice and i use a print.css by media=print and when i change the current stylesheet to print.css i could able to view what i should be printing without the titles and content left aligned. But still while i'm printing there is space in the top and left and its taking up whole a4 sheet and also the whole width of the ...

Unselectable text - Cross browser solution

Is there any equivalent for -moz-user-select / -webkit-user-select for IE6 ? I would like the text on my page not to be selectable in all major browsers. What is the best solution for that ? ...

Vertical Align Issue

I have following styles which work greate but Vertical-Align:middle or bottom doesn't work in it. every thing inside goes top ofthe div .Progress { display: inline-block; z-index: 1000; width:auto; height: auto; background-color: #A9C646; vertical-align: bottom; text-align: center; text-align: -moz-center; !text-align: center; posit...

how can i find CSS of a site

hello friends how can i download all CSS used in a site, for example im interested to www.MSN.ca and i want to know about style-sheets yous in MSN ! thanks ...

Just when I thought my site was working right, it screws up in IE7

I thought I'd done quite well, my site passed XHTML1.0 strict validation and worked flawlessly in IE6 as well as looking fine in IE8 & Chrome. I glibly thought that it it worked in IE6 & 8, IE7 was bound to be OK. But on checking I see one of my has a scrollbar in IE7, the seems about 200% as wide as it should be... the content is fine...

How to add two CSS Class to control in the code behind ?

I am setting 2 css class in the code behind in ASP.NET I could either do: txtBox.Attributes.Add("class", "myClass1"); txtBox.Attributes.Add("class", "myClass2"); it's always apply one Class .. How can i add thw two classes ? ...

jQuery Lightbox Clone is not initialising properly

Help...? Hey, I have the following function on an onClick call: function addComment() { jQuery.noConflict(); jQuery('head').append('<link rel="stylesheet" media="screen" type="text/css" href="colorbox/colorbox-images.css" />'); //this doesn't add correctly. jQuery.fn.colorbox({inline:false, href:'boxes/add-co...

Background image css opera issue

Am having an issue in opera. I have a series on hyperlinnks in a ul li with backgorund images applied. The pointer cursor isnt displaying when I hover over the links. Is this a know bug, code below /cricket" title="Cricket" id="cricket-link" style="background-image:url(/wp-content/themes/blank2L/images/sidebar-cricket-bg.jpg);" onmouse...

changing the color of scroll bar?

Hi In a div I gave overflow auto to have a scroll bar to display the content that exceeds the limit My scroll bar appears in blue color that doesn't suit my layout how can i change the color div#navigation{background:#efe9b9; overflow:auto} This is the css i am using ... I want brown colored scrll bar How to get it ...

jQuery noob: change Display of one element when another is enabled.

I made an attempt at changing the CSS of an element display: block; when another div is enabled.. Here is a jsFiddle example. What am I doing wrong? Website example: click FILTER MENY and select one of the filters. When the div "DU SØKER" is enabled, Filter Meny should stay open, when Du Søker is not enanbled (remove your filter choi...

Drupal 6: defining js and css for particular pages.

Hi friends, I'm a drupal newbie... When I define css and js at filename.info file, it takes effects for all pages. I have some particular css-js files for some particular pages, and I don't wanna slow site down by importing all these files for the pages actually no need these files. How can I define js and css for particular pages? A...