This might be a really dumb question, but is it dumb to load the data that is in between the tags in a file and load it via PHP include()? That way it would allow for easier editing. Thanks.
...
I've created a html page which consists of 4 div sections.
How do I change the contents of 1 section based on an event in another (eg: when a button is pressed)?
...
If I define a CSS attribute in both a CSS class and inside an element directly, which value ends up being used?
Let's use width as our example
<html>
<head>
<style type="text/css">
.a {
width: 100px;
}
</style>
</head>
<body>
<div class="a" style="width: 200px;"> </div>
</body>
</html>
What should the width of the div be i...
Hi,
I've seen a "feedback tab" on this page and many others (e.g. UserVoice). I would like to use something similar on my website but in my case the tab won't be clickable. The only purpose of the tab is to keep the website name on-screen at all times in an unobtrusive fashion.
Does anyone know of any good resources that explain the CS...
Hi,
I wonder how to write in html a table with slash splitting the leftup cell? i.e., for the leftup cell in the table, there is a diagonal line splitting it into two parts, with some texts on either sides.
Thanks and regards!
...
So I had to create this splash page in a very short amount of time. Its done will all images.. etc. (its crap, i know. but needed to go up and seo isnt important)
Problem is the inputs are placed "absolute" over top of the images and in IE (of course IE!!) the form inputs arent realy clickable.
link: savemoneytampa.com
html:
<div id...
Hi I made this site a while ago in my table days but have just realised the horizontal scrolling dive doesn't work in Safari.
#galleryscroller {
overflow-x:scroll ;
overflow-y:hidden;
overflow:-moz-scrollbars-horizontal !important;
height:138px;
width:360px;
}
<div id="galleryscroller">
<table width="100%" border...
Hello,
I know there are functions to like is_single() that will return data about the page, but I'm looking for a way to get the following information outside of the loop:
The category of the single post.
AND
The title of the single post.
All I would really need is the post ID in question and I could get all the other information. I...
Hi,
I have 6 png images that I am trying to align as buttons in one line. All the buttons tend to align correctly expect for the last one. I have margin-left:0px, so all the buttons stick together looking like a long tag.
During load time, if the page takes longer the last button loads fastest so loads and just goes all over the pl...
I'm trying to edit phpbb HTML template file with Eclipse Ganymedes version 3.4.1 containing Web Developer Tools.
These template files contain HTML markup with template variable marks in form {*variable_name*}. Now, when trying to open such file, Eclipse trys to validate also these template variable marks.
For example template contains
...
There is some html text stored in the Database which I want to show in an html text area as it was in the Database.
Text in DB is:
<SPAN STYLE= "" >I should have known this....</SPAN>
but when I show it in the text area it gets displayed as:
I should have known this
</SPAN>
">
I am filling the text area like so:
<textarea class...
Hello,
Say, I want to align 4 images in a single row, with spacing among each images according to my preference. Most of the time, I have to achieve this by hand coded HTML/CSS using div, float, padding...
I try to speed up my development process, by trying several WYSIWYG editor like http://ckeditor.com/, http://tinymce.moxiecode.com/...
I know this question has already been asked but mine is a little different.
I have a textarea whose value I have set like so:
<textarea><span>all this inside textarea</span></textarea>
now i am doing some ajax with jQuery and want to set the value of the textarea via jQuery.
Following is my jQuery code.
jQuery(function(){
jQu...
Hello, I have a web page that uses jquery ajax to grab the table markup from another static page and insert it into my homepage and display it. The table I'm inserting contains images and the table displays before the images have been downloaded. So when my code displays the table, you can see the images showing up one at a time as they'...
I want a scroll bar inside a page for complex rich:dataTable.
I can not use scrollableDataTable since the table has very complex structure.
Currently i used div with width in pixels. But the width is changing for different computers.
Can anyone help ?
...
Hi all.
I searched for a way to open a select element (combobox like) in ie6 from javascript.
document.getElementById("sel1").click();
This method works fine in Firefox but doesn't in ie6. So does anyone know a way to do that?
...
Hi all,
Can anyone tell me how can i add an image in Select box
HTML
<option id ="OP_{$LANG.MY_ID}" class="boardDialog" style="font-size:12px" value="OP_{$LANG.MY_ID}">
CSS
.boardDialog{
background-image: url(../images/Work_Board_Member.png);
background-repeat: no-repeat
}
This is working fine on Mozilla but does not wor...
I have a form with multiple submit buttons, each of which is relevant to how the user wants the data saved and/or loaded.
The problem is (or was) that if a user pressed enter on the last (or any other) input within the form, the submit button that seemed to be called was the "load saved formed" which is at the top of the form. All attem...
I want to make stats for my website. One thing I want to do is to know how many people bookmark my website. What's the best way to do that without a survey?
...
Hi
Our CMS allows users to enter text using a html editor, so when reading text into the webpage I can text like this:

 <p>
 <strong>text text. more
text</strong>
 <a href="http://blabla>blabla</a> even more text...
How can I strip everything but text including , and . and similar cha...