css

How to apply padding to a column using <col> and CSS in Firefox?

Example: <style type="text/css"> table { border: 1px solid red; border-collapse: collapse; text-align: left; } #col-1 { padding-left: 20px; background-color: tan; } #specific-cell { padding-left: 20px; } </style> <table> <col id="col-1"> <col id="col-2"> ...

Is it true that newsletters in HTML should have a "table-based" layouts?

I read somewhere that when creating a HTML email, you should use the table-based layout. You should not be care about creating tableless css based layout. Is that true? I have to create a newsletter layout for my company, but I dont feel confortable writing 3 nested tables. ...

problem with css file

hi...all I'm having problem with themems. I have app_themes folder in my application that have a mytheme folder.In that folder I hvae placed a css file. I have used this theme thruoghout the application. using the web config file....follwing is the code. <System.web> <pages theme="mytheme"></pages> </System.web> it's worikng fine....

having a 'backup' css file?

Is there any way to call a stylesheet, and only if it is not available, call a stylesheet from another location? Something like this: <link rel="Stylesheet" type="text/css" href="http://cdn.somewhere.com/css/style.css" /> <link rel="Stylesheet" type="text/css" href="local/style.css" /> But only call the second one if the first is not...

Is there an Automated way to convert a Table based HTML page to purely CSS based page ?

I have a Web Site thats designed using traditional tags but I need to convert to CSS based tags. Is there a better way (Free Software / Tool) to do this rather than taking one tag at a time and converting it ? Thanks Rahul ...

css position a text link to the right of a header

What i want to do is have a bold title on the left with a normal size and font text link on the right. The problem can never get only the link beside it. I always get other text or have the link below instead of beside. test <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <tit...

Selective strip tags in TextMate

Is there a way to strip HTML tags selectively in TextMate - you can easily do this in Dreamweaver. TextMate allows you to strip all HTML tags but I would like to get rid of only, let's say all the <span>'s and <font>'s. On a similar topic, is there a way to get rid of all the inline css styles? ...

Styles for css classes in an iframe

Inspired by the new User Flair, but the question applies to the general case as well. Let's say I want to include something like this on a site that doesn't allow me to specify external styles or use any javascript. The only thing I can do is paste in an object, embed, or iframe, and some other simple html. Additionally, the width o...

DIVs anchored to top and bottom of parent div

This is probably a very dummy question, don't throw your shoes at me :) Consider having HTML like this: <div class="container"> <div class="header"> </div> <div class="body"> </div> <div class="footer"> </div> </div> I want 'header' and 'footer' to be anchored to the parent's top and bottom respectively, and '...

heading problem H1 in CSS

hi.. I'm not able to change the size and color of heading h1 in my site. I have used an external Css file. code as below.. h1 { Background-color : red; Color : green; } ...

Why isn't the GridView width expanding 100% across the page when I set the width?

I have the following markup, I took the extra stuff out of the divs, so it is easier to understand. I had my GridView set to 100% with collaspible panel extenders and it was showing fine on the page. Then instead of doing collapsible panel extenders and using accordion panels, the gridview only expands as much as it needs, no matter w...

Relatively positioned items inside absolute. Problems in IE.

This is giving me such a headache. I am having problems in IE (6/7) with the code below. I have a number of container items on a page which are relatively positioned. Inside one of them is a absolutely positioned item. This inside item should appear OVER any of the container items. This appears correctly in Safari and Firefox but not i...

Can a div have one background image, but repeat a different one?

I'm setting up a design that uses some gradients, and of course that causes issues. What I want is for my one background image with the vertical gradient to be the main background, but then if the content extends and pushes the div out, I want a different sliver image to repeat on the bottom. Is it possible to do something like this? ...

can we worry less about IE 6 issues since there seems to be upgrade push?

I noticed that on my Vista and XP machines, the automatic update is asking me to upgrade to IE 8 (from IE 7). News article also says people with IE 6 also get such suggestion. http://news.cnet.com/8301-13860_3-10218185-56.html (i don't have IE 6 on any of my machine except an XP virtual machine version which might be different from th...

need help making tabs to be used by jquery tabs plugin

I am completely new to CSS and can not get around making tabs. We currently have tabs like this However, these tabs are made using a bad looking <table> tag Below is the code that produced the image in above link <table name="incomesummarytable" cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td colspan="4"> ...

Without javascript, can I style a div to cover up the current document including its margins?

it can be done using javascript, but with CSS alone, is it possible to style a div to overlap exactly any page's document content or viewport (to apply an opaque gray layer on the page)? since a page can have margin for it body element, so styling a div to the width of its body element won't do. (needs to work in IE 6 too) ...

Javascript behaving differently on Mac and PC? I know it shouldn't...

I've created a pagination script that takes a long block of text and breaks it into pages. First the text is loaded into a div with the id #page. Then the script measures the height of #page and calculates how many pages it should be broken into to fit into the div with class .detailsholder. The div .detailsholder is cleared out, and th...

how to work with jquery UI tabs in IE 6

I am not very good with css but with lot of trial and error I made this page that has jqueyr UI tabs and looks somewhat decent: http://jsbin.com/uquvi However, When I open this page in IE 6, to my disappointment the tabs dont seem to have curved corners. At work right now they have a very bad implementation of tabs because they are c...

outerHeight() and inner pictures

Hello, I've an issue at the first load of a page with outerHeight. The value returned by outerHeight() is a multiple of 27. jQuery $('.entries').each(function(r) { $(this).attr("value", $(this).outerHeight()+15); }) HTML : <div class="entries"> <div class="container_entrie"> <span class="meta"><span class="title">Daily Inspi...

Is it possible to use @import in Adobe AIR CSS?

Trying to use @import url('myfile.css'); in my css file in Adobe AIR but it's not working. I have tried variations such as url('file:///myfile.css') and url('file:///abs/path/myfile.css') and none of it seems to be working. ...