A little backround:I'm a 22 yr old with just a high school degree and a lot of free time (college did not work out). I am completely new to web programming and I have taken a couple day classes in Photoshop, Illustrator, Dreamweaver, Fireworks, and InDesign. Seeing as these are only day classes, I am by no means a pro at any of them but ...
hey, i have been designing websites table-less for a while now. the problem is that it can take a hella long time to finish the site. people who design using tables can finish much faster. whats a good tutorial or of related to do such a thing?
i know this is wrong lol, but ive noticed alot of clients dont really care and they want thei...
I am writing a complex tab based web application where each tab is unrelated to each other in the sense that there is no interaction. So for ease of development i want I want each tab to be a separate html page viewable on its own and at later stage I can assemble them via tabs or may be menus or trees
so question or questions are:
I a...
What is the maximum font size that can be rendered in a web page?
Does it depend on the machine or the application ( browser )?
...
I've seen quite a few answers on this site which advocate using tables for a design because it can't be done using CSS and Divs... when in actual fact it can be done with a bit of ingenuity.
What are examples of things that genuinely can't be done?
The only one I've ever come across is vertically aligning a box within another box.
*ed...
Hi,
I am creating some sort of grid for a project. The grid has one special requirement (that is the reason why we are trying to create one in house), the middle columns have to be scrollable.
To picture the situation: We created the grid more or less like this:
There is a topcontainer div, that contains 3 other divs the left middle a...
I need to run tidy in vim, using the usual:
:compile tidy
:make
However, if I'm on an utf-8 file, I get errors that I don't see if I run tidy outside of vim, i.e.,
tidy -e -q -utf8
I get what I'm expecting
TIA!
...
Hi
I'm making a web page in which I have a list of products, along with a field next to each product in which a customer is meant to enter the quantity they want to order. The list of products is generated from a database and therefore the number of products isn't known. Is there a way of POSTing the quantity of each product ordered alo...
Hi everyone,
I need to put 2 divs side by side. But what's more important, I want this to display correctly in IE6/7. I have managed to succeed this with Firefox though.
My code:
#container{
padding:10px;
}
#left{
float:left;
width:500px;
}
#right{
width: 300px;
float:right;
padding:7px;
background-color:#F...
When using a form with many text input, WebKit/Safari/Google Chrome submits the form when ''enter'' is pressed in any input element. Even if there is no submit input element and no onclick handler registered.
See for instance this sample code:
<html>
<body>
<form method="POST" action=".">
<ul>
<l...
If I include a JavaScript file in my HTML page, do the variables declared in my JavaScript file also have scope in my <script /> tags in my HTML page? For example, in my included JS file, I declare a variable:
var myVar = "test";
Then inside my HTML page, what will this produce (if it's after my include script tag)?
alert(myVar);
...
Basically, I have to present a full-screen div on my page for various reasons. Now this is relatively straightforward in non-IE browsers (absolute positioning, top/left/right/bottom at 0px) and can be easily done on IE7 too (with some tweaking) however I just can't get it working on IE6.
What's weird that I can get it working in quirks...
Is $('*').index(currentElement) will give a unique number?i am asking because i can't understand the index method good from the JQuery docs
...
I have a string representing a stand-alone (and valid XHTML 1.0 Strict) HTML document, something like
var html = "<?xml ... <!DOCTYPE ... <html><head><style>...</style></head>
<body><table>...</table></body></html>";
The body of this HTML document contains a table whose CSS-style
is described in the head of the HTML ...
from mechanize import Browser
br = Browser()
br.open('http://somewebpage')
html = br.response().readlines()
for line in html:
print line
When print a line in an html file, I'm trying to find a way to only show the contents of each HTML element and not the formatting itself. If it finds '<a href="whatever.com">some text</a>' it will o...
A user complains they can't paste into one particular text box on a form and that this is a change in behavior that occurred three months ago. I can't reproduce the error. I've tried long text, short text, plain text, formatted text, everything works. I did fix some poorly formatted HTML, but it didn't change their problem.
The user and...
I currently have a page setup like this:
PHP Variable Declarations
HTML header, then a form to submit GET query
The PHP that processes some stuff based on the GET data
a bit of JavaScript that makes a pretty graph from the retrieved, processed data
What I want to do is have only the form show up when the page is first loaded, and then...
I am currently working on a web application that has been created using a magnitude of frames that stretch down up to 5 times, The issue is that i need to preform some jquery magic throughout the website.
What would be the best way to go about this (other than rewriting it which i have considered)?
EDIT:
The Frame Structure is somethi...
Someone has already asked, How does the DiggBar work? in a previous question.
While someone provided a decent answer it didn't address one thing:
How does Digg dynamically resize their
iframe's height, based on the content
of a site across a different domain?
There are plenty of questions and answers here on SO for dynamicall...
I have a an HTML button where I want the onclick to call a PHP function. I need to use AJAX to do this but I am totally lost. There is more that occurs inside the php function, but I didn't see the need of including it. Below is code thus far:
<HTML>
<BODY>
<FORM>
<input text="text" name=airport1 id=airport1 />
<input text="text...