css

CSS to PDF, using THEAD for repeating header on new page

Hey everyone, I have CSS and HTML that I will be converting into PDF. I want to specify a header on each page that, in the PDF, will repeat on each new page. I know that I can use THEAD to specify the header, however, is there a free html-to-pdf converter that will respect the THEAD tag? If not, are there any alternatives? Thanks... ...

How do I mirror text in Firefox?

How do I mirror text just like iTunes in Firefox? Is there JavaScript that can do this or is it possible with CSS? I'm looking for a true mirror image that I can then manipulate not backwards text. ...

Good resources for cross browser ASP.NET website development

Does anyone know of any good resources for learning about cross-browser development in ASP.NET? Specifically, what causes a page to look different in FF/Chrome/IE, what are the gotchas when developing, how can this issue be addressed in a new project etc. ...

How to make a div size automatically, but keep it from breaking at the window's edge?

I have a pure CSS rollover menu that displays a sub nav on rollover. I would like the width of this sub nav to be whatever it needs to be for the content to display (i.e. I do not want to hard code a width in the CSS). However, if I don't hard code a width in the CSS, the div breaks near the edge of the window and the content wraps. If I...

How to create overlapping header/content like Facebook's

What is the correct way to create a solid color header that the content can partially overlap with CSS? Facebook has the exact look that I am going for (notice the picture overlapping the blue header): Here are my ideas, but I don't know if they pose problems: Put the picture/overlapping content in the header section and absolute po...

Common mistakes for CSS-designers to avoid?

What are some of the most common mistakes made by CSS-Designers? ...

Disable select form field but still send the value.

I have a select form field that I want to mark as "readonly", as in the user cannot modify the value, but the value is still submitted with the form. Using the disabled attribute prevents the user from changing the value, but does not submit the value with the form. The readonly attribute is only available for input and textarea fields...

To Tableless or not to tableless: Html expanding box with custom corners

Hi, i'm running into problems using DIV's to style a contentbox for my website. It basically looks like this: container +--------------------------+ |+--+------------------+--+| ||c1| r1 |c2|| |+--+------------------+--+| || | | || || | | || ||r4| content |r2|| || ...

Is there a way to use use text as the background with CSS?

I would like to use dynamic text as background of certain elements in my tag. Because of this, I can use images (dynamic text). How do I do it with just CSS or JavaScript? ...

Tabular display of divs using css

EDIT: I have clarified why I do not really want tables. I have the following html: <div id="heading"> <span class="name">name</span> <span class="age">age</span> </div> <div class="person"> <span class="name">Sam</span> <span class="age">1</span> <span class="description">This is a person description</span> </div> ...

css image div help

I have the css code below along with an image to show it's output. I need help though 2 things. This code works pretty good to show the username on the photo, however I noticed today while using chrome all day often when I would click a link that would take me to the page that has images with this code, it would not show the name on t...

css properties difference between firefox 3.1 and 3.5 how to fixe this?

I have a web page using css and it's run ok in firefox 3.5 but not in firefox 3.1 and chrome. Anyone have an ideal for this problem, please show me the way to fix this. Is there any way to hack css in firefox 3.1 and firefox 3.5 ...

horizontal Ul navigation not consistent across broswers on zoom-out

I'm experimenting with a horizontal navigation menu by adding a second line (brief description of link) of text inside span tags, which are inside each li anchor. It behaves as I expect in firefox & IE8, but not in chrome. In chrome,when I zoom out (ctrl -) the far right li drops down below in the ul, increasing the presented ul height...

radio button align style properties

i m working with a form and putted some radio buttons followed by some textareas in a table.... the problem is the radio button is appearing towards the botttom of textarea.... and i want to position them towards the top of textarea <table align='center' valign='top' border='1'><tr><th align='center' > qno)1</th></tr><tr><td><textarea ...

Why is http://www.shlomifish.org/ Displayed Wrong in MSIE 8?

Hi all! I maintain a personal web-site at http://www.shlomifish.org/ . It is displayed fine in Firefox 3.5, Opera 9.x, Konqueror 4.3 and Internet Explorer (MSIE) 7. However, with MSIE 8 ( 8.0.6001.18702 ) it is displayed completely wrong: there's a large whitespace at the top and I cannot see the left navigation menu. The page valida...

CSS How to set div height 100% minus nPx

I have a wrapper div which contans 2 divs next to each other. Above this container I have a div that contains my header. The wrapper div must be 100% minus the height of the header. The header is about 60 px. This is fixed. So my question is: how do I set the height my wrapper div to be 100% minus the 60 px? <div id="header"></div> <div...

WordPress side panel

I have been trying to get the WordPress menu inline and below my side navigation but FireBug is not helping and I cant see where I am going wrong! The doe for the side nav is blow but if you go to http://bradburyembroidery.com/houses4cash/blog/ you will see how it moves out of line! <?php /** * @package WordPress * @...

Margin left- px

Can I use any tag that will allow me to place a line <hr /> on a specific left margin size ...

Browsers not updating code changes?

While working on HTML I and testing offline, you know changing the code and refreshing the browser, nothing is happening anymore. Both Firefox and Safari seem to not care about refreshing to reflect the changes. But Opera does... Even if I upload the new file to the server and refresh in FF it is not showing the new code styles, I have ...

Position fixed and Internet Explorer

Hi, this is my css. It is working fine in firefox but not working in IE. #Createinner { position: fixed; width: 400px; height: 280px; margin-left: -200px; margin-top: -140px; top: 50%; left: 50%; background-color: #ccc; } How to solve this. Thanks in advance ...