css

Problem in Uploaded Webpages on site.

Warning: include(html\download.html) [function.include]: failed to open stream: No such file or directory in /home/jamia/public_html/download.php on line 4 this message is displayed when open any page. it is index page. ...

Formatting issue with IE6 working well with IE 6+

Hi All, I have my site working perfectly in IE 6+ but it looks weird in IE 6 or IE 5.5, as I can't ignore the users with IE6 because still around 6% of traffic occur from this version. I am looking forward to have the alternate. With my some research I came to know that by setting haslayout property, I can solve out formatting issue, b...

Non-Standard fonts in web?

I recently came across a web page using the font “ff-tisa-web-pro-1” (specified in their CSS file). How does that work? I definitely don’t have this font on my computer, yet it was displayed. ...

Switching/Linking to another external stylesheet in a .js file using Ruby on Rails

Im learning JQuery from a Sitepoint Book but Im trying to apply all the lessons to a Rails App. In one lesson, we are taught how to switch to a different stylesheet if the browser window is resized beyond a certain point. Here's the javascript code: if ($('body').width() > 900) { $('<link rel="stylesheet" href="wide.css" type="text/c...

How do I put the table headers above the table cells if they are in the same table row?

I have a table like this: <table> <tr> <th>Header</th> <td>Content</td> </tr> <tr> <th>Header</th> <td>Content</td> </tr> </table> How can I make the header actually float above the content cell without putting everything on a separate row? For instance: Header Content Header Content ...

CSS Sprites Bottom repeating

Can you bottom repeat a sprite background where I want the sprite to be set of the background on the bottom of the div. I have this: .statistics-wrap { margin-top: 10px; background: url(../img/bg-sprite.png) repeat-x 0 -306px bottom; overflow: hidden; border: 1px #BEE4EA solid; border-radius: 5px; -moz-border-rad...

CSS - 100% Height Layout with Variable Height Header

The layout I want to achieve is pretty simple. I want a 100% height layout with a header, and below the header I will have a side bar for navigation and then the content area beside the navigation bar (2-column with header). I can easily do this if I give the header a specified height but I want the header to just take up as much room as...

Is there a way to get border-radius and gradient backgrounds in IE?

I am wondering if there is any work-arounds using javascript or whatever to get IE to show border-radius or gradient background? ...

CSS Sprite vertical repeat problem

Hello all I am trying to include css sprites in my webapp. The thing is I have arranged my website background vertically in sprite image. Now, one portion of the sprite needs to be repeated vertically. I was trying the following code... #page-wrapper { margin: 0px auto; background-image: url(../images/background.png); heig...

how can I get my fixed-width mobile website to always appear "fully zoomed in"?

how can I get my fixed width site to always appear "fully zoomed in" on webkit (iphone and android) browsers? right now, it looks fine on an iPhone and "too small/zoomed out" on an Android phones that have higher resolution. i'm trying this viewport: <meta name="viewport" content="user-scalable=yes, width=device-width, target-density...

CSS background colour not filling screen using 960.gs in webkit browsers

Using 960.gs, I have a page which is a login screen which uses a div for the login form with a background image. This div is displayed below a header which pushes it down to the middle of the browser window. In the CSS I am setting the body colour: body { background-color: #594c34; margin: 0; padding: 0; font-family: "Ar...

What does this CSS do?

input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;} input,textarea,select{*font-size:100%;} This is from the YUI reset css. What does the * before font-size:100% do? ...

how to not inherit? or how to reset inherited width to the value before? (css)

I installed 'Thank you plugin' but the button on my test site but the button looks strange. I found why. Because it inherits #commentform textarea { width: 45%;} from my theme. If I remove the width from css the button looks ok. Any idea how I can fix that? Of course I do not want to remove width for #commentform textarea. Can I do some...

Are there black outlines on this page with IE?

My customer is telling me there are black outlines around the elliptical links on this page http://animactions.ca/volet_entreprise.php when using Internet Explorer. None of my pc's show this and i'm not sure how to fix this. Thanks ...

need help with css selectors

Hey, I have a menu like so: <div class="header"> <ul class="nav"> <li><a class="home" href="four80eastfan_home.php"><img src="Images/home_button.png"></a></li> <li><a class="albums"><img src="Images/albums_button.png"></a> <ul> <li><a class="Album" href="four80eastfan_thealbum.php"><img src="Images/the_al...

What does 14px/26px font size in css do?

I've been inspecting someone elses CSS and I noticed they are doing something I haven't seen before... body {font:14px/26px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif} What does the 14px/26px do? I've tried to google it but nothing seems to come up. ...

CherryPy configuration for CSS file access

The following is the result of CherryPy and css pathing problems I have recently posted, both of which have been answered, but another problem has arisen. I have a html page which I preview in a browser (via. editor/IDE) and which calls a css file from a css folder in parallel with my application folder (containing main.py and My.html f...

HTML/CSS : absolute positioning of elemts wthin <fieldset>

Is "absolute" absolute or not? I am trying to make an input form with nested elements, each containing other elements, but it does not display correctly (according to a screen ruler (and the naked eye)). The HTML is valid, so is this a case of "well, it's absolute, but only relative to it's containing folder" or some such? <!DOCT...

margin: auto plus margin-left: offset? (css)

I have #container {margin: 0 auto;} on my test site Than I added the left vertical menu and on some small screens that menu is not fully visible. Like my old laptop :-) I want to keep the margin: auto setting in place but I want to move the whole #container little bit right. Could it be done some how? #container {margin-left:10px;} does...

Automed CSSSprites -- csssprites.org

If this is a question that shouldn't be on SO, please let me know. Has anyone tried the website: http://csssprites.org/ To autogenerate and use CSS Sprites? What are your thoughts? I'm thinking about implementing (constantly looking for new ways to improve performance) ...