html

Problems after upgrading to PHP 5.2.6

I am in a predicament here. My PHP code used to work but since I upgraded to PHP 5.2.6 I now get: Warning: domdocument::domdocument() expects parameter 2 to be long, string given in C:\xamps older\xampp167\htdocs\test\myphp\CSR Demo pack\csr\output.php on line 46 Fatal error: Call to undefined method domdocument::loadHTML() in C:\xamps...

can we use rowspan and colspan in displaytag?

i have to create a table, whose structure is like this |--------------------------------| |col1|col2| col3 |col4| | | | col3.1 | col3.2 | | |----|----|--------|--------|----| |----|----|--------|--------|----| Is it possible to create such structure using display tag? ...

Can I control labels when using RadioButtonLists?

This protected void Page_Load(object sender, EventArgs e) { RadioButtonList1.Items.Add(new ListItem("London","1")); RadioButtonList1.Items.Add(new ListItem("Paris", "2")); } and this <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatLayout="Flow"> </asp:RadioButtonList></div> produce HTML something like...

can i post data without using submit button

i am in a situation using two submit buttons in a same page. is there any alternative to post data without using submit button?. help me ...

How to prevent access of admin pages by knowing the admin page url?

If someone knows my url of the admin page such as www.example.com/admin.php, then they will easily access the page by directly accesing that url. How to restrict this. Please help ...

How to middle vertical align a radio button against an image in html?

I have multiple image of 100x100. I ask the user to choose one of them by putting an radio button before each of them. This is the code : <div> <input type="radio" name="pic" value="1"/><img src="pic01.jpg"/><br/> <input type="radio" name="pic" value="2"/><img src="pic02.jpg"/><br/> .... and so on... But the problem is that ...

Continuous Image Marquee in HTML

Hi, I need Continuous Image marquee in HTML in horizontal direction. I got the code for text marquee it is working , but not for images. Thanks in advance. Continuous text marquee link: http://www.dynamicdrive.com/forums/showthread.php?t=28742 ...

Is this the right way to preload images ?

Is this below the right way to preload images? I have a table which changes background once a 'select option' is changed. In the body of my page, I have this: <body onload="preload();"> And in my Form on the same page I have: <select onchange="swap();"><option bla bla></select> And the js: function preload(){ pic = new image(...

why Html form mail gives the coordinates of the image button in firefox

I have a html mail form and I was just wondering why I get the coordinates of the submit image button in the body of the message in firefox, is there a way to delete that. thanks <form method="post" action="mailto:[email protected]?subject=Password Request enctype="text/plain"> <input type="image" id="email_button" ...

Getting a <td>'s height and a <p>'s font size with JavaScript

How can I get and set a <td>'s height and a <p>'s CSS property font-size with JavaScript? ...

how validate file size using HTML and Javascript on client side

Hi All, how can i validate the file size on the client side using javascript i am using type=file for selecting the file Regards, hemant ...

Server error, why this error message appears when i use .htaccess

when I use .htaccess file inside a folder named admin with the following code AuthName "Alertme" AuthType Basic AuthUserFile /mobs/.htpasswd require valid-user and .htpasswd file with following code rajasekar:66Acdia7gE1to While accessing the file inside folder, it gives server error, The server encountered an internal error and wa...

HTML How to markup 4 panels in a row for content.

I'm abysmal at HTML so looking for some help in recreating the following. I could do it with a table, but understand that that is a no-no nowadays. So advice is needed. What I am wanting to achieve is four fixed size boxes then spread across the page on a single row. These boxes will have some information in them, possibly text, po...

What is the easiest way to link radiobuttons to enable/disable other controls?

My webpage has a bunch of radiobuttons across a bunch of different radiobutton groups. Each radiobutton selection which is made will enable a directly corresponding element in the page and disable all other elements which correspond to the other radiobuttons in the group. What is the easiest way to make this link between the elements? ...

Why does the "in" icon on my web page appear in the wrong place in IE8, but not firefox or chrome?

On my web page, I have a link to my LinkedIn profile in the Resume section that uses their icon.. Under Firefox and Chrome, it appears in the correct spot, between a pair of square brackets. However, under IE8 (I haven't tried IE7), the icon appears a couple lines below the brackets. I validated against the w3.org CSS and HTML validator...

What is the best to learn next to aply extra functionality to CMS templates

I've learned CSS and HTML, what should I learn next if my goal is to create templates for joomla and worpress? ajax? php? js? I poked around and haven't found a question that is alike so I posted this one thank you in advance! ...

HTML table row height

HTML & CSS Question: I'm trying to confine my table row to one line only (5 mm height, 30 mm length). But it should stay that size, even if it doesn't fit in this space (because else i get problems with the gradient background image size - looking horible). How can I do that? //GRS/Standorte/G08 Zürich Schindlerstrasse/Stando...

Problem with multiple actions onclick

I have a page with a form and navigation links. If you click on a navigation link I need to submit the form as well as follow the navigation request. To do this I have a link who's href is pointing to the new page request and I have the onclick event bound to a function that submits the form on the page. Could this scenario cause hard...

Browser support for <script async="true" />?

Today Google announced the support for asynchronous Google Analytics tracking. The asynchronous tracking is achieved using the async directive for the <script> tag. Which browsers support the async directive (<script async="true" />) and since which version? ...

type php code into textarea, store in database, then execute

Anybody have any idea how I might go about doing something like this. I've got a textarea setup to allow users to edit page content. the content is then stored in a database and is retrieved on the frontend by php within an html template. something like: <html> yada yada... <?php echo get_page_contents_by_id($_GET['id']); ?> yada yada....