I am trying to get a div that resides in a container div to scale the container divs height when the div inside the container gets taller. When the height of the div inside the container gets taller than the container itself it just moves past the bottom of the container. I want the container to scale with the contained div. How do I ...
CSS code:
#wrapper {margin:auto; width:100%;}
.container {display: table; width:100%;}
.row {display: table-row;}
.cell {display: table-cell; height: 100px;}
#fixed {width:150px;}
HTML code:
<div id="wrapper">
<div class="container">
<div class="row">
<div class="cell" id="fixed">left cell</div>
<div class="cell">right cell</div>
</...
Simulating the web Client/web server interaction in a winform using a webbrowser object in vb2005.net
in short im using the web browser object as a gui for a giant treeview folder list, in the html there is a form that needs to submit to perform the action,del,rename ect,
how do i make my program catch the submit, process it and spit ...
If I have an HTML file input field, is there any way that I can limit it to only allow image uploads? I'm sure this would be possible with Flash or Java, but I'm trying to stay away from them for the time being.
I found the "accept" attribute online, but it doesn't seem to be doing anything for me (or I'm using it wrong.). Any help or...
Hi guys, I'm trying to pass an email through a GET form, but in IE, it strips out the @ symbol on the page with the GET parameters. I'm using an onSubmit event, but all those do is validate the data before letting them submit, it doesn't touch any of the form values.
<form name="quick" id="ex" action="order" autocomplete="off" method="G...
How can I accomplish the above using divs and CSS?
...
Just a brief best-practices question: what is the best way to do required field checking for a form? I see 3 choices:
Server side. reload the page with an error message.
Javascript (Client-side) for user-friendly non-reloading, also duplicate requirements on server side and sanitize input.
AJAX - best of both worlds, use JS to ask the...
I have an unordered list inside a div element that specifies a background image. All the li elements that I have in it have small white borders around them. I have tried setting the padding, margin, borders and background properties but nothing seems to get rid of them.
Any ideas?
...
The current HTML SELECT tag works great for me except for one thing. Is it possible to implement toggling on the current item.
If I have a current selection, I'd like to click it again and "de-select" it. It doesn't work that way now, it simply keeps the current selection "selected".
It seems that I need to know the "previous" sele...
If you go to http://profile.microsoft.com and edit your personal information, you will select your country. When a country is selected the city and/or state information changes based on what is expected for that country. Does anyone have any examples on how to accomplish this? Is there any service (free service) that provides this inform...
I'm doing some graphics processing and HTML is a perfect choice for styling the displayed content. I'm trying to reuse swing's built in html support, and it works perfectly if I hard code the height passed to View.paint, but I can't figure out how to determine how tall the bounds of the rendered content would be at runtime given a specif...
Hello!
I've download the Refresh template by Styleshout.com since I really like it. But unfortunately, there was no drop down menu in it, only a normal menu.
So I tried to integrate a drop down menu which I found a nice tutorial for.
It does almost work - almost. Here's the result: the template on my webspace.
The menus are opened - ...
i want to have a link and have it call a javascript function but i want to pass the text of the link into the function.
i am trying to create a dialog that displays the name on the original link.
would jquery be helpful here?
...
In Jinja2, I have a base template like this:
<title>{% block title %}{% endblock %} - example.com</title>
[...]
<h1>
{% block title %}{% endblock %} - example.com
</h1>
Jinja2, then, fails with the following message:
lines = [self.message, ' ' + location]
: block 'title' defined twice
It must be now evident as to what I am t...
We are in the process of hiring a HTML/JavaScript/CSS web developer, and we are looking for an objective programming homework that they are able to complete 24 hours before the actual interview.
There are few questions in SO about programming homework but nothing related specifically to HTML/JS/CSS. Ideas?
Reference 1
Reference 2
...
i am generated a table dynamically which looks like this:
Name Action
==== =======
Adam Delete
Joe Delete
Bill Delete
I want "Delete" to be a link that pops up a confirmation popup that says:
"Are you sure you want to delete "Adam"? (Yes, No)
NOTE that "adam" is contextual and needs to be retrieved from the ro...
When we get tabular data from the database and want to show on the UI, such as search result for products, products list or list of registered users for site administrators.
The famous control to do that is the grid view, while i prefer to use a simple repeater and this repeater loop on a table row, that's when i will need to bind this ...
I have a friend who now has a domain name, and he wants to put some content up. I know that hand-coding is reccomended, but I'm unable to do the site and they can't and won't learn html. Looking around this site it seems that wysiwyg editors are deviations from the "pure path" of html, but I'm just looking for something to give a buddy a...
I need to create a grid of data many rows by 8 columns. When the user clicks on a row I need to submit the data from only that row to a php program. I'm not sure how to proceed.
Do I make each row a separate form?
Do I create a hidden form and copy the row data into it, and submit that? I'm not sure how to determine which row the user ...
I recently designed a web application for a client. I used CSS for a layout of the application. I tested the layout on IE7, Mozilla 3.0.1, Google Chrome 2.0.xxx, Safari 3.1 and Opera 9.51.
They all displayed correctly without problems. After the delivery of the application my client noticed it had compatibility issues with IE6. The site...