I've got a page which it has been requested I allow some user customization via CSS.
I'm happy to do this, but am trying to figure out how to make it secure.
There aren't many stylesheets that will be applied to the page, but I had originally thought that if I just checked that the page was a css extension that I would be safe.
Howe...
How can I accomplish this?
My CSS:
.MainMenu
{
position: absolute;
top:135px;
left:15px;
background-color: #033E6B;
color:White;
border-style:double;
border-color:White;
}
.MainMenu ul
{
list-style-type:none;
padding-left:3px;
padding-right:3px;
}
My UserControl Code:
<%@ Control Language...
I have adapted the holy grail three column layout into my site and it works great, except in AOL. I can easily use JavaScript to detect AOL and write new CSS styles after the rest have been evaluated, using document.write(' ');, but even with that freedom I cannot for the life of my style the page right. I was hoping someone could help...
Does anyone have any explanation for this? I've tried setting a width on #menu_wrapper ul li to no avail.
...
I want to limit a element to display only 1 line of text, with the remainder hidden (overflow:hidden), without setting a specific height. Is this possible with just CSS?
Thanks.
...
Hi,
I have a webpage where I want to show the background image @ the bottom right corner of the page. For this I have the following code:
body
{
background-image:url('img_tree.png');
background-repeat:no-repeat;
background-position:bottom right;
}
This code works fine in IE. But in FireFox, the image is shown at the 'top'...
Why is my huge background not showing in Firefox or Opera? Any ideas?
http://mibsolutionsllc.com/proc%5Fdev/
...
Google Images is the best example. Once you follow an image, a frame remains at the top of the page, always reminding you to return to Google. Does this technique have a special name and what is the most efficient way to do this?
I have this so far:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<he...
Hi, at the top of my css file i say:
* {
border:none;
margin:0;
padding:0;
}
but i want to have text input boxes to have a border so a few lines down i say:
input[type="text"] {
border-width:1px;
border-style:solid;
border-color: black;
}
No luck! Am I missing something about how CSS works? Doesn't the input declarations override ...
Hi all,
My problem is illustrated in the sample code provided at the end. Basically, i have a div container containing some tools at the left, and the main content in the middle, and some tools at the right (The visual left tool is to provide dragging and the visual right tool is to delete the content). I achieved the positing by floati...
This is probably a case of trying to run before I can walk, however... I have the following code:
<div class="hidden" id="repair_complete">
// some code
</div>
I was under the impression that if my CSS file contained:
#hidden {
display: none;
}
... then the div content wouldn't display. However, it seems to only adopt this behav...
I would like to override setting that already defined with selecting
parent selector but I don't know how.
Say, there are 2 pages on a website like the following...
-Home page-
<body><h1 class="sifr">Home</h1></body>
-About page-
<body class="about"><h1 class="sifr">About</h1></body>
then, I have these in sirf-config.js...
sIFR.repla...
i have taken over a website that has tons of css files and lots of inline css as well. Is there any tool that can show me a visualization of how this stuff is organized as i have a strong feeling that. Many pages are bringing in more css than necessary
Also, i want to remove all the inline formatting as well into css files. Is there ...
is there anyway to have a fieldset legend have different formats. For example, title would be big but sub title would be small?
Title: sub title
...
trying to clean up a project i just inherited
...
Hi, I've been developing a site (for now is here as an example: http://neurotoxine.mine.nu/gloom), and I'm getting a strange behaviour from a styleswitcher code. It's big so please be patient.
First, you may go to the site I appointed first and see it.
What you've got there, it's a joomla page, with a Jquery using
var $j = jQuery.noCon...
Hello,
I'm very new to WordPress and have no PHP or CSS experience...
I'm want to use Subscribe2 plugin in my blog, together with iNove theme. When I add the widget, the Subscribe/Unsubscribe buttons are rendered in the "classic" way, which makes the page quite ugly (the blog is at: http://www.adlerr.com)
How can I customize the ap...
Hi,
I want to add a vertical and horizontal scroll bar to the table with fixed header. By using thead and tbody tags I could add scrollbar in firefox but IE is not supporting the overflow:auto property in tbody. And IE8 does not support css expressions so can u tell me how to the task.
thanx!
...
related snippet as follows:
<textarea class="w100"></textarea>
.w100 {
width:100%;
}
It works in firefox but not in IE6,
why and how to fix this bug?
EDIT:AFTER ADDING A DIV,IT WORKS NOW.
<fieldset>
<div>
<textarea class="w100"></textarea>
</div>
</fieldset>
...
Is their any way I can use a background color to show in 50% of my division using either css or javascript???The box in which I want to do this has a background Image[png] which I want to fill 50% with a color for showing ratings...... I can use an Image of the half filled background Image but I believe that would slow down my Rating sys...