Real quick background : We have a PDFMaker (HTMLDoc) that converts html into a pdf. HTMLDoc doesn't consistently pick up the styles that we need from the html that is provided to us by the client. Thus I'm trying to convert things such as style="width:80px;height:90px;" to height=80 width=90.
My attempt so far has revealed my limited un...
Virgin post.
Are there any known issues with how FF2/Windows handles div's positioned relative?
IEx / Chrome on Windows, FF3x / Safari 4x on Mac are rendering fine. and I would think IE for sure would have barked at me if the coding was incorrect.
<!--example-->
#parent_div {width:200px; height:100px; position:relative;}
#child_div {...
I am using AjaxControlToolkit CalendarExtender. Some previous rule in my stylesheet is affecting div's within the calendar.
div#paymentRegion div
{
float:left;
width:49%;
}
There are DIVs within the calendar that are being forced to 49%. How can I have the calendar ignore the previous settings and use the styles that come wit...
Hi everyone,
I am trying to get the rows in my table that resides in a TD to line up with the parent rows but the alignment is killing me.
Take a look here: http://teewebco.com/test.html
Here is mockup graphically of what it will look like
http://teewebco.com/images/main-copy.png
The reason for the table inside the TD is that can ad...
If I've tested my pages in most major browsers, why would I need to maintain a validated code? I want to use box-shadows and corner radius if they're supported in WebKit browsers and Firefox. I don't care if they don't show up on Internet Explorer. But I keep my HTTP requests down by not including images instead.
Are there are advantage...
Hey, I'm new to Rails and Ruby in general. I was wondering if it's possible to use an embedded ruby css file (css.erb), similar to using html.erb files for views.
For example, I'm using
<%= stylesheet_link_tag "main" %>
to link to my main.css file in public/stylesheets, but when I change the file extension from main.css to main.css.e...
I am new here and I have a simple (hopefully) problem at hand. I am trying to figure out how to switch classes on my "Apply" button once an end-user clicks inside a form field/element.
The demo test page I have up can be found here - http://www.iconpayment.com/test/Untitled-2.html
Also does having the image as a background or inline im...
When SharePoint's content editor CSS file (HtmlEditorCustomStyles.css) is customized how can I get the updated css file updated on the client browser?
In testing I've found the updated version is ignored in favor of the browser cached version and I've only been able to get the updated version by deleting the CSS file from the browser ca...
I am attempting to use a Jquery menu, that makes use of the 'easeOutBounce' easing method. It is working fine but, I cannot figure out how to change the direction that the menu is bouncing out from. It currently expands to the right and bounces. My menu will be right-align and I want it to expand to the left.
This is the example I'm usi...
I'm using a draggable effect on a css div for a shopping cart (prototype+script.aculo.us). I want to insert a link into this div which allows the users to toggle between fixed and absolute positioning. Does script.aculo.us has any simple way of doing it? (So far i found nothing)
...
I have a Skin File that contains:
< asp:TextBox runat="server" CssClass="FixedFont"/>
In the same folder as the Skin file, is the following css file. The Css file contains:
.FixedFont
{
font-family:Courier;
}
Lastly, I have an ASPX page which contains the following control:
<asp:TextBox ID="TextBox1" runat="server">Te...
Hi, i got an issue on firefox, while all IE, Safari and chrome are working.
<div class="forDiv">ddd</div>
<table class="forTable"> .... </table>
.forDiv {
width:100%;
border:3px solid #236FBD;
background-color: #236FBD;
}
.forTable{
width:100%;
border:3px solid #236FBD;
background-color: #236FBD;
}
in firefox, the div is a bit smal...
This is unlike anything I've read about and I've been totally scratching my head for the last few hours trying to figure out what's going on.
I have a hand-coded site @ hartbro.com Part of the site is a blog, in which I include pictures. Here's the HTML code around one of the images that's causing trouble.
<a href="blogcontent/090811.j...
Name:
<%= Html.TextBox("txtName", "20", new { @class = "hello" }) %>
I want that in VB.NET , is it .cssclass="hello" or is it something else?
...
Are there any stylesheets which make, say, input view like default in each browser?
I mean not the same view in every browser, but still default view in each of them.
UPD. Of course it's the case when i have some parent css which i need to override back to default view, especially for particular element.
...
I have a web page which has a pic. That pic has a color.
I need the hex code of the color in that pic. How can I get it?
...
Hey,
I have the css-validator.war provided by W3C running locally on JBoss.
I have whipped together a very quick script to test it out:
require 'net/http'
require 'uri'
doc = '
* html {
font-family: tahoma;
background-color: black;
}
'
res = Net::HTTP.post_form(URI.parse('http://localhost:8080/css-validator/validator'),
{'...
i have am html table that can be max 700px wide and i dont know how many columns there will be (between 3 and 10). i want all elements to have 5px padding, but this increases the width of the table and causes the div in which it sits to show horizontal scrollbars.
since i dont know the nbr of columns, its not possible to subtract the e...
Hi all, I am working with SiteFinity CMS. My particular layout is 3-column with 100% width (side columns are fixed width, center is fluid). In the center column, I want to divide it up into multiple "boxes" using CSS. My first attempt was with 960 Grid System. Here is the markup that I used:
<div class="container_12">
<div class="gr...
Is it possible to set the size of the backgroundimage with css?
I want to do something like:
background: url('bg.gif') top repeat-y;
background-size: 490 px;
But it seems it's totally wrong to do like that...
...