|
Try setting the padding and margins of the BODY to 0, and set the margins of the IFRAME to 0.
The default margins for several elements in IE is not 0, so you have to set it expicitly.
Words fade as the meanings change, but somehow, it don't bother me.
|
|
|
|
|
Hi all
I have strange problem with flash movie.
Take a look at the following code snippet:
//***********************************************************///
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="400" height="300" id="movie" align="">
<param name="movie" value="http://www.waves.com/staging/objects/flash/videos/bcl_vdo_stream_small.swf" />
<embed src="http://www.waves.com/staging/objects/flash/videos/bcl_vdo_stream_small.swf" quality="high" width="400"
height="300" name="movie" align="" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
|
//*****************************************************************///
When I save this code as HTML file on my local machine and open it with IE,
I can see the movie, but not the player itself!
If I put this HTML file on remote machine, where the movie is, I see both the movie and player.
The most annoing:
If I change the URL of the movie to my local machine, AND I HAVE THE SAME SWF FILE LIKE ON WEBSITE, I CAN'T SEE NEITHER MOVIE NOR PLAYER!
I am going crazy about this, I am a newcomer in Flash and have no idea what is the matter.
Every idea will be appreciated Thanks
Igor
|
|
|
|
|
Hi Guys
Im putting together my first web page and would like to get a piece of text, well a telephone number actually, flashing. How do i do this?
Thanks in advance for any suggestions
Paul
A Good Instructor Will Lead You Where You Are Too Afraid To Go Alone
|
|
|
|
|
Flashing text or blinking text is just plain abnoxious http://www.catb.org/~esr/html-hell.html[^], but I think you can use the <blink> tag. Don't do it though, for the sake of the people viewing your page!
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Thanks for your reply Steve and I appreciate your comments. I want to make the telephone number really stand out. I've made it bigger and changed the colour. So if I didn't use flashing can you suggest an alternative that will really 'push it in the face' so to speak
A Good Instructor Will Lead You Where You Are Too Afraid To Go Alone
|
|
|
|
|
Just make it bigger.
If i came to your page and it had flashing text i'd be leaving very quickly...
|
|
|
|
|
hi all
I have a big problem :
======================
1)- after i setup (windows 2003 server) and (the iis) and (VS.net 2003)
on my computer i found that problem .
2)- this problem i found it only when i use (ASP.net Web.App VB)
But the (Windows App work very good) when i change the
(Regional and language date formate to dd/mm/yyyy ).
* I can not made any change in ( Date formate MM/dd/yyyy ) from the
(Regional and language )this problem i found it only when i use
(ASP.net Web.App VB).
* I want to change the date format to (dd/mm/yyy) at my (WEB APP VB.NET).
* some one tell me i must format my hard and reinstall the windows and all
other app agin is this a solution !!!!!!!!!!! .
pls help my
thank you all
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
I am developing COM component in VB for My ASP Application.
I would like to know how to handle the versioning problem.
|
|
|
|
|
Hi,
I have a problem with encode and decode unicode text by javascript.
Can use base64 to encode and decode?
Everybody can help me.
thanks.
-- modified at 5:12 Monday 14th August, 2006
|
|
|
|
|
Hi! I Want to Learn Java Script. So I Want a Free Java Script Editor. Can Any One Help Me In This Regards?
Sam.
|
|
|
|
|
|
|
Free, fast, simple, no download required: Notepad.
---
b { font-weight: normal; }
|
|
|
|
|
The following code as produced different outputs for the 3 browers (the output is correct only for FF) when it was supposed to look the same for all of them. Can anybody help?
body { font-family: Verdana; font-size: 8pt; padding: 0; text-align: center; }
div#Container { position: absolute; z-index: 6; margin: 0 auto; }
div#Header { position: absolute; z-index: 4; text-align: left; }
div#Menu { position: relative; z-index: 5; text-align: left; top: 235px; right: 307px; }
div#Content { position: absolute; z-index: 3; text-align: left; top: 235px; }
<div id = "Container">
<!-- Header-->
<div id = "Header">
<table width = "750" border = "0" cellpadding = "0" cellspacing = "0" align = "center">
(...)
</table>
</div>
<!-- Menu -->
<div id = "Menu">
<table width = "135" border = "0" cellpadding = "0" cellspacing = "0" align = "center">
(...)
</table>
</div>
<!-- Content -->
<div id = "Content">
<table width = "750" border = "0" cellpadding = "0" cellspacing = "0" align = "center">
(...)
</table>
</div>
</div>
best regards
hint_54
-- modified at 21:57 Sunday 13th August, 2006
|
|
|
|
|
To me it doesn't really look like its working in any browser, because what comes up for me makes no sense. However, maybe something important got left out when you copied stuff over. Anyway, I would guess, you want a header over the top of two columns menu on the left and content on the right?
If that is right then try something like this instead:
<div id="Container">
<div id="PageHeader">HEADER</div>
<div id="InnerContainer">
<div id="Menu">MENU</div>
<div id="Content">CONTENT</div>
</div>
</div>
with this style:
body,html { margin: 0px; padding: 0px; }
#Container
{
width: 750px;
margin: 15px auto;
border: solid 1px black;
}
#PageHeader
{
height: 100px;
background-color: #abcabc;
border-bottom: solid 1px black;
}
#InnerContainer {}
#Menu
{
width: 160px;
float: left;
}
#Content
{
border-left: solid 1px black;
margin-left: 161px;
}
|
|
|
|
|
It's all fixed now, the problem was in relative and absolute positioning.
hint_54
|
|
|
|
|
hint_54 wrote: the output is correct only for FF
At last someone who have a grasp on reality. Most people having such problems live under misconception that IE is the browser that is correct.
How do they differ?
I know that IE incorrectly applies text-align to block elements.
Why are you using tables in the layout? I hardly ever use a table nowadays, as they are so unpredictable.
I can't really follow how you try to position the elements, with absolute positions mixed with all kind of alignments. Perhaps the browsers get confused also. Try to make it simpler, if possible.
---
b { font-weight: normal; }
|
|
|
|
|
DJGuo wrote: "You should do this, you should do that" is your way of respect while I did not do anything that damaged this board order?
We were only trying to help you. If you don't want help that is fine. You can ignore it if you want.
DJGuo wrote: It was here I found the code I need, why you said that nobody can search and find anything here?
Because search engines like Google and MSN Search do not index the forums. They only index the articles. If you wanted your code to have a good audience you need to make it an article. Again, you can ignore this advice if you wish.
DJGuo wrote: Search engine could not bring here directly to the code I need but it can bring me into the Web Development Board for me to check.
Your code will get burried under other people's posts in a matter of days. While a search engine could bring you to Code Project it will be very difficult to find the code. People also do not tend to use Code Project's internal search capabilities. Which is why you will see that many people ask the same questions again and again.
DJGuo wrote: It was here I was forced to accept the "help" that I do like to force me to accept.
No one forced you to accept anything. As I have said, you can ignore any advice given. But you did not ignore the advice, you argued with the person giving the advice and resorted to childish name calling.
You will have noticed that neither myself nor other participants resorted to such childish antics. We respect people enough not to do that.
DJGuo wrote: Why??????????????????????????????????????????????????????????????????????????????
I have been very patient trying to explain the reasons to you. But you seem to be unable or unwilling to understand. I cannot teach someone who will not learn. (You are apparently a professor so you should understand that). "There are none so blind as those who will not see".
Does this answer your question?
|
|
|
|
|
Looks like I'm talking to myself again.....
|
|
|
|
|
hi
why the seekTo method does not work with the tag audio ????????
Tamimi - Code
|
|
|
|
|
hi there, before I start to explain the whole story, just some css (sample can be viewed here 'http://travalla.com/playground/screwed.htm'):
* { margin:0px; padding:0px; color:#fff;}
body { width:900px;}
#menubar { float:left; padding:10px; width:205px; background-color:#333;}
#content { float:left; width:600px; margin:0px 0px 30px 30px; padding:10px; background-color:#555;}
#content #contentimage { background-color:#777;}
#content #contentimage #info {}
#content #contentimage img { float:left;}
here the corresponding html:
<body>
<div id="menubar">menubar</div>
<div id="content">
<div id="contentimage">
<img src="img.png" />
<div id="info">A nice house in Berlin</p></div>
</div>
<h1>Screwed up test page!</h1>
<p>A longer text. A longer text. A longer text. </p>
</div>
</body>
what I'd like to achive is to have the #info part right aligned in the #contentimage section, whereas the img is left aligned (top edge of the image should be equal to the top edge of the text contained in #info) but using the css above, the h1 and p tag jump right up as well, screwing up everything. the document should continue below the image.
i would use a fixed height of the contentimage box, but I can't, for I don't know how tall the images are. i've spend now several hours testing around with clears, floats, display:block's and the like...
could you help me with this (and turn the saturday into a saturday again)?
regards, prokop
/matthias
I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
|
|
|
|
|
You have nothing that will place the content below the image. That can be done by adding:
#content h1 { clear: both; }
Perhaps you want to put the main content in a division, and use the clear on that.
You should float the info division also, so that the clear is affected by it, if the info text would be larger than the image.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Everyone,
I have a problem in clear the text in file text box.
Just copy the below script and save as an html file and run it in the browser. Click browse to select the file and after selection click R2 and then R1, the file path you have selected remains there. I want to clear the text when i switch between the options. Can anyone help me in this regard.
Thanks in Advance,
Manooj Kumar
<code>
<html>
<head>
<script language="javascript">
function opChng()
{
if (document.test.S1.checked==true)
{
document.getElementById("l2").style.display = "none";
document.getElementById("l1").style.display = "inline";
}
if (document.test.S2.checked==true)
{
document.getElementById("l2").style.display = "inline";
document.getElementById("l1").style.display = "none";
}
}
</script>
</head>
<body>
<form name="test" action="test.html" method="post" encType=multipart/form-data>
<input type="radio" name="optStatus" id="S1" checked removed="opChng()">r1</option>
<input type="radio" id="S2" name="optStatus" removed="opChng()">r2</option>
<table>
<tr id="l1">
<td>
<INPUT id="File1" type="file" name="File1" size=33>
</td>
</tr>
<tr id="l2" style="display:none">
<td>
<INPUT id="File2" type="file" name="File2" size=33>
</td>
</tr>
</body>
</html>
</code>
-- modified at 6:15 Friday 11th August, 2006
|
|
|
|
|
For some reason, the browser does not run code in the <script/> element. However, the code below seems to work.
George
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<style type="text/css">
input#File2 { display: none; }
div#toggle { height: 2 em; }
</style>
</head>
<body>
<form name="test" action="test.html" method="post" encType="multipart/form-data" ID="Form1">
<div id="toggle">
<input type="radio" name="optStatus" id="S1" value="r1" checked onclick="document.getElementById('File2').style.display='none';document.getElementById('File1').style.display='inline';"/>r1
<input type="radio" name="optStatus" id="S2" value="r2" onclick="document.getElementById('File2').style.display='inline';document.getElementById('File1').style.display='none';" />r2
</div>
<div id="files">
<input id="File1" type="file" name="File1" size="33" />
<input id="File2" type="file" name="File2" size="33" />
</div>
</form>
</body>
</html>
|
|
|
|