Hey all, quick question regarding CSS. On my website, I'd like it if the navbar was centered, and pinned to the bottom of the header (the bottom of the gradient). I cannot figure out how to do this.
The site doesn't support IE... Yet.
...
I want the following button (and it's image) to change size when I click it. The dialog is showing, but the size is not changing..
<html>
<input type="image" src="pacman.png" onClick="
alert('test');
this.height='200px'; // change de button size
// this.image.height='200px'; // not sure if this line will wo...
I have a form loaded in a simplemodal overlay, but it focuses on the first input field. Is there anyway to have the form not focus (meaning the field is selected and the user is able to type into it right away without having to click it) on any text input field after a form loads?
...
I am trying to grab that 15 at the end of the href with jquery..
<a class="ajax" href="/organizations/1/media/galleries/15">Silly Gangs</a>
Any ideas?
...
Hi I am not good in Html alignment. Can you please help me. I want make some space between two button (add, cancel button).(Please see the image) I tried ti fix it but no luck. Please help me. see the image link(http://i.imgur.com/7M9sE.jpg)
<table style="background-color: #F5F5E9" cellspacing="2">
<tr>
<td align="left" style="widt...
can I change the first letter of the second sentence to lowercase using the XSL template? Or is there a way to change the first letter of the second sentence to lower case in HTML (first-letter pseudo code DOES NOT work since it can only be the subject of the selector).
i.e:
In XLM:
"Name",
"*R*eturns the something of the something."
...
We have a Java desktop app with an embedded browser, now using XULRunner (Firefox engine) on SWT. This browser's API allows us to load webs specifying an URI or its HTML content.
What we need is to load HTML webpages including resources but being everything in memory. The best solution would be to provide a listener used when the engine ...
Hi, basicaly I have the following HTML/CSS Layout
HTML:
<div id="container">
<div id="main">
<h1>TEST</h1>
</div>
</div>
CSS:
#cont {
width: 100%;
background: #ddd;
}
#main {
width: 900px;
background: #fff;
margin-left: auto;
margin-right: auto;
}
This works fine in FF, safari, Chrome and Opera but IE8...
Hi there!
Here is the problem : I want to create reactive zones on a image using transparent div, but the following code doesn't work on IE (tested on Chrome) : the background-color of the div "hover_zone" doesn't change at all.
The problem is due to the background-color set to transparent. Use any valid color like #FFF and it works (i...
When I go to parse through the table, all the stuff I created programmatically is missing...
I must be forgetting something so that it's losing all the stuff that I built programmatically (I am only getting the shell of the table).
Any ideas?
If I put the table in a Session object after I programmatically create it then it works exc...
I have a page that needs simple image editing within the page. It can be either in flash or Java. Are there any open source tools that you can recommend? I am looking for a flash or Java tool that can do the following:
Cropping
Resizing
Nothing else required but simple features like this will be a plus
If the above can be done in Jav...
What's the most appropriate, semantically correct way to label checkbox and radio elements? Obviously, giving each one a unique id attribute is an option and using that in id a <label for="">, but this seems like it would break the semantic grouping. Putting unenclosed text next to the input element just seems...wrong.
Edit:
Additionall...
This sounds like it should be easy but for some reason it's not work as I would expected it. I have HTML that looks roughly like this:
<TD align="center">
<DIV style="position: relative; z-index: 2; top: 0; left: 0; width: 100%; height: 100%">
</DIV>
<SELECT DISABLED>
<OPTION>Option 1
<OPTION>Option 2
</SELECT>
</TD>
Basically I want ...
problem with width:50% when border != none
take a look
http://jsfiddle.net/5nYSf/
result should be like this
...
Hello,
I got a piece of JavaScript from a training video, but I do not like how the HTML that associated with it is built. It's an accordion-style drop down menu, and it uses classes on each of the menu items that initiate the drop-down effect. I'll post my code and explain after...
<script type="text/javascript">
window.onload = initA...
In Firefox 3.6.10 and 3.6.7 when a page is first loaded and the mouse pointer is over a link it turns into a hand. But when I set the anchor tag cursor style to auto by javascript and hover the mouse pointer over that same anchor tag now it shows as it was over pure text. In IE8 and Chrome it works as expected (by me).
Do I understand i...
I've got the following inside a div. I'd like to center the menu elements. Currently they appear like so...
| Home | Blog | About | Contact |
I'd like it to center so something like...
| Home | Blog | About | Contact |
Here's my CSS, what would I need to change?
ul#menu
{
margin:0;
padding:0;
list-...
can i dynamically set the tab-index of a control in javascript?? is there any attribute like tab-index??
CONTEXT : i am making a particular section in a web form visible or invisible depending on some condition where i want to set the tab-index manually when that particular section is visible......
Thanks
Kishore
...
I found this page earlier and it details how to get something like that working:
http://v3.thewatchmakerproject.com/journal/154/simple-css-how-to-make-clickable-areas-bigger
However, it seems this method falls apart when using images. I'm using the image rollover technique where it just moves the image position... if I increase the pa...
I'm working on a project where I need to make a Flex application that fills the entire browser window (note that I mean that the toolbars should be visible and all that even if I say fullscreen).
To develop the SWF I'm using FlashDevelop (for the first time) and I'm stuck. When I build the project it displays no error and a file website...