css

skip css formatting on one html table

I have CSS items for all my table elements (<table>, <tr>, etc...) but I have one table for which I don't want the CSS to apply. What is the quickest way to have this table just display as a raw HTML table and not apply my CSS formatting. Also, in my CSS file, I have this: table td { padding: 5px; border: solid 1px #e8ee...

Reformatting an wysiwyg generated html file

I am reading in what i thought was just basic text from an .html file and i want to display it on a asp.net webpage. I put some css formatting but it doesn't seem to fully work. I got to the bottom of it as the issue is now that i look at what i thought was raw text turns out to be: <SPAN style="FONT-SIZE: 16pt"> <P style="TEXT-ALIG...

different css formatting on different <p> tags

i am creating a website where i read in html data from other websites. The problem is that the source that i am reading all has <p> tags in it, but i actually want to format them differently is there a way to have some <p> tags using one formatting and some <p> tags do other formatting in the same web page? ...

CSS Hack to Target Firefox 3.5+?

Firefox 3.5 now supports the nth-* pseudoclass, which was what I was using to target my css for Safari and Chrome. Now Firefox reads those too, causing minor layout issues. Does anyone know a way to specifically target FF 3.5+? BODY:nth-of-type(1) #topsearch input[type=submit] /* Safari 3.1+ and Chrome */ { height:19px } ...

display text after Html table on same line

<table> <tr> <td>Yes <input type="radio" value="yes" /></td> </tr> <tr> <td>No <input type="radio" value="no" /></td> </tr> </table> Some text ...

image placement for IE bug fixes

Hi ive got a menu that is like this: <li id="selected"><a href="http://www."&gt;&lt;p&gt;FAQ'S&lt;/p&gt;&lt;/a&gt;&lt;/li&gt; I've managed to acheive the effect that i wanted in firefox but then i checked it in IE 7 and phwoooar... It seems to be a width issue at the start i try to impeleent a width hack but then this upsets firefox: ...

Toggle wordpress content

Hi, I am trying to intergrate this http://www.sohtanaka.com/web-design/easy-toggle-jquery-tutorial/ into wordpress. IS there a way to get custom divs for certain post I basicly just want to make a page like this http://s72956.gridserver.com/dev/toggle/toggle.html updatible in wordpress.. any Ideas? ...

css :after will not work

i have a css prop like stated #menu li#selected { padding: 0 10px; margin:0; background:url(nav-tab-left.gif) bottom left no-repeat #90288d; height: 35px; } after the li i need to display the second part of the image nav-tab-right.gif i try #menu li#selected:after { background:url(nav-tab-right.gif) bottom right no-repeat; } but t...

Override GWT Styling

I had a beautiful pure HTML mockup for a webpage that I am now recreating in GWT. I'm attempting to use the same css in my GWT app, but that's not working well for me. GWT styles seem to override mine. I know I can completely disable the GWT styles, however I would prefer to have the styling for the GWT components that I'm adding (tab...

How to send HTML/CSS emails?

Most email clients have problems reading CSS in HTML emails (including Gmail and Hotmail). I often use this service to convert my HTML/CSS to proper email format so that everything looks normal on the user's end. Basically what it does is convert all CSS to inline styles: http://premailer.dialect.ca/ Do any of you have any other method...

Prevent wrapping in nested floated items in CSS

I have a div that contains many floated child items. Each child item is a div containing an input and a label. In Firefox it looks fine, but in IE7, the last item on a line is wrapped to fit, rather than being moved to the next line. How do I fix this? ...

CSS Frameworks & "Semantic Naming"

I've looked at two CSS frameworks that could save me a lot of time (Blueprint, 960gs) but have questions on how to use them and comply with web standards. For example, Blueprint has things like: <div class="span-24 last"> and 960gs like: <div class="grid_6 prefix_3 suffix_3"> This doesn't personally bother me, but I've seen mention ...

Change the appearance of a disabled link

Is it possible to change the appearance of an html link when it's disabled? For example using something like: a.disabled { color:#050; } Testing The example above does not seem to work with IE but works for Firefox, on IE it remains gray even when I set the colour in the style. If I remove the disabled="disabled" however it w...

Jquery if then statement for css value

I want to check whether a div with a css class="x" has height="auto". If yes I want (with a jquery script) the css-class="a" removed from all elements with the css-class="y". If not the script does not have to do anything. thanks ...

Page not displaying properly until refresh.

On my site, the page displays incorrectly in most browsers until you refresh it. THe website is: http://www.hqinternetsolutions.com/services.html I dont know why it is displaying in this fashion and then it fixes itself on refresh (even without clearing cache) It is a series of divs floated to the left with margin. Any idea? ...

Width of Headers (H1, H2 etc)

I want my headers (h1 through h6) to have a background colour (different to that of the page background), I also want the width of this background to be the same as the width of the text in the header, plus padding (Not the width of the container that the header is in, which is what is happening now). There isn't much point in me showin...

move the div according to window scrollbar

I want to move my div down if my window scroll down and move up on window scrolls up? How to implement? ...

jquery Label Insertion Problem in Safari

I am inserting a label after a field to show the user an error message. The problem is after it is first inserted, it's top half is cut off then when you tab out of the field it fixes itself. There is no problem at all in FireFox. I have deployed the form to: http://thredup.atomicvapor.com/regtest/index.html I have also posted the co...

CSS background-image: url(none) leading to errors in apache log file

I have run into a strange problem. When I use: background-image: url(none); in my css file, it generates an error in the apache log file: File does not exist: /...../styles/none, referer: http://blabla.com/styles/styles.css I have used the W3C CSS validator and there are no errors (just some warnings about floats needing widths). ...

Jquery sliding menus

I've got a site I'm building here: http://theoew.50webs.com/portfolio_2/ See how when you hover over the menu at the top right, the item becomes taller(20px to 50px). I was wondering if I could do the same thing but have the text move with the list. So when you hovered over the list item, it would enlarge and the text would move to th...