html

Why can't my web page apply its CSS?

Hi all, I have a simple website(primarily static html/css) but for some reason some of the pages won't apply the external css in Firefox (works in IE). http://bjmarine.net/services.html - Is broken http://bjmarine.net/index.html - Works fine I have compared both files and can't see any difference. I have tried them in editplus and no...

Font in transparent area

Hello, I'm using JQuery library. I make some div transparent (0.7). There are some text in that div. And I see unpleasant situation: text font is ugly. As I understand, cause all div-area is transparet, my text also. Could I make it untransparent? upd I tried to make my div untransparent: the text is great! So, how can I make my div tr...

Is there any way to determine if an HTML select is currently open?

I have a page that is doing a continuous ajax refresh, and I don't want to do this refresh if the user is currently making a selection in a dropdown. Is there any way to check if the user has the dropdown opened, and then stop the update? Thanks! ...

not understanding why this code is not working...

im new to sessions but from what i see it complicated to apply <input> with them. can you please look at this code and tell me why its not working. i had it working earlier then it died on me. the function of the program is to fill out a form and have it verified for legit information using regular expressions, i just need help with get...

CSS and targeting: img "title=this thing here" attribute

Dear Stack Can CSS be used to change the title attribute in this img tag to something more pleasant than P10305...? All the images I need to target are in tables (as shown below) I would like to change all image title attribute in a website to the name of the company. Is it possible? <td><img border="0" title="THIS THING HERE" src="h...

Where is this extra scroll bar in IE7 coming from?

I have a CSS layout that simulates a fixed-frame page, with a header and a left side menu, and a content pane. In Firefox, this works fine, but in Internet Explorer 7, there is an additional scroll bar along the right-hand side. If you move the extra scroll bar with the mouse, it will scroll just the header off the top of the page. ...

PHP Text Box Length

I'm playing with some PHP for my website. How do I set the length of a text box that the user types in? Also, what is the code for making multiple line text boxes? Thanks. ...

what's a good rule of thumb for max dropdown list options

Hi All, with the title being self-explanatory enough, if you do reach this max number, what do you do instead? thx :) -C ...

CSS: Creating table rows with wide borders without bleeding into adjacent rows

I have an HTML table of tickets listings (e.g. http://seatgeek.com/event/show/23634/buffalo-bills-vs-tennessee-titans/). I'd like to highlight certain rows with a 2px border. The problem is that this is bleeding into adjacent cells and covering up other borders. For example, I have a 1px bottom border on the first row of cells (to d...

If handcoded webpage displays the same as WYSIWYG generated page, what did I gain? Can I compete with WYSIWYG?

My friend uses DreamWeaver to create web pages and doesn't know any HTML at all. I know HTML inside and out and can hand code from the ground up. But our web pages look similar and he can get paid for his WYSIWYG generated sites. What have I gained from learning HTML and hand-coding? Can I compete with people using DreamWeaver or other...

html tidy and rails apps - erb or rthml files. Ruby alternative?

Hi. I just installed HTML Tidy plugin for eclipse. I added the html.erb file type and now it will do its magic on my erb files. However it puts in the title tag and changes a lot of my characters to escape characters. How can I stop this from happening - or is there a ruby alternative which will go through my code, reindent, and stick in...

IE Issue With Input Box Size

I am using Dreamweaver to make a HTML page. I have a textbox for the user to type into. When I change the following: <input type="text" id="email" name="email" size="40px" /> when I view it in Firefox, the box size changes, but in IE it says at the default size by the look of it. Why is IE being such a pain... ...

C# - Remove spaces in HTML source in between markups?

I am currently working on a program that allows me to enter HTML source code into a RichTextBox control and removes the spaces from in between markups. The only problem is, I am not sure how I can differentiate between the spaces BETWEEN the markups and the spaces INSIDE the markups. Obviously, removing the spaces inside the markups wo...

What is the proper way to make a link open in a new tab?

Is target=_blank the best way or is there something else that has replaced it? ...

Conditional comment for 'Except IE8' ?

I'm using <!--[if IE 8]><![endif]--> for targeting IE8, but there's some JS that I want to load for all browsers EXCEPT IE8, what conditional comment should I use? Edit: I wonder if this would work: <!--[if lte IE 8]><![endif]--> Thanks ...

Get position relative to browser window

Hi, I have 2 divs and one is nested in the other. I want to get the child div position relative to browser window. The use case is this: when user scroll down browser, I want to detect the position of the child div and if it is 100px above the bottom of the browser window, I want to fade it out slowly. How do I do that with jQuery? The...

How can I find the contents of a div using Perl's HTML modules, if I know a tag inside of it?

Ever since I asked how to parse html with regex and got bashed a bit (rightfully so), I've been studying HTML::TreeBuilder, HTML::Parser, HTML::TokeParser, and HTML::Elements Perl modules. I have HTML like this: <div id="listSubtitlesFilm"> <dt id="a1"> <a href="/45/subtitles-67624.aspx"> .45 (2006) </a> </dt> </div> ...

C# - Trim HTML Snippet inside WebBrowser

I am loading a specific web page in a WebBrowser control. Is there a way to take the following HTML that would be located within this page and save it as a string and trim it down? Here's an example: HTML Snippet: <div class="alertText">26 friends joined</div> Trimmed: 26 I'm sorry for the very vague description, but I'm not real...

Two forms share same input

Hi How can two forms share the same inputs? I have two forms, one for two different paths... if i wanted to get the user to enter their name, but only once.... how could both forms get hold on this field? ...

why isnt this php working, i get undefined index...?

Hi. I am trying to upload an image to the server. I hava a form with a couple of inputs... INSIDE this form, I have an Iframe which contains another form for the upload, this because I dont want the original form to submit(). The original form basically: <form> ...... bla bla bla alot of inputs....<iframe src="pic_upload.html">...