css

Tips for progressive rendering of HTML from locally loaded file?

We're using the customer's default browser to display locally generated HTML files in a preview mode. The files are between 0.5M and 2.5M in size. These files do not progressively render in any of the top 5 Windows browsers (Chrome, FireFox, IE, Opera, and Safari). In other words, when we try to load these files, the browser window displ...

Applying sprite images using AlphaImageLoader

I am trying to use AlphaImageLoader for a PNG image but my image is a sprite image. I am not getting the output of my sprite image when I use AlphaImageLoader in CSS. How can I use AlphaImageLoader for sprites? Can I use it for sprites? ...

Nice vertical top-left menu tutorial

I saw a tutorial on the net about how to create a nice jQuery animated vertical navigation bar. It has a demo page that has a white clean background, this bar on the top left and some handwritten wording in the middle of the page. Please remind me that link. It looks similar to this one:http://nathanborror.com/ ...

Full height and full width CSS layout

Hi, I am looking for a way to create a CSS-only (no JavaScript) layout with 5 regions that looks like this: ┌────────────────────┐ │ H │ ├────┬────────┬──────┤ │ │ │ │ │ │ │ │ │ │ │ │ │ A │ B │ C │ │ │ │ │ │ │ │ ...

How do I receive input to a hidden textbox and submit a form?

Hello all, I have an ASP.NET application designed for a Windows CE device that needs to take in information from a scanned barcode. The device sends the scanned data as string input with a crlf to whatever field has focus. I set up my page with a textbox that takes the input and posts back to look up the item. Now, I'd like that box to...

JavaScript innerHTML causing css to disappear on <button>

I have a button tag with two spans inside; <button><span><span id="buttonText">Save</span></span></button> I'm trying to make it so that when you click the button the text changes so I have; onclick="document.getElementById('buttonText').innerHTML = 'Saving...'; this.style.className" Now funnily enough it works fine in IE8, but te...

[facebook] <fb:request-form> show as not correct size

my <fb:request-form> show incorrect size (width). here is my code: <fb:serverFbml style="width:600px;"> <script type="text/fbml"> <fb:fbml> <fb:request-form action="<?= BASE_URL; ?>/pages/eid/inc/_send_card.php?ctid=<?= $card_type_id; ?>" target="_top" meth...

How to Create a Dropdown menu in Thesis Sidebar?

I have an issue with Thesis Wordpress theme. I want to create a dropdown menu for my categories and archives in the sidebar, not the navigation menu. If anyone knows how or can point me to a website where this is explained I will be grateful. ...

Fixed position sidebar with jQuery

How do I incorporate the following sidebar menu feature using jQuery where the menu on the left re-appears as the user scrolls down the page? Here's an Example Sidebar Menu. Any help or available tutorials online would be much appreciated. ...

footer at the bottom, but clear float dont work

Maybe i did not get enough coffee today, but i can remember how to do that i have header content float float footer so the content have two float element The problem, the footer don't go at the bottom.... it's up... I cannot put the footer INSIDE the content (for background problem) I have made an empty div the is clear:float : ...

How to change text color in Disqus comment textarea?

Hello, I'm using Disqus external comment system with Wordpress (as a WP plugin) and I'm trying to customize it with my custom CSS. Everything works great, but I have problems with replacing the default text color in the form textarea. I tried it with: #dsq-content .dsq-textarea .dsq-textarea-wrapper, #dsq-content .dsq-input-wrapper {...

how to set size of background image fit to the div.

I want to set div background image div(w:932, h:148) and the image size is 1524*587 whan I trying to set it image is not getting fit to the div size what should i do? my code- .header .logo { width:932px; height:148px; background:url(images/logo.jpg) no-repeat center;} ...

CSS styles not applied on dynamic elements in Internet Explorer 7

When we render dynamic elements with Javascript in IE7, the CSS styles are not applied. When we use the Web Developer toolbar to view the page, the dynamic elements do not appear. Pages render fine in Firefox, Chrome, and Safari. Is IE7 unable to apply CSS styles to dynamically created elements? IE8 renders the dynamic elements prope...

HTML, CSS Validity and its Impact Upon SEO

I'm starting to focus on SEO for my site and a number of SEO tools have mentioned that valid CSS and Markup is something that search engines factor into rankings. My site renders the way I want it to in browsers. However, since I'm using -moz-border-radius and -webkit-border-radius quite extensively, I'm getting a lot of errors when I ...

remove attribute display:none; so the item will be visible

The element is : span { position:absolute; float:left; height:80px; width:150px; top:210px; left:320px; background-color:yellow; display:none; //No display border: 3px solid #111; } i use this code to remove the display so it can be visible $(...

two column and header css layout problem

Hi, I'm trying to make my first website and i'm having some trouble with css. i want a two column + header layout that fully occupies the whole website screen space i want the following specification: header 20 % of height screen left column 20% width screen & 80 height screen(the remaining free space) right column 80 width screen & ...

how to center an inline div using css?

Simple question :D How can I center an inline div (not its content) using css? VERY IMPORTANT: the width of the div is unknown (I can not specify it) ...

I'm acquiring a VARCHAR variable through php, and want to show it using HTML/CSS. How do I auto format it so that it isn't one long sentence.

I basically want to automatically add line breaks to a VARCHAR variable I acquire from a mysql database trough PHP, so that it shows right. At the moment when I show it trough HTML, all it does is give me a long sentence. I imagine this can be done with CSS, but overflow: scroll just makes it scroll to the right and left. Use of javascr...

Links disabled in html

I've been working on a revamp of the charity site I'm the webmaster for, heroinitiative.org. It is located here: http://www.heroinitiative.org/revamp/default.html (and no it's not live code, it sits alongside the live site just so I can show progress to my boss, it's not really important to keep it under wraps, which is why I can post it...

Greying out a button from code-behind does not work in IE

Hi, I have two drop down lists on a page. The behavior is as follows: select something in list 1 list 2 is enabled select something in list 2 button is enabled I am doing the above with autopostback enabled on the drop down lists. To toggle the button I use the code below: if (ddlAvailablePrograms.SelectedValue != string.Empty) { ...