html

mod_rewrite for friendly urls unexpected behaviour

I have Apache and I have this in the .htaccess file: RewriteEngine on RewriteRule ^myhome myhome.php because I want to redirect /myhome/ to /myhome.php. It works, but it behaves unusually. When I type in myurl.com/myhome, it redirects to myurl.com/myhome.php correctly, but when I try myurl.com/myhome/ with the slash at the end, it red...

Footer is sticking to bottom = good, but main content has scrolls as if footer is fixed = bad

Check my link below. I have my footer stick to the bottom of the screen if you have a large screen, but now if you are on a smaller screen, there is a scroll bar that appears before the footer. Why is this? http://boldstyle.allthingswebdesign.com/something.php ...

How To Breadcrumb Menus

Hi, Hoping someone can assist with how to incorporate a breadcrumb menu into my website. I basically have a sidebar menu with submenus, which I also want to setup as a breadcrumb menu. Would appreciate some help on how to achieve this. Any "how to" urls would be great. Thanks. ...

How to prevent form from being submitted?

I have a form that has a submit button in it somewhere. However, I would like to somehow 'catch' the submit event and prevent it from occurring. Is there some way I can do this? I can't modify the submit button, because it's part of a custom control. ...

Finding and wrapping text with tag in another tag

There is a text for an exception result like that: <span class='sException'>Exception throwed. Please check details: Message:String was not recognized as a valid DateTime. Stack: at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style) at ... </span> I want to wrap some texts(Message:...

IE7 Hack for float/block bug

Hi there. I'm having trouble getting this layout to work in IE7: <span class="box">Headline<a href="more">More...</a></span> .box { display: block; } .box a { display: inline; float: right; } All browsers display it in the right manner; Headline More... But IE7 makes this: Headline ...

CSS Opacity little problem ...

Hello everyone ... I'm trying to create a div that has the opacity of 60%, but i want the content of that div to be clear and not transparent. The div with the class "white_bg" should have the background color white with 60% transparency, but i want the text and the image inside that div to be clear and not transparent at all ... is th...

select rows in a table except the table header rows

Hi, How to select rows in a html table except the table header rows using jquery? <table id="mytable"> <thead> <tr> <th> Foo </th> <td> Lorem </td> <td> Ipsum </...

integrating a new component in an old website ?

hi, I have an old website and I've been asked to implement a small forum to display in a specific website block. I've implemented this forum with Drupal and now I need to integrate it into the old website. I was wondering how to integrate it: should I just create a 1 to 1 copy of the old website page and add the Drupal forum or shou...

PHP Convert word to html with COM

Hi, Here is my code: $file='C:/a.doc'; $saveas=__DIR__.'/tmp/a.html'; $word=new COM('word.application'); $document=$word->Documents->Open($file); $document->SaveAs($saveas,8); $word->Quit(); $word=null; echo file_get_contents($saveas); ...

Convert HTML to PDF in python on Google App Engine

I have had a look at this thread: http://stackoverflow.com/questions/327700/how-to-dynamically-generate-a-pdf-from-googles-appengine I know we can use ReportLab, however, I am not sure how i can give it a HTML file and get a PDF. Basically, HTML in and PDF out ...

Button text shifts on click

Hi, I've noticed that on my drupal site when I click a form submit button, the button's text shifts by about 1px to the right in firefox(PC), and 1px to the right and to the bottom in IE and Opera. In Chrome this does not happen at all. This looks sloppy. Anyone know why this is happening and if it's possible to prevent? I'm using the ...

how to place the default text in the <textarea>

i am try to place the default text in the textarea using the 'value' property.But it is not working. please give me some solution for this. ...

CSS: Where is a tag being applied?

I'm working on a website for a volunteering organisation whose parent organisation ordered us to implement a rebranding and gave us several css sheets. My problem is this: A page is structured like so: <h1>Heading</h1> <p>blah</p> <p>blah</p> <p>blah</p> From what Firebug tells me, the first paragraph is being given a p.intro proper...

login to Vbulletin And View Topic Using Java

Hi i want to login to Vbulleti**n Forum and save the first Topic of one thread which is in the " " html tag using **Java. i search the web and found many libraries that could login like httpComponent-Client, but i dont know how to get the data that is in the div . i need you to guide me on whole process and how to start. i think i should...

HTML Page Size - page weight

Hi all, I have to measure the over all page size of all the pages on my company's intrAnet site. Please let me know how I can measure / calculate it. Expectation : I open the intrAnet page in IE/Firefox. After it is completely loaded, the tool or utility should give me the complete size of page. PS : Complete size of page means :Accu...

JS: How to reload the same webpage with param on dropdown change event?

I have a form in vehicles.php: <form name='vehicleform'> <select name='vehiclelist'> <option value=''>Select</option> <option value='bus'>Bus</option> <option value='bike'>Bike</option> <option value='car'>Car</option> </select> <input type='text' name='current'></input> </form> When user open vehicle.php first time then in...

CSS: change buttons layout

What's the easiest solution to customize default buttons in the web pages ? I need to change the button shape, from this: to this: I prefer to not use javascript, and I only need cross-browser solutions (IE included). thanks ...

Reusing the same SVG in a PDF with wkhtmltopdf

I have the following HTML for conversion to PDF using wkhtmltopdf: <html> <head> </head> <body> <object data="first.svg" width="100" height="100" type="image/svg+xml"></object> <object data="second.svg" width="100" height="100" type="image/svg+xml"></object> <object data="third.svg" width="100" height="100" type="image/svg+xml"></objec...

HTML: Why script tags should always have full ending?

Possible Duplicate: Why dont self-closing script tags work? I wonder why scripts included into header html tag should always have full ending <tag></tag> like this: <script src="/scripts/jquery-1.4.1.min.js" type="text/javascript"></script> while xml well-formed shortened form <tag/> makes browsers crazy: <script src="/scr...