Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

الدّعوة السّلفيّة بقليبية

spidermanspiderman evertonMember Posts: 13

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



Dynamic Drive: CSS Right Frame Layout

body{ margin: 0; padding: 0; border: 0; overflow: hidden; height: 100%; max-height: 100%; } #framecontent{ position: absolute; top: 0; bottom: 0; right: 0; width: 200px; /*Width of frame div*/ height: 100%; overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/ background: navy; color: white; } #maincontent{ position: fixed; top: 0; left: 0; right: 200px; /*Set right value to WidthOfFrameDiv*/ bottom: 0; overflow: auto; background: #fff; } .innertube{ margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/ } * html body{ /*IE6 hack*/ padding: 0 200px 0 0; /*Set value to (0 WidthOfFrameDiv 0 0)*/ } * html #maincontent{ /*IE6 hack*/ height: 100%; width: 100%; }

<

script type="text/javascript">
/*** Temporary text filler function. Remove when deploying template. **/
var gibberish=["This is just some filler text", "Welcome to Dynamic Drive CSS Library", "Demo content nothing to read here"]
function filltext(words){
for (var i=0; i<words; i++)
document.write(gibberish[Math.floor(Math.random()
3)]+" ")
}

CSS Right Frame Layout

Sample text here

Dynamic Drive CSS Library

filltext(255)

Credits: Dynamic Drive CSS Library



**
http://assets.lfcimages.com/v2/uploads/media/default/0001/13/thumb_12389_default_news_size_5.jpeg****
_Imports System.IO
Imports System.Text.RegularExpressions

Public Class WordCount
Private filename As String
Private nWords As Integer
Private pattern As String = "\b\w+\b"

Public Sub New(filename As String)
If Not File.Exists(filename) Then
Throw New FileNotFoundException("The file does not exist.")
End If

  Me.filename = filename
  Dim txt As String = String.Empty
  Dim sr As StreamReader = Nothing
  Try
     sr = New StreamReader(filename)
     txt = sr.ReadToEnd()
  Finally
     If sr IsNot Nothing Then sr.Dispose() 
  End Try
  nWords = Regex.Matches(txt, pattern).Count

End Sub

Public ReadOnly Property FullName As String
Get
Return filename
End Get
End Property

Public ReadOnly Property Name As String
Get
Return Path.GetFileName(filename)
End Get
End Property

Public ReadOnly Property Count As Integer
Get
Return nWords
End Get
End Property
End Class_
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public MustInherit Class Type
Inherits MemberInfo
Implements _Type, IReflect

[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class PowerModeChangedEventArgs : EventArgs


pcastuces.com/pratique/astuces/2847.htm

%appdata%\Mozilla\Firefox\Profiles\ text

Sign In or Register to comment.