html

How do I make text bold in HTML?

I'm trying to make some text bold using HTML, but it doesn't work. Here's what I'm trying: Some <bold>text</bold> that I want bolded. Could someone tell me what I'm doing wrong? ...

Authoring HTML5 in Emacs?

What's the best solution for authoring HTML5 in Emacs? Is there a mode that will do conformance checking? ...

JS: Specifying current element in the menu

Hi! I have a menu: <ul> <li id="active"><a href="/">Головна</a></li> <li><a href="/about/">Про компанію</a></li> <li><a href="/work/">Діяльність</a></li> <li><a href="/initiative/">Ініціативи</a></li> <li><a href="/statti/">Статті</a></li> </ul> Can you suggest a way to change id=active attribute for this li...

HTML/CSS Formating question

Hi, Im just messing around with Ruby on Rails and HTML. This question isn't about RoR, but HTML and CSS. When I center my body, I get this: How can i get the bullets to be centered next to the text as well? Also, how can I get the while border collapse so its closer to the text? Thanks! Here is my code: My app layout: <!DOCTYPE h...

Problem with HTML? Scrollbars Not Appearing via window.open

I have a VB.NET web application where I am opening a window when a user clicks on a link to view some external tabular data. The data I'm displaying definitely requires a vertical scrollbar in order to see everything...For some reason I cannot get a vertical scrollbar to show up when the new window loads. Here's the JS that opens the wi...

How can I add padding to html dropdownlist?

I want to add padding to the options of html "select" tag. I try to add it in the style property of "select" and "option" and it doesn't work in IE. What can I do? ...

Jquery, Links

I need to select with jQuery <a href=""> , but only 'href' with extentions '.JPG' or '.jpg' for example : to find only this 'links' <a target="_blank" href="images/test.jpg" class="highslide "> <img src="images/test.jpg" alt='img'/> </a> <a target="_blank" href="images/test.JPG" class="highslide "> <img src="images/test.JPG" al...

Working with html, css code in a JSP page

I am a web designer. As a team member of a web application project, I some times need to work on the jsp pages to modify html, css. I feel uncomfortable seeing the jsp tags which I don't understand. Did any member of this site gone through this kind of experience? If so how you manage to edit? Do you use a particular tool which highlight...

RegExp to strip HTML comments

Looking for a regexp sequence of matches and replaces (preferably php but doesn't matter) to change this (the start and end is just random text that needs to be preserved) IN: fkdshfks khh fdsfsk <!--g1--><div class='codetop'>CODE: AutoIt</div><div class='geshimain'><!--eg1--><div class="autoit" style="font-family:monospace;"><span cla...

input type=file show only button

Is there a way to style (or script) <input type=file /> element to have visible only "Browse" button without text field? Thanks Edit: Just to clarify why to I need this. I'm using multi file upload code from http://www.morningz.com/?p=5 and it doesn't need input text field because it never has value. Script just adds newly selected fil...

Positioning Issue...

I have this issue that's not allowing me to absolutely position a footer. I place it and It appears with like 5px margin in IE a lot of margin in Firefox and perfectly in Chrome...I really don't know why this happens...here's the HTML: <p>In posuere dapibus mauris, et elementum magna rhoncus quis. Morbi ultricies malesuada magna, vel po...

How to show XSL-converted XML as a part of an HTML page?

Can I embed an XML file in HTML without using iFrames? I want to show XSL-transformed XML(which, is HTML as a result of transformation) as a part of my HTML document. Hope this makes it clearer. If my description of problem is unclear, please tell me and I will try to explain it more. ...

IE6 PNG transparency fix for images being used with rotate.php

Hi , I am using the standard rotate.php script to rotate the header images in my website (drupal 6.10). However the images being used have a transparent background which gets rendered as a dull blue in IE6. I have tried using PNG fix : twinhelix.com , have used modules pngfix and pngbehave .. but to no avail. The website is : [http://ww...

Is there any way to combine transparency and "ajax usability" with HTML templates

I'm using HTML_Template_Flexy in PHP but the question should apply to any language or template library. I am outputting a list of relatively complex objects. In the beginning I just iterated over a list of the objects and called a toHtml method on them. When I was about to have my layout designer look over the template I noticed that it...

Inline Elements With Width

This question seems to be asked freqeuently over the internet but I still can't find a solution. I have this navigation bar (It switches between tabs using jQuery) which displays inline. I'm showing a background image on these and to make them more definitive I need to make them wider and higher. <div id="tabs"> <ul id="tabs-nav-cont">...

How to manipulate form field values in jQuery

I'm trying to get the value of a few checkboxes and enter them in a hidden form field, is there a way to do that in jQuery, my checkboxes look like this <form> <input type="checkbox" name="chicken" id="chicken" />Chicken <input type="checkbox" name="meat" id="meat" />Meat </form> <form method="post" action=""> <input type...

setStyle in Prototype doesn't appear to be functioning as intended?

http://i44.tinypic.com/b69h1h.jpg Take a look at the above image, especially the Firebug window. Now have a look here: http://i40.tinypic.com/v2z4up.jpg Has anyone noticed that my JS isn't working? This code was working when I wrote it and let it sit individually, but now that I've integrated it into a site, it appears that the vote ...

I've got a trouble in css and jcarousel lite

I had this HTML code like that: <ul> <li> <div class="Items"> <div class="WrapImage"> <div class="caption-right"> <span class="icon1"></span> <a class="time" href="">4:03</a> </div> <div class="Images"> <img src="/images/images/rightColumnImg.gif" /> </div> </div> <div class="text"> <a href="">A good clips you should click to see</a> <p...

Parsing HTML rows into CSV

First off the html row looks like this: <tr class="evenColor"> blahblah TheTextIneed blahblah and ends with </tr> I would show the real html but I am sorry to say don't know how to block it. feels shame Using BeautifulSoup (Python) or any other recommended Screen Scraping/Parsing method I would like to output about 1200 .htm files i...

Align Checkbox inside a <div>

Hi, I seem to be having a strange problem wich I cant fully understand. This is my html: <div class="menu"> Por favor seleccione os conteúdos: <br/> <br/> <br/> Nome: <input name="Nome" class="checkbox" type="checkbox" value="Nome" checked /> <br/> <br/> Data: <input name="Data" class="checkbox" type="checkbox" value="Data" checked />...