css

CSS superscript registration trademark

I would like all "®" on a site to be in superscript. Can I do that with CSS? ...

a href not picking up styling

Hi, I think I am being particularly stupid. I have a link, which is part of a nav bar. It picks up the hover/visited style but for some reason i cannot fathom it won't use the 'link' style, what am I doing wrong? Here is the style sheet and tags: <table border="1" cellpadding="0" cellspacing="0" style="width:950px;height:37px;"> ...

Transparent PNG as Background Image

Hello, I have an element with a transparent png as its background image - it's like a polaroid with the photo bit cut out so just the frame is showing. With this as the background I then want a standard image to sit behind the element that has the transparent png background - to fit inside the frame. i've tried setting z-indexing and ...

.net templates which page am I on?

Hi, I'm curious to know that using .net 2.0 with a master page if there is a way that I can pick up what page I am on so that i can use it to style a tab? My master page has a nav bar on it, and what I wan to do is: If the user is, say on the contact page, that the tab for the contact page would be a different color, can this be achie...

Images on Hover

I have an issue best shown by example: http://dont.net/DesigningIntro/index.html Here the last "Car Exterior" is opened fully, but not properly opens as like other small bars. It gets hidden while hovering on other links. I want it to be shown, and not get hidden even if I hover on other tabs. Any suggestions? ...

Floats and Margin Collapse

Hi, so I'm having a hard time understanding the circumstances under which a float can have margins collapse through it and how that affects the position of the float. I've included a page that seems to show two different behaviors in the same page. The red float seems to be positioned before the margins that collapsed through it, where...

problem with floating divs in CSS

Hello, I am trying to put 2 columns into a website, I've got that to work fine but for whatever reason, the rest of the page doesn't change size to suit the content in the left column. Here is how it looks: www.kelownafoodspecials.com/indexsides.php. Pretty stuck so any advice would be greatly appreciated. Thanks, K ...

How do I implement simulated frames in ASP.NET MVC?

How do I implement a simulated frameset in ASP.NET MVC without running afoul of browser differences? If possible, I would like a header and two vertical panes. The header will be pinned to the top of the browser. The left pane will contain an index of some sort, and the right frame will contain content. Each of these panes can have i...

Different CSS file for Different Browsers

Hi all, I want to use different css file for different browser type. Is there any sinmple HTML code which can detect different types of browsers and include different css files ?? ...

Define style of Div tag

I want to define the style of Div based on a CSS file. The CSS code I have written is: .body { text-align: center; padding: 1px; margin: 1px; color: black; background-color:lightgrey; } I want the background of each Div section to be light-grey. What's wrong with the above code? Edited: This is my HTML code. I ch...

Set input box color settings in CSS file

I want to set the background color of Input Box to Cyan when it gets focus and to White when it looses focus. I want to define this in a CSS file. While writing the CSS code, I searched for the OnFocus and OnBlue events, but didn't find. Please let me know how to define these properties within this code block: input.entryFormColor { } ...

Simple html page renders differently in Firefox and IE. How to fix it?

Below is the code of a Form that I am creating. The CSS code that it links to, has also been added after this code. The problem is that it renders differently in Firefox and IE. How to stabilize it? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <meta http-equiv="Cont...

change the position of jQuery UI Datepicker

Hi all, I am using the jQuery UI Datepicker. However a vertical CSS scrollbar overflow-y:scroll causes a bug for Firefox, Opera and Safari. This bug can easily be reproduced by copying the sample code of jqueryUI and adding 2 lines css declarations: body { overflow:scroll } #datepicker{ position:absolute; right:1px } A demo can b...

single css for different browsers

hi all, I want to use a single css file for different types of browsers.. can anyone give me a guide line on how to develop it ?? Am new to programming....Pls help... ...

JQuery validation plugin - error highlight problem

I have a form with two input textboxes, and I have included jQuery validation rules for both: <script src="../../Scripts/jquery-validate/jquery.validate.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#respondForm').validate({ onclick: false, onkeyup: false, onfo...

Browser issue - textbox width

How do I make the text box width look uniform across all browsers? Please help me, ...

How important is spriting for performance on a high traffic website?

Some high traffic sites seem to have almost crazy sprited images with almost everything in one big image. How much of a difference will this make for high traffic sites vs the difficulty in maintenance long term? I know this may be a bit of a 'how long is a piece of string' question but I am interested to understand any experience of...

Nasty IE6 <ul> <li> stair bug

In that page, the submenu if fine in firefox, but as usual, the nasty explorer is interpreting that differently.... how do you troubleshoot css bug in IE6 what is the css bud there ? here is the page Sorry to ask, I have found the PERFECT SOLUTION... here is the link here is the text : Here is the remedy: ul#menu li { disp...

Center <ul> <li> into div

After some search, I did not find a proper way to center a list of <li> into a fixed width div... any solution there ? -- take a look at the page.. dont work ! ...

sIFR dynamically changing the color of text onhover of parent element

Hi dudes, dudessessess, I'm using sIFR to style headings and want to dynamically change the color of text (within the flash movie) onhover of parent element. How would one do this? Any examples? I have never seen it done. <ul class="tab"> <li id="tab2"> <a href="#two"> <span class="organisation sIFR-replaced" s...