css

Newbie CSS/HTML: How to add ad in a div container to the side of the page?

Hello, i got an centered website with a fixed width. Now i want to add an ad banner of fix width/height to the right side of the page. There is a wrapper div of width 700px. But i can't get my banner on my side. I dont know why. Can someone help me please with my css id? i got: <div class="wrapper"> <div class="head"></div> <div ...

Simple jquery popup

I'd like to make a very simple jquery box come up saying "Sorry, that blog post could not be found." I don't want anything very advanced... How should I go about this? ...

sIFR font sizing problems

I'm trying to render a font using sifr to about 160px in size, but it seems to stop expanding anything larger than half of what i require. i've tried setting the font-size in the sifr-config and css. but to no avail it still won't get any larger. Any ideas? My example page is here: http://oonagi.org/sifr/ ...

Fixed - Liquid - Fixed Layout

I'd like to have a [Fixed][Liquid][Fixed] cross-browser compatible layout. HTML: body div#col-1 div#col-2 div#col-3 CSS: #col-1 { width:150px; float:left; } #col-2 { width:100%; padding:0 150x; } #col-3 { positon:absolute: right:0; width:150px; } Would this work/better way ...

css validation error moz binding?

Hi I'm a photoshop designer. I have some knowledge of css? Does anyone know what this validation error means? Am I missing something in the css? 38 marquee Property -moz-binding doesn’t exist : none URI : http://etcetc.co.uk /css/page.css 1085 input.postcode Lexical error at line 1081, column 2. Encountered: ”” (0), after : ”” } #si...

Rendering differences between Firefox 3.0 and 3.5

Hi all, I'm working on a large site and starting on browser compatibility next week. Just had a glance in some different browsers to have so idea of whats ahead of me and i noticed differences in FF3.5 vs FF3. The site has been built in FF3.5/IE8. So I'm wondering if there are know issues between the two FF versions? A quick google sea...

IE8 CSS Absolute Positioning Random Bug

I'm encountering a frustrating but seemingly random rendering bug in IE8. I have some absolutely positioned elements on the page (positioned in relation to the page body), the displaying of which are toggled by jQuery. 8 times out of 10 the elements are rendered correctly, but sometimes the positioning is not obeyed and they are simply ...

CSS and images on Master Page

Hello, I have this quite popular problem, but have failed to find a solution that works. Basicly, I am using a Master Page (/Masterpages/Default.master), that includes <link href="../css/style.css" rel="stylesheet" type="text/css /> And it also includes some images with the same relative linking. But when I apply the Master Page to ...

How to give height and width to div dynamically?

What is the best possible way using jQuery to give height and width to parent div of an Image. <div><img src="source.jpg" width="%width" height="%height" /></div> Please note that , there are more than one tags like this. 3-4 images and DIVS. thanks in advances. jQuery solution will be preferred. ...

how to wrap html tag around image tag?

I want to convert below html image tag <img src="img-1.jpg" width="290" height="420" class="frameImage" /> to following code using jquery. <table class="frame" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="border-top" colspan="3"></td> </tr> <tr> <td class="border-left"></td> <td><div class="image-fra...

using percentages for css text - how do i stop inheritance of font-size from parent

i have something like this <body> <h2> Blue <span> <a ....>add to combo</a> </span> </h2> </body> and css #body {font-size: 100%} h2{font-size: 200%} a{font-size: 80%} now ive been reading up and realise that the link a wont be 80% of 100% but rather 80% of 200% of 100% because percentages are taken fro...

CSS problem in IFRAME

I want to open a modalpopup in frame.I pasted here my frame's htlm code and css style and This code works well with IE 7.0 but not with IE 6.0.In IE 6.0 i see scrollbars in my panel.What can cause this problem?How can i solve it? I open frame in my main page by these width and height. <cc1:modalpopupextender ID="mdlDelete" runat="serv...

Why css hacks not patched by agent developers?

Second line of the following is not recognisable by IE6/Windows #header {margin-bottom:3em} html>body #header {margin-bottom:1em} I can understand that child selector is a feature not implemented by IE6. But IE/Mac will not recognize following. /* Hide from IE-Mac \*/ #header {margin-bottom:3em} #footer {margin-top:1.5em} /* End hid...

lots of text within pre tag is causing a page break

I have a pre tag within my page that contains quite a bit of text. When I preview this page in the browser it looks fine. But when I go to print it, everything within the pre tag is printed on a new page. It is like the pre tag is causing a page break. I am using css to word wrap the text of the pre tag. Below is a sample. If you pre...

Javascript event css background image loaded

Is there any way to detect that a css background image has been loaded? By using normal tags this would be easy but I need to use a css background because I'm placing divs over the image. The reason why I need to detect that this image has been loaded is that I don't want to start preload additional images before the background image is...

Interactive Javascript Bar

Hi all, I'm looking for a way to create an interactive bullet graph, which will allow the user to click anywhere in the graph and set a marker, then calculate some simple values based on where this marker is at. For example, I'd like it to look similar to this: http://www.usrecordings.com/test-lab/bullet-graph.htm Yet, allow the user...

jQuery adding and removing classes on Anchor

I can't figure out why I cant remove a class from a then add a new one. I can change its css using .css(...) but using .removeClass and .addClass dont seem to work. I am using add and remove class on some spans and that works just fine. Anyone know what i am doing wrong? Thanks so much! the html <ul id="menu"> <li><span>&nbsp;</spa...

JQuery Lightbox 2 Plugin problem

I'm working on a gallery, which use jQuery Lighbox 2 (plugin page). I have the problem, that the navigation entries are also visible, when an image is selected (see example here). For the navigation i'm using css menu. Can someone tell me, how to make the enties invisible, when an image was selected? ...

Jquery animation: Making PNG Transparency fixed DIV animate opacity?

Page in question: http://www.chrishanel.com/CMS The following works in IE7, but doesn't in IE8: HTML: <div id="shell"> <div id="quote"> <!--[if IE]> <div id="quoteie8" style="align:center;position:relative;opacity:1.00;text-align:center;height:144px;width:337px;margin:auto;filter:progid:DXImageTransform.Microsof...

Flex External Stylesheet Conventions

I know that there are questions regarding this same topic, but for HTML. What are some good conventions in regards to using external stylesheets in a Flex app.? How would you break up the stylesheets (names of stylesheets and what they include)? ...