Jump to content

ballouta

Members
  • Posts

    625
  • Joined

  • Last visited

Posts posted by ballouta

  1. I have this directories structure

     

    ballouta

          cms/global.inc.php

          main (contains rand.php)

          images

          index.php

          etc...

     

    If I run the file rand.php it works 100% fine.

    in the index.php, i wrote:

    include ('./main/rand.php')

     

    I get the following errors:

     

    Warning: include(../cms/global.inc.php) [function.include]: failed to open stream: No such file or directory in /home/ahlussu/public_html/Charif/main/rand.php on line 3

    Warning: include(../cms/global.inc.php) [function.include]: failed to open stream: No such file or directory in /home/ahlussu/public_html/Charif/main/rand.php on line 3

    Warning: include() [function.include]: Failed opening '../cms/global.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ahlussu/public_html/Charif/main/rand.php on line 3

     

    Kindly i want to know IF i am doing smthg wrong!

     

    Many thanks

  2. Hello

    I have an old table (newsletter) whoch contains three columns: email / country / date

    the date field was of type Date e.g.: 2008-08-03

    I changed it to datetime type and it worked fine, the old fields turned to 2008-08-03 00:00:00

    the problem: i am using the phpmyadmin page to change the Default option for this field to currrent_timestamp

    i am getting this error: #1067 - Invalid default value for 'date'

     

    Please help

    Many thanks

  3. hello

    i edited a css template and changed the direction of the text to be rtl.

    anyway when i first open the page on explorer, the first letter of each word on each line seems llike missing or cut, if i scroll down/up or press on this paragrapgh text, the letters show clearly whithout any refresh!

    what causes such problem?

     

    Thanks

  4. Sorry didnt work BUT when i first open the index.html page in internet explorer, those titles actaully show up BEFORE i allow the red bar at the top (Allow activeX).

    does this give anything?

     

    Thank you

     

    oh wait, I found this script!

    <script type="text/javascript">
        
            Cufon.replace('h1, h2, h5, .footer', { hover: 'true' });
        
        </script>
    
    

     

     

    when i removed it, the titles showed up!

    what isit for?!!!

  5. Hello

    i am trying to modify a template on Dreamweaver

    the <h5> is in english and i am trying to change the title to another language, when I do this, the title disappears when i open the page on IE.

    here's a sample of the HTML code

    	<div class="lastbox">
    		<div class="title_460px">
    			<h5>فائF</h5>
    		</div>
    		<div class="content460px">
    			<p>Fusce aliquet, ante nec dictum accumsan, risus sapien aliquet ipsum, quis congue risus. Pellentesque venenatis egestas lectus a condimentum. Nulla ut erat ut. Pellentesque venenatis egestas lectus. Pellentesque venenatis egestas risus sapien aliquet ipsum. </p>
    			<a href="#">LEARN MORE</a>
    		</div>
    	</div>
    

     

    and here's the CSS code:

     

    .box, .lastbox, .homepagebox {
    float: left;
    margin: 0px 0px 20px 0px;
    }
    .lastbox {
    margin-right: 0px;
    }
    .homepagebox {
    margin-right: 20px;
    }
    #sidebar {
    float: right;
    width: 300px;
    }
    .title, .title_featured,.title_220px, .title_460px, .title_620px, .title_300px, .title_940px, .categorylist li {
    background: url(../images/title.jpg) top left repeat-x ;
    height: 29px;
    padding: 18px 0px 0px 20px;
    border-top: #c8c8c8 solid 1px;
    border-left: #c8c8c8 solid 1px;
    border-right: #c8c8c8 solid 1px;
    }
    

     

    Please help, Many thanks

     

    [attachment deleted by admin]

  6. Thanks Joe

    here's the HTML

    <!-- Nav container -->
    <div id="nav_container">
    
    <!-- Nav -->
    <ul id="nav">
    	<li><a class="on" href="#">home</a></li>
    	<li><a href="about.html">about</a>
    	<ul>
    		<li><a href="about.html">company</a></li>
    		<li><a href="about.html">team member</a>
    		<ul>
    			<li><a href="about.html">member one</a></li>
    			<li><a href="about.html">member two</a></li>
    			<li><a href="about.html">member three</a></li>
    			<li><a href="about.html">member four</a></li>
    		</ul>
    		</li>
    	</ul>
    	</li>
    	<li><a href="portfolio.html">portfolio</a>
    	<ul>
    		<li><a href="portfolio.html">design</a>
    		<ul>
    			<li><a href="portfolio.html">website</a></li>
    			<li><a href="portfolio.html">identity</a></li>
    		</ul>
    		</li>
    		<li><a href="portfolio.html">illustrations</a></li>
    		<li><a href="portfolio.html">photography</a></li>
    	</ul>
    	</li>
    	<li><a href="blog.html">blog</a>
    	<ul>
    		<li><a href="blog.html">category one</a></li>
    		<li><a href="blog.html">category two</a></li>
    	</ul>
    	</li>
    	<li><a href="contact.html">contact</a></li>
    	<li><a class="subscribe" href="#">subscribe</a></li>
    </ul>
    <!-- // Nav -->
    

  7. Hello

    I have this CSS menu and i cant find the css code that changes the submenu to open on the left side instead of the right side

     

    This is the css code I have:

     

    #nav_container {
    width: 940px;
    margin: 0 auto;
    }
    #nav {
    font-family: Tahoma;
    font-weight: bold;
    font-size: 11px;
    color: #9f9f9f;
    z-index: 9999;
    float: right;
    position: relative;	
    }
    #nav, #nav ul{
         margin:0;
         padding:0;
         list-style-type:none;
         list-style-position:outside;
         position:relative;
         line-height:0.6em;
    }
    #nav a:link, #nav a:active, #nav a:visited{
        display:block;
        padding: 14px 25px;
        color:#a5a5a5;
        text-decoration:none;
    text-transform: uppercase;
    }
    #nav a:hover {
        color:#fff;
    }
    #nav .on{
    background: url(../images/hover.png) no-repeat center;
    height: 12px;
    color:#fff !important;
    float: left;
    position: relative;
    }
    #nav .subscribe{
    background: url(../images/subscribe.png) top left no-repeat;
    height: 12px;
    margin-left: 22px;
    float: left;
    position: relative;
    }
    #nav li{
        float:left;
        position:relative;
    }
    #nav ul {
        position:absolute;
        top:2.9em;
        display:none;	
    z-index: 1;
    }
    #nav li ul a {
        width:8em;
        float:left;
    background-color: black;
    background-image: none !important;
    }
    #nav li ul a:hover {
    background-color: #292929;
    }
    #nav ul ul{
    top:auto;
    }	
    #nav li ul ul {
        left:11.3em;
        margin:0px 0 0 10px;
    }
    #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
        display:none;
    }
    #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
        display:block;
    }
    

     

    please help

    many thanks

     

    [attachment deleted by admin]

  8. Hello

    I just bought HTML Utopia from siteppoint but still didnt study it,

    Kindly I want to replace this table with CSS

    this table used to look fine on internet explorer 6/7. but each row height is much bigger now on explorer 8

    each row has a color with, and contains a bulllet pic, song title, then three icons (play/download/words)

    The width when is 530px and height is 40px

    please help

    Many thanks

     

    [attachment deleted by admin]

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.