I have a horizontal menu consisting of <li> elements with display: inline.
The elements are supposed to be next to each other seamlessly.
In the source code, I would like to have each li on one line for easier debugging:
<li class="item1 first"> ... </li>
<li class="item2"> ... </li>
...
However, if I add a \n after each element, th...
Hi friends,
I have an issue about print paging. you can see my code below. it is not making page break for the print preview :( any idea what can be the problem?
Appreciate helps!
HTML Code
<h1>header text</h1>
<p>Lorem Ipsum jhdfb jdhbg sdfgshdbfgkjhsdbgkjhbs d sdgf</p>
<div class="pagebreak"></div>
<h1>header text</h1>
...
Is it possible to use CSS to work like frames?
What I mean is, when we use frames (left, right for example), clicking on left will refresh only the right section using the 'target' attribute.
Is it possible to create this effect with CSS?
Thanks.
...
Hi,
I have a multilingual site and I am having a problem inserting Chinese meta tags. These are transformed into question marks.
Is there a way how I can achieve this?
Many thanks
--EDIT--
The table storing the SEF Urls is in the latin1_swedish_ci character set. How can I change this single table to utf8_general_ci without breaking ...
What would be the best way to have preloaded data in html and then used with javascript. I do not want to use variables in javascript or save an ajax query.
It may be an XML data into a hidden div? .
Example:
1; Europe
2; Latin America
------------------
2, 1, Argentina
2, 2; Brazil
2, 3, Chile
1, 4, France
1, 5, Spain
1, 6; Italy
...
I have an aspx web page (opener) which opens a popup window
In the popup window I need to retrieve the value of a hidden field which exists in the opener page.
So this is all straight forward using Javascript.
However, here’s the problem, I need the value of the hidden field to be processed SERVER side before the pop up page loads
(B...
I want to output a single line of text to the browser that contains a tag. When this is rendered it appears that the DIV causes a new line. How can I include the content in the div tag on the same line - here is my code.
<?php
echo("<a href=\"pagea.php?id=$id\">Page A</a>")
?>
<div id="contentInfo_new">
<script type="text/javascr...
Hello,
I created a Microsoft Word Add-In that puts the text of the current document in a string using this line:
string text = Globals.ThisAddIn.Application.ActiveDocument.Content.Text;
now I'm trying to put inside the string, the HTML formatted text of the document, just as if I would save the document as an HTML file and read the f...
Hi,
I am trying to embed a flash movie (.flv) into a webpage with a transparent background.
Requirements:
- Flv runs in transparent mode - I must be able to view html contents below.
- Movie does not auto play
- Movie is contained in a div and positionend absolutely using CSS
- No video controls or overlays, you shouldn't know it's an ...
This is my HTML:
<ol id="front-page">
<li>
<img src="images/defaultImage.gif" alt="Default Image" />
<a href="#" title="Title Entry">Title Entry</a> </li>
<li>
<img src="images/defaultImage.gif" alt="Default Image" />
<a href="#" title="Title Entry">Title Entry</a>
</li>
<li>
<img src="images/defaultImage.gif" alt...
Hi all, I have a button , <input type="button" name="button"> when I click on it I submit a value from another input text <input type="text" name="btxt"> to a javascript that does some irrelevant action to this question,
Question: Is it possible that I trigger this javascript by pressing return on the keyboard instead of clicking on th...
I Like to call the page using header(), but the following error occurs,
Cannot modify header information - headers already sent
why?. How to sort it out. Help me. My code is attached
if ( $_SERVER['REQUEST_METHOD'] == 'POST' )
{
$adduser=new Users();
if($adduser->checkmob()==true)
{
$adduser...
Hi, I have some source code files which came to me by an HTML output, so they're pretty unusable.
I have things like this:
%include "macros.mac"
Which should be:
%include "macros.mac"
Is there any script (sh, perl, batch, ...) to convert every file (there are about 200) to the appropriate characters? Characters include &...
After spending a not-insignificant amount of time converting a page that used concatenated html, like
string output = "";
output +="<ul>";
foreach(MyClass item in MyItems)
{
output += "<li>"+item.Name+" - "+item.SomeProperty.ToString()+"</li>";
}
output+="</ul>";
literalPlaceHolder.Text=output;
to use the ListView control, I've jus...
Im encountered the above error and strucked up, thinking that for 3 hours. Is there any way to solve this??
...
Hi,
Is it possible to take the content that is under a specific <div> and email that content?
For example:
If I have something like this:
<div id="1">
<ul>
<li>a</li>
<li>b</li>
<ul>
</div>
Basically I want to just reference <div> and take the whole content and email it.
is there any way to cache the contents in the div?
Is this a...
I have about 8 paragraphs which I would like to float left, but some of the paragraphs have more text than others.
So when I view in a browser, I get the left to right floating that I want, but I get multiple short paragraphs in a column when some paragraphs are longer and some are shorter.
What I want is for each new paragraph to be i...
I am wondering the best way to store html templates in a database where I am able to retrieve them and insert variables.
Obviously I could store them as php and then 'EVAL' the record.... but I heard it was evil.
is there a better way? :)
edit:
Sorry I wasn't clear... I tried to simplify it by saying html templates... what I really m...
I've heard that putting a block element inside a inline element is a HTML sin:
<a href="http://www.mydomain.com"><div>
What we have here is a problem.
You see, an anchor element is an inline element,
and the div element is a block level element.
</div></a>
But what about if you style the outer anchor as "display:block" in th...
i have a label and input outputted from the shopping cart we are using. i dont want to hack the core of the cart to change the way it outputs. so the code is thus with the input inside the label:
<div id="FormField_29" class="FormField">
<label for="FormField_29_0"><input type="checkbox" id="FormField_29_0" name="FormField[2][29][0]...