₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,053 members, 8,420,072 topics. Date: Thursday, 04 June 2026 at 10:42 AM

Toggle theme

Lanbaba's Posts

Nairaland ForumLanbaba's ProfileLanbaba's Posts

1 2 3 4 5 6 7 (of 7 pages)

WebmastersRe: Site Review Plsss by lanbaba: 6:53pm On Jan 13, 2010
am a newbbie in the coding game but i can confidently say that css is worth learning. why use table for layout, and of course thanks to the house wink
WebmastersRe: My Javascript Codes Are Not Working by lanbaba(op): 6:30pm On Jan 13, 2010
still not working. although am not trying to use it now.  just wanna see the wonders of javascript. will download the e-books tonight. thats from css e-book. dont even understand a line of code there.
yeah was trying to chat with you through trudigits. guess i will call you then.
WebmastersRe: My Javascript Codes Are Not Working by lanbaba(op): 6:15pm On Jan 13, 2010
the truth is i havent learnt javascript, just like i said, i copied the codes from a book. i will correct what you said. wld love 2 talk to you one- on-one. cant sign in messenger. . , i  search ken sawyer and saw more than a billion people, want to discuss somethings. which ken is your our search for me and add me
WebmastersRe: My Javascript Codes Are Not Working by lanbaba(op): 5:59pm On Jan 13, 2010
The script is suppose tow ork like this:you click the button
once to exchange the images — no toggling.

only the image named texture is been displayed on my system both with IE and FF
WebmastersRe: My Javascript Codes Are Not Working by lanbaba(op): 5:47pm On Jan 13, 2010
three jpg format pictures named: first, second and third are required for this.
this is the visual basic version of the code

<html>
<head>
<SCRIPT LANGUAGE=VBScript>
function fadethem()
myimage.filters.item(0).Apply()
myimage.src=”second.jpg”
myimage.filters.item(0).Play()
end function
</SCRIPT>
<style>
H1 {font-size: 42px;padding-left: 3%;}
BODY {background-image: url(texture.jpg);}
</style>
</HEAD>
<BODY>
<br>
<H1> Join us! We Have all Styles of Houses</h1>
<IMG ID=myimage width=60% height=70%
src=”first.jpg”
style=”filter:progid:DXImageTransform.Microsoft.
fade(Duration=2);
border= 14px solid peru inset; position=relative; left=20%;”>
<br><br>
<INPUT type=button style=”position=relative;left=83%;fontweight:
lighter;
font-size: 20px; width: 120px; font-family: ‘times new
roman’; height: 44px”
value=”See More” onClick=”fadethem()”>
<IMG src=”first.jpg” style=”width:1;
height:1;visibility:hidden”>
<IMG src=”second.jpg” style=”width:1; height:1;
visibility:hidden”>
</BODY>
</html>



for the javascript version:
<SCRIPT LANGUAGE=JavaScript>
function fadethem()
{
myimage.filters.item(0).Apply();
myimage.src=”second.jpg”;
myimage.filters.item(0).Play();
}
</SCRIPT>
WebmastersMy Javascript Codes Are Not Working by lanbaba(op): 5:15pm On Jan 13, 2010
when i paste javascript codes, it does not work.i mean codes that
are copied from a book. or are they suppose to work only when
you are connected to the internet? of course i have javascript enabled in my browser.please what are the possible causes or what am i not doing well.
PhonesRe: I Cant Install Opera Mini On My Lg Ku990 Viewety Phone.pls Help by lanbaba(op): 5:11pm On Jan 13, 2010
pls i cant see any reply
WebmastersRe: Pls I Need A Free Javascript Ebook by lanbaba(op): 11:53am On Jan 13, 2010
pls recommend a major one
WebmastersRe: This Is For All The Contributors by lanbaba: 5:12pm On Jan 12, 2010
I wld say that i have really benefitted from NL.of course thanks to all contributors
WebmastersRe: Having Problem Using Filezilla by lanbaba(op): 4:08pm On Jan 12, 2010
Out of base,internet connectivity is quite inefficient where i am. But i tried uploading, but am not how many files were successfully uploaded.
WebmastersPls I Need A Free Javascript Ebook by lanbaba(op): 4:03pm On Jan 12, 2010
Pls i nee a free javascript ebook. Something like css for dummies
WebmastersRe: Web Site For N1,000(php,html) by lanbaba: 5:20pm On Jan 11, 2010
@ pc guru: please explain what you mean by his code differs on different browsers. Is it that dreamweaver generate more than one code for a particular page? Please enligthen me
WebmastersRe: Having Problem Using Filezilla by lanbaba(op): 4:39pm On Jan 11, 2010
Thanks dual.away from my system, am doing this on phone.as soon as i am on my system,i will give u feed back.
WebmastersHaving Problem Using Filezilla by lanbaba(op): 3:59pm On Jan 11, 2010
I have been tryin to upload my site with filezilla but am having problems with it. Am trying 2 upload to a free host/subdomain to test my work before a paid webhost
PhonesI Cant Install Opera Mini On My Lg Ku990 Viewety Phone.pls Help by lanbaba(op): 10:54pm On Jan 10, 2010
I cant install opera mini on my LG ku990 viewety phone. what could be the problem . Pls help me
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 10:27pm On Jan 10, 2010
Wow!worked in both FF and IE. Wonderful peeps. Although z-index value didnt work,but it is doing wath i want it to do. Thanks so much. Pls i opened a thread on "lil prob i have with uploading my work". Pls check it out
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 9:29pm On Jan 10, 2010
I guess dey call it superimpostion.for example if u want the w word 'me' to appear on (be superimposed on) the word 'you', the paragraph that contains 'me' is given a z-index value of say 2.i use the following code for illustration <p style="position:absolute; top:1px; left:1px; z-index:2; ">me</p> <p style="position:absolute; top:1px; left:1px;">you</p> .in the above code,me and you will appear on top of each other,but me will appear on top because it has a higher z-index value,right? So my question is how will you do something similar if u are floating and not using coordinate(top and left) .thanks
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 7:10pm On Jan 10, 2010
I think i am really loving floating. How do i place the content of divA on divB using z-index . Cos in absolute positioning(top&left), you simply give values of coordinates that makes them intersect and then give a higher z-index value to divA. My question is 'how do u make divA appear on divB while floating?'
WebmastersLil Problem While Trying To Upload To Test My Little Work by lanbaba(op): 2:10pm On Jan 10, 2010
i have been trying to upload a mock site i built. just a page though, am using filezilla and freehost/free subdomain from eu.pn, just aint working, though my guild is an e-book, can someone please recommend a freehost/domain that he or she has used, and the person should be willing to hold my hand(step by step support). thanks, i need to upload this so as to encourage me
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 5:32pm On Jan 09, 2010
woo hoo, just like dual said, "saved by the babe" . i did all the stuff and it worked. actually , i was clearing outside the containing div, thanks guys
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 11:09pm On Jan 08, 2010
Yes yawa. I set d width of both p and of course d containing div and got dem staying side by side.actually, dats not d prob. D prob is dat d paragraphs are nt inside d div's border. D paragraphs appear under d border as if i set d div's height to zero. Note: the paragraphs appear side by side jst as i want.
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 9:34pm On Jan 08, 2010
Css part withborder {border-style:solid; border-width:2px; border-color:grey;} clear {clear:both; } ,
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 8:57pm On Jan 08, 2010
pls take a look at this

withborder:adds border
clear:clears both

<div class="withborder" >
        <p style="float:left;">Our services are unbelievably affordable. just talk to us, no     matter how small you think your budjet is, we can make it happen for you</p>
        <p style="float:left;">Our services are unbelievably affordable. just talk to us, n        how small you think your budjet is, we can make it happen for you</p>
</div><br class="clear">

in the above code, the two paragraphs are suppose to appear side by side, then the border of the <div> should enclose the two together.

Question: why is it that the two paragraphs appear below the border(although side by side as expected). the div's border shows as if i set the value  of its height to '0'. this also happen if i set the value of the height to 'auto'. mind you i also set values for the respective widths, of course having in mind the box model and it also didnt work,
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 1:00pm On Jan 08, 2010
yawa-tide:
cant still see my code you edited and the reply you typed with it, what is seun doing about it
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 10:15pm On Jan 07, 2010
yawa-ti-de:
Imagine you have 1 carton open on either side. The carton is "container". Now imagine you have a pack of whot cards. You take one and place it at the bottom of the carton. That is "footer". You take another 2 and place them on either side, on top of the "footer". Those are your 2 floated DIVs. You then place a card on top of the 2. That is your navigation. You take yet another and place it on top of your "navigation". That is your "header".

Make sense?
does it mean that the header, navigation, footer in this example are flowing (default arrangement by browser if no form of positioning is specified). ie header is stacked on the navigation, navigation on the 2 floated dis, and the two floated divs are stacking on the footer.stacking here means default positioning by the browser,
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 11:12pm On Jan 06, 2010
think i understood what you said yawatide.i will try it. just the technicalities of iit is the lil prob.but with God andyou guys, its little
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 11:08pm On Jan 06, 2010
pls take a look at the code below,
there are two parts.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<html>
<head>

<style>
body {margin:0px; padding:0px; }
.withborder {border-style:solid; border-color:grey; }
</style>
</head>

<body>

<!-part 1-->
<div class="withborder" style="float:left; padding:3px; width:200px; height:auto; margin-left:200px;">
<p class="withborder" style="">As is usual wi</p>

<p class="withborder" >God is verposition:relative; position:relative; <p/>

<p class="withborder" >lanre As is usual with positioned below a
floating element, use clear.</p>

</div> <!--end of part1-->



<!--beginning of part 2-->
<div class="withborder" style="">
people text andth CSS (and impossible in traditional HTML), you can apply the
clear property to any element, not just text and images. So, if you run into a
situa</div> <!--end of part two-->

</body>
</html>

there are two parts:
part 1 is a <div>(1 will call it <div1>wink that contains some paragraphs. the <div> is surrounded by a border to make it clearer.

part 2 is also a <div>(i will call it <div2>wink

i styled <div1> with float:left.so i expected <div2> to be on the right side of <div1>, it did, just as expected,

problem(1)
but when i styled <div2> with width:50px, it left the right side of <div1> to stay under&left as if stacking. Adding the <div1>width(200px),margin-left(200px) and <div2>width(50px)=450px only. mind you, i didnt clear the float after <div1>, so why should <div2> leave the right side of <div1>.

problem(2)
the <div2> border starts from the top left corner of the browser, even to the content(text)
starts from the left or under <div1> in the two cases above.

thanks.
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 10:05pm On Jan 06, 2010
what i understand by floating is:
if u say a div1 1s <div style="float:left">, and say another div,call it<div 2> follows in the code, it means that 1(the one with style="left:float"wink is at the left of 2, if am wrong pls correct, in the light of this, pls explain the code you wrote further
WebmastersRe: Why Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 8:57pm On Jan 06, 2010
thanks, so clear, but if that container is for example a side bar, do u have to now position the container using absolute positioning (top and left) or u can float the header(logo, menu etc) section and allow it (sidebar) to wrap round it, if you can do this, then let us assume the first element /container on your page is the header(logo ,menu etc) (you will float it, then clear other containers like sidebar around it), do you position the header(logo, menu etc) with absolute positioning else how do you do it?
WebmastersWhy Float Instead Of Using Coordinates (top And Left) by lanbaba(op): 7:08pm On Jan 06, 2010
why float instead of using coordinates (top and left) in css positioning. (ie advantages of floating), what are the possible difficulties that one would encounter while trying to float. cos am yet to fully a\understand it,
WebmastersRe: I Need A Free Domain Name And Web Host by lanbaba: 12:42am On Dec 02, 2009
try eu.pn. free hosting+ subdomain if dats what u want
WebmastersRe: I Need Free Web Hosting To Test My A Website I Just Designed by lanbaba(op): 4:22pm On Dec 01, 2009
thanks man, useful info

1 2 3 4 5 6 7 (of 7 pages)