I am trying to use the following code to load styles from an external SWF, but I keep getting an ActionScript error when the URL is invalid:
Error: Unable to load style(Error #2036: Load Never Completed. URL: http://localhost/css/styles.swf): ../css/styles.swf.
at <anonymous>()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\sty...
What characters/symbols are allowed within CSS class names? Things such as:
~ ! @ $ % ^ & * ( ) _ + - = , . / ' ; : " ? > < [ ] \ { } | ` #
I know a lot of these are invalid, but which are valid?
...
When I print a webpage from Internet Explorer it will automatically add a header and footer including the website title, URL, date, and page number.
Is it possible to hide the header and footer programatically using Javascript or CSS?
Requirements:
works in IE 6 (no other browser support necessary as its for an Intranet)
may use Acti...
I'd like to have something that looks and behaves as hyperlink inside larger rectangle (full page wide) which is also hyperlink. Below there is ASCII-art representation of what it should look like:
|-------------------------------------------|
| Some text [_link_] |
|-----------------------------------------...
Does anyone know of CSS refactoring tools? Ideally, I would load all of my CSS and have the tool intelligently remove redundant declarations, merge classes, etc, without completely munging it all.
...
I'm working on a site where the images and other resources will be located on a separate domain from the main content of the site. We will use something like 'www.example.com' for the main site, and then 'images.example.com' for all extra resources for styles, etc.
When developing the site I will keep all of these resources on local dev...
I have been trying to add a scroller to my context section that will only allow the box to scroll horizontally within the visible of the viewer's screen, not vertical.
Does anyone know any code to have scrollable content in a div in a fluid css layout design?
Also, here is a link to a website that has the exact scroll effect I am tryin...
Hi
I've developed a system in my application where emails are picked up with a regex, and then reversed in the source (to thwart bots). I then add the span class 'obfuscate email'. I then use CSS to reverse the the text back to be displayed and Javascript make sure that mailto: links still work.
I was pretty happy with my solution unti...
Here is my DataList:
<asp:DataList id="DataList" Visible="false" RepeatDirection="Horizontal" Width="100%" HorizontalAlign="Justify" RepeatLayout="Flow" runat="server">
[Contents Removed]
</asp:DataList>
This generates markup that has each item wrapped in a span. From there, I'd like to break each of these spans out into rows ...
Hello!
I have a horizontal bar that has been given a width of 100%. Within the horizontal bar, I have text that is left-aligned within a 978px container. Whenever the browser window is shrunk so that it is less than 978px wide, a scrollbar along the bottom of the page appears. Whenever I scroll to the right, the bar no longer spans t...
A web page displays the following:-
Bob
Fred
John
However when the user (that would be me) prints the web page I want multiple repeats of this output with slight variations to be printed on separate pages :-
Bob
Fred
John
>page break here<
Bob
Fred
John
>page break here<
Bob
Fred
John
In reality the page content is larger...
I've been tasked with putting a mechanism in place to change the css colours in a .Net site dynamically. The purpose is to ensure that when our internal application sites are built and deployed to our UAT servers that the UI of the site is identifiably different from the live versions without changing the code base.
One option is to go ...
Hi,
I've noticed that the <input> element in HTML ignores the CSS pair of "left" and "right" properties. Same for the pair "top" and "bottom". See the sample code below:
<html>
<head>
<style><!--
#someid {
position: absolute;
left: 10px;
right: 10px;
top: 10px;
bottom: 10px;
}
--></...
I have two elements (a button and an anchor tag) both with a dynamical text inside that grow to the length of their content.
I cannot know which one of them will be the longest at compile time, nor can I know what the maximum/minimum width will be.
The shorter one should always adapt to the longest one.
<span id="buttonsColumn">
<butto...
Hello,
I have a layout similar to:
<div>
<table>
</table>
</div>
I would like for the Div element to only expand to as wide as my table element becomes.
Any suggestions?
Thanks!
...
Note: I've made a few edits here as I didn't get my question across very well the first time around.
Update: After doing some of my own research on this subject, I've come up with a perfect example of why I'm searching out the perfect list of font-family with fall-backs: http://www.brownbatterystudios.com/sixthings/2007/03/14/lucida-h...
I'm using Prototype's PeriodicalUpdater to update a div with the results of an ajax call. As I understand it, the div is updated by setting its innerHTML.
The div is wrapped in a <pre> tag. In Firefox, the <pre> formatting works as expected, but in IE, the text all ends up on one line.
Here's some sample code found here which illustr...
I have a div element that has an id and this div contains a set of inputs and labels. I ONLY want to style the inputs inside this specific div but .. the following styles everything (global) instead of keeping the scope inside #ParentDiv
#ParentDiv label,input { display: inline; }
Also, is it possible to do this type of thing with va...
Hi everyone,
I am trying to apply css on my html.dropdownlist with a regular html select list css. Can anyway one show me how to go about doing this & where am I going wrong with this
this is what i have right now..
<div id="container">
Months <%=Html.DropDownList("dllMonths", new SelectList(new List<string>() { "January",
...
I have a graphical application that renders text to BitmapData - right now it's hardcoded to use a specific font, and that's fine for testing, but for production I really need it to be style-able.
The rest of the application uses specific fonts, and I want to be able to just use a stylename (the style of the font) to create a TextFormat...