html

How to parse this piece of HTML?

good morning! i am using c# (framework 3.5sp1) and want to parse following piece of html via regex: <h1>My caption</h1> <p>Here will be some text</p> <hr class="cs" /> <h2 id="x">CaptionX</h2> <p>Some text</p> <hr class="cs" /> <h2 id="x">CaptionX</h2> <p>Some text</p> <hr class="cs" /> <h2 id="x">CaptionX</h2> <p>Some text</p> i n...

HTML layout without tables?

I haven't done a lot of HTML in the past. What is the easiest why to display two buttons, one underneath the other, without using a table? ...

Error 403 on form submit

Hi, I've got a problem with a form in the administration area of my website. I use it for changing the displayed HTML text, it is written in PHP and connects to a MySQL database. echo "<form action=\"index.php?kat=infos&aktion=upd&kategorie=$kategorie\" method=\"POST\" enctype=\"application/x-www-form-urlencoded\">\n"; echo "<table bor...

how to display query result in multiple pages

in my application the jsp is calling the method to fetch records from database.the method returns an array and using for loop the array values are displayed using jsp technology in the html page. if suppose the array length is 100 then 100 records are displayed on the same page.i want that 20 records should be displayed on the page and u...

How to place mouse cursor to certain input box

Hi, How can I place the cursor automaticly to certain input box. This would help to not use the mouse all the time when open the page. (php and html) Thank you! ...

How to fix height of TR?

Is it possible to fix the height of a row (tr) on a table? The problem appears when I shrink the window of the browser, some rows start playing arround, and I can not fix the height of the row. I tried several ways: tr width="20" / tr style="height:20px" / td height="20" / td style="height:20px" I am using IE7 Thanks in advance. S...

How to edit and see live CSS effect in IE8 like we see in Firefox > Web developer toolbar > Edit CSS function?

How to edit and see css effect in IE8 like we see in Firefox > Web developer toolbar > Edit CSS function? Where is similar function in IE8 developer toolbar or does any other IE plugin have this type functionality? ...

HTML design - 100 % is not working for the element

Hii, I am using .net 2008. When i designing the page in HTML, i have given the height of the outer table to 100%, but it is not taking to the full height of the window ...

copy html div in javascript variable using jquery

in my aspx page i have a div which contains simple html ,has some id(say 'datadiv') using jquery i want to get the html of that div (entire div) into a JavaScript variable how can it be done? thank you. ...

Place content in JavaScript (HTML files)

Hi, How to place content (example: simple text) in JavaScript? I need it to be like youtube, where the video is only visible on JavaScript enabled browser. Thanks. ...

Add hyperlink to textblock wpf

Greetings, I have some text in db and it is as follows: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis tellus nisl, venenatis et pharetra ac, tempor sed sapien. Integer pellentesque blandit velit, in tempus urna semper sit amet. Duis mollis, libero ut consectetur interdum, massa tellus posuere nisi, eu aliquet elit lacus ...

How to get min-width or similar to work on whole page? IE7 and 8

Hi, I am creating a Web page, the problem is that when I shrink the window of the browser, the tables and the div will shrink at the size they need to fit the content, and it makes the page look terrible. I have to declare a width of 90% for all elements, but when I declare min-with:700px; to all elements (div and tables) do not obey an...

Password character in php

Now I'm at security, how can I make the password like this-->> * in php?Please help. Is it on the textbox. ...

Displaying HTML in GWT Panel

Is there a way to display HTML in a GWT Panel? ...

Flash HTML text not showing

Hi, I'm trying to display HTML text in a text field on the stage, but the text formatting doesn't show. I am embedding all font variations in the library (arial bold and arial regular) and I even have dynamic text fields on the stage that embed arial bold and arial regular. Still, this code does not display bold text: myField.htmlText ...

YUI: Where are forms?

I am comparing ExtJS and YUI. They seem pretty much tied on the technical side. ExtJs costs money, not much. But YUI is free. Maybe I am missing something obvious, but ExtJs lets you define forms. I didn't see forms in YUI. Where are they? ...

Link to Homepage is forwardslash

Im have the default routing and write a link to the Homepage in my view <a href="<%=Url.Action("Index" ,"Home")%>">Link</a> The generated content is a forward slash. <a href="/">Link</a> This link works in Firefox but in IE8 no request is sent to the server when the link is clicked. Is a forward slash a valid content in a link? ...

Anchor links that point to ID of a hidden element will cause browser to automatically show the element and scroll to it when clicked.

Anchor links that point to ID of a hidden element will cause browser to automatically show the element and scroll to it when clicked. I've seen some girl post a demo of this, but I cannot find it anymore. No JavaScript please. ...

Set Link as Active by Default

I have 3 links that represent the content for one iFrame in my page. When you click each link, it'll reload the contents of that iFrame without reloading the page. How do i set one link to be active/selected by default, cause what's happening now is the page loads, but still i have to click on the link before the content of the iFrame l...

Is it wrong to use paragraph tags for html for inputs ?

Hi, So far I mostly put labels and inputs inside a dedicated paragraph tag : <p> <label for="myInput">Blah</label> <input type="text" ... /> </p> But this tag is made for text paragraph. Is is semantically right to use it this way ? Should a div be used ? ...