Hi,
I try to add some css attributes to labels in my custom sfForm but I can't achieve it.
In my custom class myForm extends sfForm, I create all textfields dynamically:
public function configure()
{
$widgetFixtures = array();
foreach ($fixtures as $fixture) {
$widgetFixtures[$fixture->getId()] = new sfWidgetFormInp...
I'm wondering if it's better to make one or several files for CSS files ?
I always see websites with a plenty of css files, but it seems better to use only one large file.
What's your advice ?
...
I want an image to repeat in its whole lenght. If I write:
background: url(pohi_2.png);
background-repeat:repeat-y;
then it repeats, but stops whenever the content is over. I want it to be for example whether 2 or 3 times, but not 2,7 times.
...
Hopefully simple question: I'm trying to set the alternatingItemColors on a datagrid via some values that I set in a CSS file but nothing seems to work.
the CSS file looks something like this:
.FACS0 {color: #B0B0B0;}
.SACS0 {color: #A6A6A6;}
.AICS0
{
alternatingItemColors: #B0B0B0, #A6A6A6;
}
I tried a variety of different th...
I want to create a div with a style that clips all children's bounding boxes to a certain region(and simply cropping out anything not in the bounding box). In my case, a child is using the background-position CSS property to position itself(and I want to clip this element). I've tried doing the following:
Setting the width and height p...
I have asked this before but couldn't get it resolved, so asking again.
I am trying to align icons (on the left) from a vertical sprite with text (on the right). I would like both text and icons bottom to be aligned regardless of the size of the icon and the text i.e. the text could be h1 or could be a h5. The icon size remains largely ...
I have a page with
* {
padding: 0;
margin: 0;
}
set and it's the only way I can get the layout to work properly across all the browsers, but it unfortunately also makes any buttons in forms looks really ugly. I want the browser default styling on the button.
Is there any kind of CSS I can put to fix it?
...
Developing a wordpress blog. Wanting to install the GCS box over an image centered inside the page.
Example: Have an image 700px by 100px centered inside a page. I would like to add the custom search box over that image to create a "background" for the custom search box
...
hi people,
Please take a look at THIS page.
Please feed in some random data and click on the edges of the button to submit.
PROBLEM: I am not able to click the button on the edges.
AIM: I want to extend the click-able portion to all over the button.
I think I have to introduce to it. But I am not sure where and how it has to be do...
Can we have external NoScript file?
If javascript is not avaialbe i want to hide + and - from According page.
How to do this if i can't edit html <head> i only can add any external css and js file
...
So, I have a particularly unique goal I wish to achieve with CSS, HTML and jQuery. Basically, I have a page element that when I mouse over it, I want scrolling to be disabled. I am currently achieving this by setting the body's overflow property to "hidden." However, the disappearing scrollbars means that content is shifting to the right...
How to add cellspacing="0" if it's not available for any <table> using jquery?
and if it's available and it has any other value than ="0" then want to convert it to ="0"
...
I am designing a website and testing it on my LG VX8360 cell phone running Openwave Mobile Browser 6.2.3.2. Many things didn't look right on my site, and I noticed that the browser is not properly handling CSS child selectors or descendant selectors. I made a page like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
Back in the day, 800 x 600 was the screen resolution to design for - and maybe 640 x 480. Then along came 1024 x 768, etc, etc, etc.
But then it gets worse: now we have not only different resolutions but also different aspect ratios.
What strategies do people use to accommodate today's ever-expanding range of screen sizes and aspect ...
the following code is not work in safari, but properly work in IE.
<style>
.my
{
background:url("../../myproject/images/add.gif");
width:100%;
height:22px;
background-repeat: no-repeat;
}
</style>
<span class="my">
</span>
...
I am trying to create a buttonbar using simple <div> and change its opacity to 50% and give a background
But the elements which come inside this division exhibit the same transparency as there parent <div>. I want them to retain 100% opacity. (Which is not possible). How to make this Possible?
A sample CSS of what I am trying to do is ...
Hello,
I have a project containing an image, css and js folder.
I want to make sure no css, image or js is blocked when using formsauthentication.
I know you can do this with the locationtag in the web.config but I was wondering if you could do this otherweise?
this is how I do it right now:
<location path="css">
<system.web>...
I'm faced with a business requirement that I believe may be solved by implementing CSS variables.
Basically, while the front-end developers on this project are in charge of CSS implementation, the designer wants to be able to introduce different "themes" for the site.
By swapping one theme for another, a range of changes (such as font-...
How to create a floating box which can be expanded using an expand handle on the right bottom corner. The expanding should occur both vertical and horizontally.
...
Hello,
I'm looking for a "flip book" effect that works on Ipad, without Flash.
Thank you!
...